mirror of
https://github.com/pachli/pachli-android.git
synced 2025-01-23 21:51:57 +01:00
6b55d107c1
Previously, if a status was filtered with "WARN" and was shown in the timeline with the name of the filter, and the user then decided to change that filter, they had to: 1. Open the left navigation menu 2. Navigate to "Account preferences" 3. Open "Filters" 4. Find the filter they want to edit, tap it 5. Make the change, and save 6. "Back" to the list of filters 7. "Back" to "Account preferences" 8. "Back" to the timeline That's a lot of clicks for a simple action. Change this. Now the filtered status includes an "Edit filter" button that takes the user directly to step 5, and when they press "Back" they return directly to the timeline. To do this create a new filter action, `onEditFilterById`. Update the listeners to launch `EditFilterActivity` if appropriate. Modify `item_status_filtered.xml` to show the new button. Update the accessibility delegate to show just the "Show anyway" and "Edit filter" actions. Modify `FilterableStatusViewHolder` to expose the information it needs to do this. |
||
---|---|---|
.. | ||
src | ||
build.gradle.kts | ||
lint-baseline.xml |