Skip to content

feat: add Edit Channel button to channel context sheet#115

Open
gabrielfordevelopment wants to merge 1 commit intostoatchat:devfrom
gabrielfordevelopment:feat/channel-context-edit-button
Open

feat: add Edit Channel button to channel context sheet#115
gabrielfordevelopment wants to merge 1 commit intostoatchat:devfrom
gabrielfordevelopment:feat/channel-context-edit-button

Conversation

@gabrielfordevelopment
Copy link
Copy Markdown

closes #114

What changed

  • Added an "Edit Channel" button to the channel long-press context sheet (ChannelContextSheet)
  • The button is gated behind the ManageChannel permission and excluded for SavedMessages and DirectMessage channel types
  • Navigation uses the existing ActionChannel/TopNavigate pattern consistent with ChannelInfoSheet
  • Added the channel_context_sheet_actions_edit_channel string resource

Currently we have this

The channel context sheet (long-press on a channel in the sidebar) only offers "Copy ID" and "Mark as read" actions, with no way to navigate to channel settings from there.

editchannel_before.mp4

What I made have this

Users with ManageChannel permission can now tap "Edit Channel" in the channel context sheet to navigate directly to the channel settings screen.

editchannel_after.mp4

Signed-off-by: Gabriel <60961939+gabrielfordevelopment@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat: Add "Edit Channel" option for long pressing channel

1 participant