Server admin 27: Administration rows in the menus and the moderation modals #695

Closed
opened 2026-11-15 19:01:40 +00:00 by charles · 0 comments
Owner

Task 27 of the Server administration plan (docs/superpowers/plans/2026-11-15-serveradmin.md, section "### Task 27:"). The plan on the serveradmin branch is the source of truth; this copy is for reading.

Closes: #640
Depends on: 8, 13, 20

Files:

  • Create: crates/fluxer-ui/src/screens/main/modals/{nickname.rs,timeout.rs,ban.rs}
  • Modify: crates/fluxer-ui/src/screens/main/menus/{mod.rs,channel.rs,guild.rs,user.rs} (the new row ids, the checkbox submenu, Shift read for "Duplicate channel"), screens/main/modals/mod.rs, screens/main/message_actions/confirm.rs (Confirm::{KickMember, RemoveTimeout, DeleteChannel, AnnouncementOff}), theme/icons.rs
  • Test: crates/fluxer-ui/tests/{menus_admin.rs,moderation_modals.rs}, crates/fluxer-ui/tests/screenshots.rs

Interfaces:

  • Produces: the new rows drawn in the channel, category, guild, user and voice participant menus (they come from the core models; this task adds icons, the "Roles ▸" checkbox submenu that stays open while roles are ticked, as the original's, and the "Community settings ▸" submenu); the modals: "Change nickname" (feat/user/components/modals/BaseChangeNicknameModal.tsx), "Timeout" (TimeoutMemberModal.tsx: the duration select, the reason field), "Ban member" (BanMemberModal.tsx: the duration select with Custom, the history radio, the reason field); kick, remove timeout and delete channel / category through the generic confirm with the original's titles, bodies and danger buttons.

  • Tests: menu_rows_drawn_in_core_order, roles_submenu_checkbox_emits_toggle_and_stays_open, settings_submenu_rows, shift_duplicate_flag, nickname_modal_max_and_clear, timeout_modal_options_and_reason, ban_modal_defaults_custom_duration_and_reason, confirm_strings_for_each_new_variant; goldens member_menu_moderation, member_menu_roles_checkboxes, guild_menu_settings_submenu, channel_menu_admin, category_menu_admin, nickname_modal, timeout_modal, ban_modal, kick_confirm, delete_channel_confirm, delete_category_confirm.

  • Commit feat(ui): administration menus and moderation modals.

Task 27 of the Server administration plan (`docs/superpowers/plans/2026-11-15-serveradmin.md`, section "### Task 27:"). The plan on the `serveradmin` branch is the source of truth; this copy is for reading. **Closes:** #640 **Depends on:** 8, 13, 20 **Files:** - Create: `crates/fluxer-ui/src/screens/main/modals/{nickname.rs,timeout.rs,ban.rs}` - Modify: `crates/fluxer-ui/src/screens/main/menus/{mod.rs,channel.rs,guild.rs,user.rs}` (the new row ids, the checkbox submenu, Shift read for "Duplicate channel"), `screens/main/modals/mod.rs`, `screens/main/message_actions/confirm.rs` (`Confirm::{KickMember, RemoveTimeout, DeleteChannel, AnnouncementOff}`), `theme/icons.rs` - Test: `crates/fluxer-ui/tests/{menus_admin.rs,moderation_modals.rs}`, `crates/fluxer-ui/tests/screenshots.rs` **Interfaces:** - Produces: the new rows drawn in the channel, category, guild, user and voice participant menus (they come from the core models; this task adds icons, the "Roles ▸" checkbox submenu that stays open while roles are ticked, as the original's, and the "Community settings ▸" submenu); the modals: "Change nickname" (`feat/user/components/modals/BaseChangeNicknameModal.tsx`), "Timeout" (`TimeoutMemberModal.tsx`: the duration select, the reason field), "Ban member" (`BanMemberModal.tsx`: the duration select with Custom, the history radio, the reason field); kick, remove timeout and delete channel / category through the generic confirm with the original's titles, bodies and danger buttons. - [ ] Tests: `menu_rows_drawn_in_core_order`, `roles_submenu_checkbox_emits_toggle_and_stays_open`, `settings_submenu_rows`, `shift_duplicate_flag`, `nickname_modal_max_and_clear`, `timeout_modal_options_and_reason`, `ban_modal_defaults_custom_duration_and_reason`, `confirm_strings_for_each_new_variant`; goldens `member_menu_moderation`, `member_menu_roles_checkboxes`, `guild_menu_settings_submenu`, `channel_menu_admin`, `category_menu_admin`, `nickname_modal`, `timeout_modal`, `ban_modal`, `kick_confirm`, `delete_channel_confirm`, `delete_category_confirm`. - [ ] Commit `feat(ui): administration menus and moderation modals`.
Sign in to join this conversation.
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
charles/fluxer-native#695
No description provided.