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

Implement image filtering by tags #2

Draft
wants to merge 3 commits into
base: master
Choose a base branch
from
Draft

Conversation

MarkenJaden
Copy link
Owner

@MarkenJaden MarkenJaden commented Jun 25, 2024

Implements a tag filtering feature for images and updates the README.md with instructions on how to use this new feature.

  • Adds a button to toggle the tag filter menu in the UI, allowing users to filter images by tags.
  • Fetches and displays a list of available tags from NekosAPI.NET using the TagsAsync() method.
  • Implements logic to filter displayed images based on selected tags, enhancing the user experience by allowing for more tailored browsing.
  • Updates the README.md file to include a new section explaining how to use the tag filtering feature, ensuring users understand how to select multiple tags to refine the images displayed.

For more details, open the Copilot Workspace session.

Ersetzung der `NekosAPI.NET.V3.NekosClient` Injektion in `Index.razor` durch einen neuen Client `ApiNekoClient` zur verbesserten Handhabung von API-Aufrufen. Änderung des Typs von `_availableTags` von `List<string>` zu `PagedTagSchema`, um erweiterte Datenstrukturmerkmale wie Paginierung zu unterstützen. Anpassung der Methode zur Abfrage verfügbarer Tags, um den neuen `ApiNekoClient` zu nutzen, was eine flexiblere und möglicherweise spezialisiertere API-Interaktion ermöglicht.
Änderung des Typs der `_selectedTags`-Liste von `List<string>` zu `List<int>` in `Index.razor`, um Ganzzahlen statt Zeichenketten zu speichern.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant