Skip to content

Bottom sheet redesign #90

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

Closed
gnprice opened this issue May 12, 2023 · 14 comments · Fixed by #853
Closed

Bottom sheet redesign #90

gnprice opened this issue May 12, 2023 · 14 comments · Fixed by #853
Assignees
Labels
a-design Visual and UX design

Comments

@gnprice
Copy link
Member

gnprice commented May 12, 2023

When you long-press a message, we show a bottom sheet with actions you can take on it, which we also call an "action sheet". (Currently in this prototype there's just one action, "share". In zulip-mobile it's a much longer list, and we also show a similar widget when you long-press on a topic name and some other places.)

Currently it's a pretty plain bottom sheet. We should adjust the styling to match the following design prepared by @terpimost:
https://www.figma.com/design/1JTNtYo9memgW7vV6d0ygq/Zulip-Mobile?node-id=3481-27050&m=dev
https://www.figma.com/design/1JTNtYo9memgW7vV6d0ygq/Zulip-Mobile?node-id=3483-27168&m=dev

Here's a screenshot taken from there. For details of the layout and behavior, see the Figma design.
image

To help manage the work, I've split implementing this design up into two GitHub issues. For this issue, we'll only implement the screen shown above, not the three others you'll find to the right of it in Figma showing variations. Then there's a followup issue here:

@gnprice gnprice added the a-design Visual and UX design label Jun 14, 2023
@gnprice gnprice added this to the Beta milestone Jun 15, 2023
@gnprice
Copy link
Member Author

gnprice commented Jul 13, 2023

I've just split out part of this issue to a new one:

So for this issue, let's leave out the message text at the top of the bottom sheet; we'll pursue that in the new separate issue. (At the moment our bottom sheet has many fewer items than this, which I think also reduces somewhat the need for that feature because there's room on the screen to still see the message while the bottom sheet is open.)

Let's also leave out of scope for this issue any changes to what icons we use for the options. Replacing the icons will be done as part of #200 or a followup, and can happen either before or after we complete this issue.

@gnprice gnprice modified the milestones: Beta, Launch Sep 22, 2023
@Puneet2504

This comment was marked as off-topic.

@gnprice

This comment was marked as off-topic.

@SharmaDhruv2511

This comment was marked as off-topic.

@Sahilpervez

This comment was marked as duplicate.

@Sahilpervez

This comment was marked as outdated.

@gnprice

This comment was marked as outdated.

@Sahilpervez

This comment was marked as outdated.

@terpimost
Copy link

The bottom sheet should not have custom resize. It should show all the options and if the list is too big make it scrollable.

@gnprice

This comment was marked as outdated.

@Sahilpervez

This comment was marked as outdated.

@Sahilpervez

This comment was marked as outdated.

Sahilpervez added a commit to Sahilpervez/zulip-flutter that referenced this issue Mar 24, 2024
- This commit consists the modification of design of action sheet that pops up when any message is long pressed.
- Solves Issue [zulip#90](https://github.com/orgs/zulip/projects/5/views/4?pane=issue&itemId=29283720)
- In action_sheet.dart file there are 4 major changes :
     - Changed the showMessageActionSheet method to create a list of widgets for the widgets to rendered in the action sheet instead of directly passing it as the children of Column.
     - Changed the abstract class MessageActionSheetMenuItemButton to have the colors and the variables to specify that an element is first or last element in the Column.
     - Changed the design of the bottom sheet according to the given [figma design](https://www.figma.com/file/1JTNtYo9memgW7vV6d0ygq/Zulip-Mobile?type=design&node-id=510%3A19993&mode=design&t=ef5KZAP1MNaqPFEA-1).
     - Added a widget MessageActionSheetCancelButton for the cancel button.
Sahilpervez added a commit to Sahilpervez/zulip-flutter that referenced this issue Apr 15, 2024
@gnprice gnprice modified the milestones: Launch, B2: Summer 2024 May 9, 2024
@gnprice
Copy link
Member Author

gnprice commented Jul 22, 2024

This will benefit from #831, because the colors in the design are specified in terms of that color palette.

But I think #831 doesn't need to block this — there's a small number of colors in this part of the design, and it'd be fine if we encode them as RGB values directly. In that case #831 would just refactor those to point to the color palette when it's ready.

sm-sayedi added a commit to sm-sayedi/zulip-flutter that referenced this issue Aug 2, 2024
sm-sayedi added a commit to sm-sayedi/zulip-flutter that referenced this issue Aug 4, 2024
sm-sayedi added a commit to sm-sayedi/zulip-flutter that referenced this issue Aug 8, 2024
sm-sayedi added a commit to sm-sayedi/zulip-flutter that referenced this issue Aug 8, 2024
sm-sayedi added a commit to sm-sayedi/zulip-flutter that referenced this issue Aug 8, 2024
sm-sayedi added a commit to sm-sayedi/zulip-flutter that referenced this issue Aug 9, 2024
sm-sayedi added a commit to sm-sayedi/zulip-flutter that referenced this issue Aug 12, 2024
sm-sayedi added a commit to sm-sayedi/zulip-flutter that referenced this issue Aug 13, 2024
sm-sayedi added a commit to sm-sayedi/zulip-flutter that referenced this issue Aug 14, 2024
sm-sayedi added a commit to sm-sayedi/zulip-flutter that referenced this issue Aug 15, 2024
sm-sayedi added a commit to sm-sayedi/zulip-flutter that referenced this issue Aug 16, 2024
sm-sayedi added a commit to sm-sayedi/zulip-flutter that referenced this issue Aug 19, 2024
sm-sayedi added a commit to sm-sayedi/zulip-flutter that referenced this issue Aug 19, 2024
sm-sayedi added a commit to sm-sayedi/zulip-flutter that referenced this issue Aug 22, 2024
sm-sayedi added a commit to sm-sayedi/zulip-flutter that referenced this issue Aug 22, 2024
sm-sayedi added a commit to sm-sayedi/zulip-flutter that referenced this issue Aug 22, 2024
sm-sayedi added a commit to sm-sayedi/zulip-flutter that referenced this issue Aug 22, 2024
sm-sayedi added a commit to sm-sayedi/zulip-flutter that referenced this issue Sep 30, 2024
sm-sayedi added a commit to sm-sayedi/zulip-flutter that referenced this issue Sep 30, 2024
sm-sayedi added a commit to sm-sayedi/zulip-flutter that referenced this issue Oct 7, 2024
sm-sayedi added a commit to sm-sayedi/zulip-flutter that referenced this issue Oct 11, 2024
Also, remove the custom modal bottom sheet we no longer use.

Fixes: zulip#90
sm-sayedi added a commit to sm-sayedi/zulip-flutter that referenced this issue Oct 12, 2024
Also, remove the custom modal bottom sheet we no longer use.

Fixes: zulip#90
@gnprice
Copy link
Member Author

gnprice commented Nov 14, 2024

This redesign is out in today's new beta release, v0.0.21.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment