-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update the handling of ids used to store VEP submission data (#1175)
Approach taken in this commit - Added BrowserTabIdService that provides a stable browser tab over the lifetime of a tab - This tab id is used to generate temporary VEP submission id while the form is being filled - When a VEP form is submitted, there is a time interval between when the user presses the submit button and when the server returns the response (and only at this latter point the final id of the submission becomes known). This interval can be as long as dozens of seconds, or even over a minute, during which the user may start filling in another VEP form. - At the moment of form submission, the temporary submission id is changed from one temporary format (the one based on tab id, where there can be only one such submission per tab) to another (based just on a client-side-generated uuid). This completely disconnects any submissions that are in the process of being submitted from the VEP form that the user user may start filling in while the previous submission is still in flight.
- Loading branch information
Showing
10 changed files
with
218 additions
and
128 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.