-
Notifications
You must be signed in to change notification settings - Fork 88
Open
Description
Observed behavior (please include a screenshot if possible)
In some browsers (Firefox?), when the user closes the tab/window or navigates away from datatools, componentWillUnmount
will not necessarily be triggered, and changes to feed source labels in the "General Settings" tab may be lost. The correct DOM event to handle is sendBeacon
, which is currently not compatible with datatools server (only unauthenticated POST requests are allowed when sendBeacon
is triggered).
Expected behavior
Changes to labels should be persisted.
Steps to reproduce the problem
- Set up labels in a project.
- Open a feed source and go to the "General Settings" tab.
- Tick one or more labels
- Close the browser tab
- Reopen the feed source general settings in another tab
- Notice the changes to labels were not persisted.
Any special notes on configuration used
n/a
Version of datatools-ui and datatools-server if applicable (exact commit hash or branch name)
Current versions of datatools (both UI and server)
Metadata
Metadata
Assignees
Labels
No labels