project-lux / lux-middletier

Node backend for LUX frontend (a.k.a. middle tier)
Apache License 2.0
2 stars 0 forks source link

Sort Events At Place by Start Date #98

Open clarkepeterf opened 3 weeks ago

clarkepeterf commented 3 weeks ago

Problem Description: "Events That Took Place Here" on Place pages are not sorted by date https://lux-front-tst.collections.yale.edu/view/place/8dba6a78-ab1d-4f50-a901-b6d89ca52485

Expected Behavior/Solution: Sort events by start date

Requirements: List of details required for the completion of the issue or requirements for the feature/bug. This can also include requirements that lie outside of the teams such as new design docs or clarification from an outside source.

Needed for promotion: If an item on the list is not needed, it should be crossed off but not removed.

- [ ] Wireframe/Mockup - Mike - [ ] Committee discussions - Sarah - [ ] Feasibility/Team discussion - Sarah - [ ] Backend requirements - TBD - [ ] Frontend requirements- TBD - [ ] Are new regression tests required for QA - Amy

UAT/LUX Examples:

Dependencies/Blocks:

Related Github Issues:

Related links:

Wireframe/Mockup:

roamye commented 3 weeks ago

@clarkepeterf -This is more out curiosity than a necessity but is there any information in the JSON record that can be used to confirm the dates are sorted? (other than the one above where we would have to click on each record and confirm it is older than the next record).

clarkepeterf commented 2 weeks ago

@roamye Which JSON record are you looking at?

I think the easiest way to verify is in the UI:

  1. Visit a place page
  2. Open the Events that Took Place Here dropdown
  3. Usually Events Have the Date in their Name, so you can see if they are sorted by Date: Screenshot 2024-09-11 at 11 30 37 AM
roamye commented 2 weeks ago

@clarkepeterf - I was looking at the JSON record of the whole page ( https://lux-front-tst.collections.yale.edu/data/place/8dba6a78-ab1d-4f50-a901-b6d89ca52485 ). The UI makes it much easier. Thanks you!