Skip to content
This repository has been archived by the owner on Dec 4, 2022. It is now read-only.

Interactive/Live Filters #51

Open
jobobby04 opened this issue Aug 11, 2022 · 0 comments
Open

Interactive/Live Filters #51

jobobby04 opened this issue Aug 11, 2022 · 0 comments

Comments

@jobobby04
Copy link

jobobby04 commented Aug 11, 2022

Depends on #50

There are some sites that change the filters based on the listing and the current state of other filters. One example would be ArchiveOfOurOwn.org. When you continue to set specific filters it will trim available filters with the available work's tags. So if there are more Female Protagonist works it will show the Female Protagonist tag unless there are more of other tags.

My proposal:
Allow an extension to return a new/modified filter list when filters are applied, and allow the extension to modify the states of those filters. On ArchiveOfOurOwn.org you can exclude a tag and it will stay in the filter list, but it will be moved to the bottom. Returning a new filter list with these states set will allow the extension to make these changes.

This also requires that the filter list has loading states where some options are only possible at certain times, so the filter list would need to load filters from the network in the background.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant