Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TW-1394: Add Slidable Chat List Item - Mute/Unmute #1397

Merged
merged 1 commit into from
Feb 15, 2024

Conversation

imGok
Copy link
Contributor

@imGok imGok commented Jan 25, 2024

Twake.Chat.-.Personnel.Microsoft.Edge.2024-02-05.10-53-51.mp4

#1394

Copy link

This PR has been deployed to https://linagora.github.io/twake-on-matrix/1397

@sherlockvn
Copy link
Contributor

sherlockvn commented Jan 26, 2024

  • Please make it synchronize with context menu in chat list for invitation chat list item in chat list
List<PopupMenuItem> _popupMenuActionTile(
    BuildContext context,
    Room room,
  ) {
    final listAction = [
      if (room.membership != Membership.invite) ...[
        ChatListSelectionActions.read,
        ChatListSelectionActions.pin,
      ],
      ChatListSelectionActions.mute,
    ];
    return listAction.map((action) {
      return PopupMenuItem(
        padding: EdgeInsets.zero,
        child: popupItemByTwakeAppRouter(
          context,
          action.getTitleContextMenuSelection(context, room),
          iconAction: action.getIconContextMenuSelection(room),
          onCallbackAction: () => _handleClickOnContextMenuItem(
            action,
            room,
          ),
        ),
      );
    }).toList();
  }

@imGok imGok force-pushed the TW-1358-swipeable-chat-list-item branch from 47f2322 to cde6d59 Compare January 26, 2024 10:18
@imGok imGok changed the title TW-1394: Add Slidable Chat List Item - Mute/Unmute WIP TW-1394: Add Slidable Chat List Item - Mute/Unmute Jan 26, 2024
Base automatically changed from TW-1358-swipeable-chat-list-item to main January 31, 2024 08:33
@imGok imGok force-pushed the TW-1394-slidable-chat-list-mute branch from 53239dd to e37bc7b Compare January 31, 2024 14:23
@imGok imGok changed the title WIP TW-1394: Add Slidable Chat List Item - Mute/Unmute TW-1394: Add Slidable Chat List Item - Mute/Unmute Jan 31, 2024
@imGok imGok changed the base branch from main to TW-1360-slidable-read-chat February 2, 2024 13:44
@imGok imGok force-pushed the TW-1394-slidable-chat-list-mute branch from e37bc7b to adfb70c Compare February 2, 2024 13:55
@imGok imGok force-pushed the TW-1360-slidable-read-chat branch 2 times, most recently from 7855f30 to 22f6a64 Compare February 5, 2024 08:57
@imGok imGok force-pushed the TW-1394-slidable-chat-list-mute branch from adfb70c to 7c91b87 Compare February 5, 2024 09:05
@imGok imGok force-pushed the TW-1394-slidable-chat-list-mute branch from 7c91b87 to 80615db Compare February 5, 2024 09:34
@imGok imGok force-pushed the TW-1394-slidable-chat-list-mute branch from 80615db to b80cc29 Compare February 5, 2024 10:11
nqhhdev
nqhhdev previously approved these changes Feb 5, 2024
Base automatically changed from TW-1360-slidable-read-chat to main February 6, 2024 09:25
@hoangdat hoangdat dismissed nqhhdev’s stale review February 6, 2024 09:25

The base branch was changed.

@hoangdat hoangdat merged commit 4cd6c2d into main Feb 15, 2024
3 checks passed
@hoangdat hoangdat deleted the TW-1394-slidable-chat-list-mute branch February 15, 2024 15:45
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.

4 participants