Create a page for tag/creator/source views #2774
Labels
💻 aspect: code
Concerns the software code in the repository
🌟 goal: addition
Addition of new feature
🟨 priority: medium
Not blocking but should be addressed soon
🧱 stack: frontend
Related to the Nuxt frontend
🔧 tech: vue
Involves Vue.js
Milestone
Problem
We need a new page for the Additional search views projects. We should handle the following paths:
/pages/_mediaType/tag/_tag
/pages/_mediaType/source/_source
/pages/_mediaType/source/_source/creator/_creator
(this page might not be needed as it might be handled by the source page)Description
To make sure that the mediaType, source and creator parameters are valid, this page should use the validate method to make sure that and show an error page if necessary.
This page should also update the state (
searchType
,searchTerm
andsearchBy
andprovider
filters) in the search store and handle fetching using mediaStore’sfetchMedia
method in the useFetch hook.Since it is not possible to change the path or query parameters from this page client-side, fetching can be much simpler than on the current search page (that has to watch for changes in the route and fetch if necessary).
This page should use
VCollectionHeader
and the image grid or the audio collection.Dependencies
Issue is blocked on the following dependencies:
VAudioCollection
component #2694VCollectionHeader
#2729The text was updated successfully, but these errors were encountered: