-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: Use DataSource for entity scanning (with pausing when the wind…
…ow loses focus) (#1634) Replaces the EntityScanner with a DataSource. Makes all polling/retrying DataSources pause when the tab loses focus. Whilst doing this I made a helper to let us configure the source of the DataSource easier from the sources.ts file so you can opt in to polling rather than opt out. Closes #1582 Also addresses a part of #1474 --- I wanted to note that there will be some follow up work here, but I wanted to submit this PR so we could get this in rather than keep working on related things: - I 'think' its a good point to PR the `DataLoader` component I spoken about in the past. - The DataSource file/import organization is a bit messy just down to how DataSource came over here, I'd like to make that a bit less messy. - Probably PR #1525 for real. --------- Signed-off-by: John Cowen <[email protected]>
- Loading branch information
Showing
11 changed files
with
259 additions
and
292 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
Oops, something went wrong.