-
Notifications
You must be signed in to change notification settings - Fork 11
Open
Description
Description
Currently, to clear a custom status message, users must either manually delete the text in the "Set a Custom Status" modal or find the small "X" icon in the sidebar header.
For users with longer status messages or those using screen readers, the sidebar "X" is a small target and lacks prominence. Adding a clear action within the modal itself aligns with modern UI patterns (like those found in Slack or Discord) and improves the accessibility of status management.
Steps to Reproduce (Current Friction)
- Click on your user avatar.
- Select "Custom Status."
- Observe that there is no single-click "Clear" button; you must manually backspace the text or close the modal and find the "X" in the sidebar.
Proposed Solution
Modify the UserStatusModal component to include a "Clear Status" button:
- Placement: To the left of the "Cancel" and "Save" buttons.
- Component: Fuselage Button.
- Logic: On click, it should send an empty string to the setUserStatus API endpoint and close the modal.
Impact
- Accessibility: Better target for users with motor impairments.
- Consistency: Centralizes all status-related actions in one modal.
- UX: Reduces the number of clicks/keyboard actions required to reset a profile state.
Metadata
Metadata
Assignees
Labels
No labels