Yuito-app-android/app/src/main/java/com/keylesspalace/tusky/interfaces
Levi Bard ff8dd37855
Support the mastodon 4 filter api (#3188)
* Replace "warn"-filtered posts in timelines and thread view with placeholders

* Adapt hashtag muting interface

* Rework filter UI

* Add icon for account preferences

* Clean up UI

* WIP: Use chips instead of a list. Adjust padding

* Scroll the filter edit activity

Nested scrolling views (e.g., an activity that scrolls with an embedded list
that also scrolls) can be difficult UI.

Since the list of contexts is fixed, replace it with a fixed collection of
switches, so there's no need to scroll the list.

Since the list of actions is only two (warn, hide), and are mutually
exclusive, replace the spinner with two radio buttons.

Use the accent colour and title styles on the different heading titles in
the layout, to match the presentation in Preferences.

Add an explicit "Cancel" button.

The layout is a straightforward LinearLayout, so use that instead of
ConstraintLayout, and remove some unncessary IDs.

Update EditFilterActivity to handle the new layout.

* Cleanup

* Add more information to the filter list view

* First pass on code review comments

* Add view model to filters activity

* Add view model to edit filters activity

* Only use the status wrapper for filtered statuses

* Relint

---------

Co-authored-by: Nik Clayton <nik@ngo.org.uk>
2023-03-11 13:12:50 +01:00
..
AccountActionListener.java Implement optional notifications muting for account muting (#1856) 2020-07-27 10:28:59 +02:00
AccountSelectionListener.kt add ktlint plugin to project and apply default code style (#2209) 2021-06-28 21:13:24 +02:00
ActionButtonActivity.java Upgrade to AndroidX, move to MaterialComponents theme (#953) 2018-12-17 15:25:35 +01:00
FabFragment.kt Add trending tags (#3149) 2023-02-14 19:52:11 +01:00
HashtagActionListener.kt Add view for browsing and unfollowing followed hashtags (#2794) 2022-12-01 19:24:27 +01:00
LinkListener.kt merge ModalTimelineActivity & ViewTagActivity into StatusListActivity (#2332) 2022-02-25 18:57:31 +01:00
PermissionRequester.java Add option to download all media for a toot with one tap. (#1121) 2019-03-23 12:49:36 +01:00
RefreshableFragment.kt add ktlint plugin to project and apply default code style (#2209) 2021-06-28 21:13:24 +02:00
ReselectableFragment.kt add ktlint plugin to project and apply default code style (#2209) 2021-06-28 21:13:24 +02:00
StatusActionListener.java Support the mastodon 4 filter api (#3188) 2023-03-11 13:12:50 +01:00