Sekai-World / sekai-viewer

Web Database Viewer of Project Sekai
https://sekai.best
GNU General Public License v3.0
328 stars 38 forks source link

[Feature request] Navigate from card detail pages to corresponding event pages #361

Closed Phynon closed 2 years ago

Phynon commented 2 years ago

Motivation.

It is kind of inconvenient that users are not able to navigate from detail pages of event cards to the event detail pages of them, while they can navigate from events to card details. A two-way link might be better.

Related issue (if applicable) None

Suggested Implementation An additional entry in between Attribute and Available From with a link navigating to the correlating event detail page could be a viable implementation. image

Additional context

If my memory serves me correctly, a card detail object in cards.json does not have a key indicating the corresponding event. Another thing is that some cards are not related to any events. Maybe I should use eventCards.json to implement this?

dnaroma commented 2 years ago

It is possible to use eventCards.json to implement this. It links even id with card ids.