-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
feat: Configure notification actions #10301
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
base: main
Are you sure you want to change the base?
feat: Configure notification actions #10301
Conversation
|
In the future we can have additional configurations for
|
|
Great work! I hope to see this included in the app. I've some opinions about the details here. I would remove the ability to drag the separation line. It might be slightly confusing since the line itself isn't an element on the notification. Maybe even replace the grab icons with + and - depending on whether the option is included at the moment, to make it even more clear which options will be included. (clicking plus/minus moves it to the other side of the line). The main objective here is including/excluding options and should be visually obvious. Reordering is secondary and can be explained in text (as you have already). To make using the + and - buttons more consistent, you can remember the complete order of all 5 items. So that removing one and adding it again returns it to the same spot. e.g. the order can be EBACD, but only B and D are shown so what's visible in the UI is BD/EAC, and dragging will then be the only way to change the underlying order. |
|
@wilcooo I will have to disagree.
While first reading your suggestion I was thinking that your suggestions make sense and would probably improve the UX. Less moving parts, so it would be clean. But only if the order of elements is fixed and non-configurable by the user. If re-ordering is allowed, then that would mean that there would be a "hidden" functionality when holding and sliding a line, which maybe not be very intuitive unless clearly explained in the top description. In my opinion, the current UI with the "dimmed" color for the hidden options and normal color for the shown is intuitive enough. Taking your suggestions into consideration maybe we could have the separator not movable at all on its own and instead it could span the whole width of the screen with no margin left/right. This would mean that we would not be able to enable/disable multiple elements with one slide, but I don't consider this use case very useful anyway.
Having said that, @harshad1 have you considered how your solution behaves with regards to accessibility? |
|
Some options:
Option 2 is similar to this UI I implemented in Markor (an open source text editor I contribute to) @ckardaris I have not considered accessibility. Thanks for bringing that up. I'll investigate. |
|
I have made a few changes:
The bar remains draggable. This makes it easier to control the number of actions, makes the code simpler etc IMO this is now quite clear and usable |
|
Is there anything I can do to help move this forward? This is my first Thunderbird-android contribution and I am unfamiliar with the SOP here. ty! |
|
Thanks for putting this together! Just giving you an update, we’re having the UX team go over the new design. They’ll potentially have some feedback, so you should hold off on any changes until they review this. My first consideration is that the new UI should be built in compose for any new screens. Just hold off on starting it until we have design feedback. I do want to raise concerns over the accessibility of a drag & drop interface. Drag & drop looks intuitive, and creates a visually pleasing interface (which I think this one is), but users with vision and mobility impairments find it difficult to interact with drag & drop. TalkBack would have to be set up to read what’s above and below the line on any changes to the ordering or inclusion. Likely with a debouncer so we wait to make sure they’re not still editing quickly between read-outs. Also we’d want to consider using accessibility actions to make the drag and drop feature work as smoothly for someone using TalkBack or pointing aids as it would for the rest of our users. My recommendation might be to go with something more akin to this Microsoft example. By using arrows to re-order items, we can make it easier to make individual changes to ordering one at a time, and also drop the requirement for a consistent touch to drag and reorder items. We could also consider making the reorder buttons only available above the line, as they’re the only ones that it would matter for reordering, by using the previously suggested checkbox design. If an item is checked off, it appears above the line, with the other checkboxes disabled after 3 are selected. However, I strongly recommend waiting until UX gets back to us with what they think. I’d hate for you to have to make more changes again. Just wanted to plant some ideas on what I was thinking here along with the update. Thanks again for this! |
|
@dani-zilla thanks! For reference I did add the following
Thanks for the example. I'll look into it when UX gets back. |
|
Hi all, Design Team chiming in here. I don't have anything more to add on top of what's been said already. Let's get this out there and then see if we need to further iterate. Thanks for the contributions! |



This PR addresses #3530