hsr-optimizer icon indicating copy to clipboard operation
hsr-optimizer copied to clipboard

[Feature] Track relic creation date and be able to sort by date on Relics tab

Open fribbels opened this issue 1 year ago • 0 comments

Motivation

Currently when new relics are imported, they just get lost in the relics tab and its hard to tell which ones were just added

Objective

  • On relic creation, assign a timestamp to the relic
  • On the Relics grid, add a new column for date. The display should be simplified to mm/dd/yyyy without hours/mins https://github.com/fribbels/hsr-optimizer/blob/7e644b5553666fbf80c244894be51beeb8bca3bd/src/components/RelicsTab.jsx
  • Enable a sort for the timestamp

Note: On save file load, we should probably repair this metadata so that any relics that don't have a date just get assigned the current date. We already do some repair work here https://github.com/fribbels/hsr-optimizer/blob/7e644b5553666fbf80c244894be51beeb8bca3bd/src/lib/db.js

Note: low priority/don't do until more people ask for it

fribbels avatar Feb 24 '24 01:02 fribbels