Gaming Health Modal #71
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: profectus/Profectus#71
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Track if the game is focused and the mouse moves, setting a flag to true. Store 8 of those bools, rotating every hour such that you have a history of "was the player active during this hour" for the last 8 hours. Then, if at least 6 of those flags are true, display a modal to the user based on this banner from the TMT forums:
Seeking feedback about the exact numbers, but "6 of 8" seems to be a reasonable value.
Allow users to select a "do not show this again" option (also settable in the settings modal) to suppress the modal. Also allow devs to disable the modal entirely for the project, inside of projInfo.