-
-
Notifications
You must be signed in to change notification settings - Fork 389
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
Experimental: Replace 'Clear' button with a 'Swap' button (between two presets) #3848
base: develop
Are you sure you want to change the base?
Conversation
… labeled 'More' or 'Less') to swap between two presets.
Remaining ktLint failure is:
But this should not be "fixed" unless it is determined Clear will not be re-inserted somewhere else. |
I was thinking about adjusting some of this UI, but not quite in the same way.
Rationale: It's a very destructive operation, even with the warning. It's also not something I expect people do very often, so requiring some extra taps to get to it should be fine.
Rationale: Not a destructive operation, and one that people probably do more often, so making it an icon if possible makes sense. This would remove the "Show Notifications filter" preference. As an alternative to option (2), create secondary tabs (https://m3.material.io/components/tabs/guidelines) for each of the filter options, so the user could tap on them and see a tab with just mentions, or follows, or reblogs, etc. So not just the mentions/all distinction that you noted. Pro: The user can switch faster (tapping a tab is a single action, whereas changing the active set of filters requires several taps) Con: The user can't have a Notification timeline that contains a mix of different types, they're moving between different views of the timeline. |
I agree with that.
What (when) do you mean with "if there is space"? Just a quick idea: I would expect that "normally" a user would not filter. So the whole "Filter / Clear" bar could be initially removed. The filter item would move to the menu and IF there was something configured it would be shown as a icon (?) bar as it is now. You could switch it on and off there with a single tap. There could also be two filter setting entries in the menu (a bar has lots of room for mor than one filter slot). |
Yes. |
See https://github.com/tuskyapp/Tusky/pull/3877/files#diff-a7cd8865d84230ab68f69e1f5c98738030c3a548fb9cec9ae2365ad2196ec32d and "ifRoom" option. |
I haven't really discussed this with anyone on the team and I am not expecting it to be merged. It is an experiment / request for comments.
What it does: It replaces the "Clear" button with a button (labeled, as appropriate, "More", "Less" or "Swap") that swaps your notification filter settings between two filter "slots".
In expectation most users would use this to show/hide favs and boosts, the default toggles between "follow requests hidden" and "follow requests, favs and boosts hidden".
Why?:
So, a swap button.
Known problems: