chinwag-android/app/src/main/res
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
..
anim fix some lint warnings 2019-04-21 08:24:29 +02:00
color Theme refactoring (#1656) 2020-01-30 21:37:28 +01:00
color-v24 Fix crash on startup on Api levels 25 and lower (#2422) 2022-04-07 20:04:39 +02:00
drawable Support the mastodon 4 filter api (#3188) 2023-03-11 13:12:50 +01:00
drawable-v24 new app icon (#2695) 2022-09-13 19:48:09 +02:00
layout Support the mastodon 4 filter api (#3188) 2023-03-11 13:12:50 +01:00
layout-land Add trending tags (#3149) 2023-02-14 19:52:11 +01:00
layout-sw640dp Convert NotificationsFragment and related code to Kotlin, use the Paging library (#3159) 2023-03-10 20:12:33 +01:00
menu Convert NotificationsFragment and related code to Kotlin, use the Paging library (#3159) 2023-03-10 20:12:33 +01:00
mipmap-anydpi-v26 new app icon (#2695) 2022-09-13 19:48:09 +02:00
raw Update gradle, kotlin and other dependencies (#2291) 2022-01-20 21:10:32 +01:00
values Support the mastodon 4 filter api (#3188) 2023-03-11 13:12:50 +01:00
values-ar Support the mastodon 4 filter api (#3188) 2023-03-11 13:12:50 +01:00
values-be Support the mastodon 4 filter api (#3188) 2023-03-11 13:12:50 +01:00
values-ber Replace “status” by “post” in strings name and source values (#2405) 2022-03-27 12:23:25 +02:00
values-bg Support the mastodon 4 filter api (#3188) 2023-03-11 13:12:50 +01:00
values-bn-rBD Support the mastodon 4 filter api (#3188) 2023-03-11 13:12:50 +01:00
values-bn-rIN Support the mastodon 4 filter api (#3188) 2023-03-11 13:12:50 +01:00
values-ca Support the mastodon 4 filter api (#3188) 2023-03-11 13:12:50 +01:00
values-ckb Support the mastodon 4 filter api (#3188) 2023-03-11 13:12:50 +01:00
values-cs Support the mastodon 4 filter api (#3188) 2023-03-11 13:12:50 +01:00
values-cy Support the mastodon 4 filter api (#3188) 2023-03-11 13:12:50 +01:00
values-de Support the mastodon 4 filter api (#3188) 2023-03-11 13:12:50 +01:00
values-el Update translation files 2022-08-05 16:55:17 +00:00
values-en-rGB revert en-gb string update 2023-02-11 13:07:14 +01:00
values-eo Support the mastodon 4 filter api (#3188) 2023-03-11 13:12:50 +01:00
values-es Support the mastodon 4 filter api (#3188) 2023-03-11 13:12:50 +01:00
values-eu Support the mastodon 4 filter api (#3188) 2023-03-11 13:12:50 +01:00
values-fa Support the mastodon 4 filter api (#3188) 2023-03-11 13:12:50 +01:00
values-fi Support the mastodon 4 filter api (#3188) 2023-03-11 13:12:50 +01:00
values-fr Support the mastodon 4 filter api (#3188) 2023-03-11 13:12:50 +01:00
values-fy Support the mastodon 4 filter api (#3188) 2023-03-11 13:12:50 +01:00
values-ga Support the mastodon 4 filter api (#3188) 2023-03-11 13:12:50 +01:00
values-gd Support the mastodon 4 filter api (#3188) 2023-03-11 13:12:50 +01:00
values-gl Support the mastodon 4 filter api (#3188) 2023-03-11 13:12:50 +01:00
values-hi Support the mastodon 4 filter api (#3188) 2023-03-11 13:12:50 +01:00
values-hu Support the mastodon 4 filter api (#3188) 2023-03-11 13:12:50 +01:00
values-in Update translation files 2023-01-02 16:01:35 +00:00
values-is Support the mastodon 4 filter api (#3188) 2023-03-11 13:12:50 +01:00
values-it Support the mastodon 4 filter api (#3188) 2023-03-11 13:12:50 +01:00
values-ja Support the mastodon 4 filter api (#3188) 2023-03-11 13:12:50 +01:00
values-kab Support the mastodon 4 filter api (#3188) 2023-03-11 13:12:50 +01:00
values-ko Support the mastodon 4 filter api (#3188) 2023-03-11 13:12:50 +01:00
values-large Theme refactoring (#1656) 2020-01-30 21:37:28 +01:00
values-large-land fix compose field on landscape tablets (#2747) 2022-11-07 19:56:28 +01:00
values-lv Support the mastodon 4 filter api (#3188) 2023-03-11 13:12:50 +01:00
values-ml Spelling (#2771) 2022-11-09 19:32:39 +01:00
values-nb-rNO Support the mastodon 4 filter api (#3188) 2023-03-11 13:12:50 +01:00
values-night Show the difference between edited statuses (#3314) 2023-03-10 20:30:55 +01:00
values-nl Support the mastodon 4 filter api (#3188) 2023-03-11 13:12:50 +01:00
values-oc Support the mastodon 4 filter api (#3188) 2023-03-11 13:12:50 +01:00
values-pl Support the mastodon 4 filter api (#3188) 2023-03-11 13:12:50 +01:00
values-pt-rBR Support the mastodon 4 filter api (#3188) 2023-03-11 13:12:50 +01:00
values-pt-rPT Support the mastodon 4 filter api (#3188) 2023-03-11 13:12:50 +01:00
values-ru Support the mastodon 4 filter api (#3188) 2023-03-11 13:12:50 +01:00
values-sa Support the mastodon 4 filter api (#3188) 2023-03-11 13:12:50 +01:00
values-si Support the mastodon 4 filter api (#3188) 2023-03-11 13:12:50 +01:00
values-sk Spelling (#2771) 2022-11-09 19:32:39 +01:00
values-sl Support the mastodon 4 filter api (#3188) 2023-03-11 13:12:50 +01:00
values-small Implement media tab (#430) 2017-11-05 22:32:36 +01:00
values-sv Support the mastodon 4 filter api (#3188) 2023-03-11 13:12:50 +01:00
values-sw380dp ComposeActivity refactor (#1541) 2019-12-19 19:09:40 +01:00
values-ta Spelling (#2771) 2022-11-09 19:32:39 +01:00
values-th Support the mastodon 4 filter api (#3188) 2023-03-11 13:12:50 +01:00
values-tr Support the mastodon 4 filter api (#3188) 2023-03-11 13:12:50 +01:00
values-uk Support the mastodon 4 filter api (#3188) 2023-03-11 13:12:50 +01:00
values-v27 Android 12 support, update AndroidX libraries (#2367) 2022-03-09 20:50:23 +01:00
values-vi Support the mastodon 4 filter api (#3188) 2023-03-11 13:12:50 +01:00
values-w640dp Add trending tags (#3149) 2023-02-14 19:52:11 +01:00
values-zh-rCN Support the mastodon 4 filter api (#3188) 2023-03-11 13:12:50 +01:00
values-zh-rHK Support the mastodon 4 filter api (#3188) 2023-03-11 13:12:50 +01:00
values-zh-rMO Support the mastodon 4 filter api (#3188) 2023-03-11 13:12:50 +01:00
values-zh-rSG Support the mastodon 4 filter api (#3188) 2023-03-11 13:12:50 +01:00
values-zh-rTW Support the mastodon 4 filter api (#3188) 2023-03-11 13:12:50 +01:00
xml Add Belarusian language to the in-app language picker (#3170) 2023-01-15 15:03:46 +01:00