Skip to content
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

Hide instances and tags #20

Open
marax27 opened this issue Apr 14, 2020 · 0 comments
Open

Hide instances and tags #20

marax27 opened this issue Apr 14, 2020 · 0 comments

Comments

@marax27
Copy link
Collaborator

marax27 commented Apr 14, 2020

The story

As a user,
I want to hide individual instances or tags,
so that I don't see them anymore in the search results.

Acceptance criteria

General

  • User can hide media (individual instances as well as tags).
  • One instance/tag can be hidden at once.
  • Hiding media by a user does not affect other users' search queries. Moreover, a user does not know what other users have hidden.

Hiding an instance

  • In the gallery side bar, there is a "Hide" button.
  • When the button is clicked, a snackbar/toast with a 'Media instance hidden' message will appear.

Hiding a tag

  • In the tag's context menu there is a "Hide" option.
  • When the option is clicked, a snackbar/toast with a 'Tag "tag name" hidden' message will appear.

User panel

  • In the user panel, there is a "Hidden media" panel. It displays:
    • a table of hidden instances
    • a table of hidden tags
  • Each instance and each tags has a "Revert" button.
  • When the button clicked:
    • if the reverting operation succeeds, button's text turns to "Reverted", and the button is disabled
    • if not, a snackbar/toast appears with a 'Operation failed. Try again later.' message.

Additional notes

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

No branches or pull requests

1 participant