You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The desktop toolbar currently has auto-hide functionality that automatically hides the toolbar when the user's mouse moves away from it. While this provides a cleaner interface, some users may prefer to keep the toolbar always visible for easier access to its features. Providing user control over this behavior improves the user experience by accommodating different workflow preferences.
This feature requires implementing a persistent user preference that controls whether the toolbar auto-hides, ensuring the preference is saved across sessions and properly integrated with the existing toolbar show/hide logic. This is a common pattern in desktop applications where UI behavior should be customizable and respect user choices.
Current Behavior
The toolbar automatically hides after the user's mouse moves away from it, with no option to disable this behavior. Users who prefer a persistent toolbar have no way to prevent the auto-hide functionality.
Reproduction Steps:
Open the Puter desktop interface
Move your mouse to the top of the screen to reveal the toolbar
Move your mouse away from the toolbar area
Observe: The toolbar automatically hides after a short delay
Note: There is no setting available to disable this auto-hide behavior
Expected Behavior
Users should be able to toggle whether the toolbar automatically hides. When auto-hide is disabled, the toolbar should remain visible at all times. This preference should persist across browser sessions.
Acceptance Criteria:
A user preference for toolbar auto-hide is stored and retrieved using the key-value storage system
When auto-hide is disabled, the toolbar remains visible and does not hide when the mouse moves away
When auto-hide is enabled, the toolbar behaves as it currently does (auto-hiding after mouse leaves)
The preference persists across page reloads and browser sessions
On initial load, if auto-hide is disabled, the toolbar is shown even if it was previously hidden
Verification
Manual Testing:
Implement the preference toggle mechanism
Set the preference to disable auto-hide and reload the page
Verify the toolbar remains visible when moving the mouse away
Set the preference to enable auto-hide and reload the page
Verify the toolbar auto-hides when moving the mouse away
Check browser developer tools to confirm the preference value is stored in the KV system
Close and reopen the browser, verify the preference persists
Automated Testing:
Run existing test suite to ensure no regressions in toolbar functionality
Verify the new preference key is properly cached in the KV module
Submission
Download https://cap.so/ to record your screen (use Studio mode). Export as an mp4, and drag and drop into an issue comment below.
Dependency
Motivation
The desktop toolbar currently has auto-hide functionality that automatically hides the toolbar when the user's mouse moves away from it. While this provides a cleaner interface, some users may prefer to keep the toolbar always visible for easier access to its features. Providing user control over this behavior improves the user experience by accommodating different workflow preferences.
This feature requires implementing a persistent user preference that controls whether the toolbar auto-hides, ensuring the preference is saved across sessions and properly integrated with the existing toolbar show/hide logic. This is a common pattern in desktop applications where UI behavior should be customizable and respect user choices.
Current Behavior
The toolbar automatically hides after the user's mouse moves away from it, with no option to disable this behavior. Users who prefer a persistent toolbar have no way to prevent the auto-hide functionality.
Reproduction Steps:
Expected Behavior
Users should be able to toggle whether the toolbar automatically hides. When auto-hide is disabled, the toolbar should remain visible at all times. This preference should persist across browser sessions.
Acceptance Criteria:
Verification
Manual Testing:
Automated Testing:
Submission
Download https://cap.so/ to record your screen (use Studio mode). Export as an mp4, and drag and drop into an issue comment below.
Guide to submitting pull requests: https://hackmd.io/@timothy1ee/Hky8kV3hlx