Repository navigation
Service worker and Web Push for hidden and closed tabs #116
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
14 commits
Select commit
Hold shift + click to select a range
cd44487
fix(journal): a hidden tab closes its socket after 60 s and reconnect…
easelyte 2ef4528
style(journal): format the hidden-tab change with prettier
easelyte e62d647
fix(journal): close a hidden tab's socket only while a push subscript…
easelyte ceb0ef9
fix(journal): ignore events from a socket the tab has already replaced
easelyte 8c1dd30
fix(journal): reload the views when a connection resumes, retry after…
easelyte 5aea30c
test(journal): the resume tests' fake stores answer for the conversat…
easelyte bdbcc6e
feat(web): service worker and Web Push for hidden and closed tabs
easelyte ec598ff
style(web): format the service worker and push code with prettier
easelyte a933759
perf: raise the total bundle budget by 4 KB for the service worker an…
easelyte bd86541
feat(web): report the open chat only while focused, supply the suspen…
easelyte ea59016
test(web): the subchat selection test states that its tab is focused
easelyte f5010eb
fix(web): keep a visible but unfocused window viewing its chat, and a…
easelyte 9faf23b
fix(web): subscribe only once the service worker is active, report no…
easelyte 7e7b2ed
style(web): format the worker activation helper with prettier
easelyte File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -5,7 +5,7 @@ | |
| "max": 304 | ||
| }, | ||
| "totalGzipKB": { | ||
| "max": 858 | ||
| "max": 860 | ||
| } | ||
| }, | ||
| "cold": { | ||
|
|
||
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.