Revise timing for SessionRenewal to actually enable renewing#2366
Merged
kevinrobinson merged 1 commit intomasterfrom Jan 22, 2019
Merged
Revise timing for SessionRenewal to actually enable renewing#2366kevinrobinson merged 1 commit intomasterfrom
kevinrobinson merged 1 commit intomasterfrom
Conversation
Contributor
Author
|
selfie |
This was referenced Jan 24, 2019
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Who is this PR for?
educators, particularly folks facilitating MTSS or longer discussions
What problem does this PR fix?
SessionRenewaluses a rough heuristic to warn users if their session is about to expire. But there's a bug at the call site that means it only shows the warning for one second before forcing a reload. This can lead to folks actively working with a page open for a long time to lose their work (eg, taking notes on the profile page during a long MTSS meeting, and the page just reloads without saving or warning).What does this PR do?
Sets the warning to show for 60 seconds. Longer term we should revisit this altogether, but this improves things immediately today.
Checklists
Which features or pages does this PR touch?
Does this PR use tests to help verify we can deploy these changes quickly and confidently?
ed of better test coverage