fix: Restore Away to quick status menu
Merged
RI
3mo ago+9+9+0123456789-13-13-01234567890123456789
Proposed changes (including videos or screenshots)
Restores Away as a manually selectable preset in the quick status menu, the custom status modal, and the account profile page.
Away had been hidden (shown only when the user was already on it) when presence and status text were still treated as one thing. Now that they're separated, Away is a valid standalone presence state again — independent of any custom status text.
The change removes the two filters that hid Away (UserStatusMenu.tsx, shared by the modal + profile; and useStatusItems.tsx for the navbar) and restores the original order Online → Away → Busy → Offline. No backend change needed: away is already accepted by users.setStatus and preserved by the presence engine.
Issue(s)
Steps to test or reproduce
- Open the user menu (avatar) → Away appears as a preset; selecting it sets your status to Away.
- Open Custom Status modal → the status picker offers Away.
- Go to My Account → Profile → the status picker offers Away.
Further comments
Summary by CodeRabbit
- Bug Fixes
- Restored “Away” as a selectable preset in the quick status menu.
- Made “Away” available in the custom status modal and account profile page.
- Improved consistency of available status options across the application by ensuring “Away” is included appropriately.