-
Notifications
You must be signed in to change notification settings - Fork 27
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
✨ Idle timer: close study after 30' #3544
Conversation
Kudos, SonarCloud Quality Gate passed! |
…imcore into feature/idle-timer
…re into feature/idle-timer
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍 very nice
services/static-webserver/client/source/class/osparc/desktop/StudyEditorIdlingTracker.js
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Very very nice!
Suggestion: someone might understand that there's an absolute max time they're allowed to use the project, so I would clarify that it's only if idle.
The message can become something like "The project will be closed in ... due to inactivity. If you're still using it you can ignore this message."
If you are using it, you won't get the message.
|
That's clear. If the user comes back after 20' from the start of the inactivity, I suppose he will see the message. |
Code Climate has analyzed commit 5ab64f6 and detected 0 issues on this pull request. View more on Code Climate. |
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
What do these changes do?
This feature is only enabled for the
s4llite
productIn order to free resources, when a user has a study open and there is no activity in the osparc tab (
mousemove
,mousedown
andkeydown
), the frontend will close the study.After 15', a warning message with a countdown will pop up saying:
Are you still there? If not, the project will be closed in XX:XX
. When the countdown goes down to 0, the study will get closed.Demo with timeout set to 20" and warning to 10":
Related issue/s
Idle timeout: ITISFoundation/osparc-issues#765
How to test
Checklist