Skip to content

Improve events sidebar layout (#540)#563

Open
adrianbp2 wants to merge 1 commit into
OxfordRSE:mainfrom
adrianbp2:feat/improve-events-sidebar
Open

Improve events sidebar layout (#540)#563
adrianbp2 wants to merge 1 commit into
OxfordRSE:mainfrom
adrianbp2:feat/improve-events-sidebar

Conversation

@adrianbp2

Copy link
Copy Markdown

Closes #540.

Reworks the events sidebar (components/sidebar/EventView.tsx):

  • Removed inline labels "Description:", "Location:" and "Material:" — only the values are shown now.
  • Title moved above the date in each timeline group; the date now reads as a subcategory beneath the group title.
  • Material list moved to the top level of the group body (removed the nested ml-5 indentation wrapper).

Testing

  • tsc --noEmit passes (no type errors in the changed file).
  • Previewed the component live via Cypress component testing with mock data to confirm the new layout.

- Remove 'Description:'/'Location:'/'Material:' labels
- Show group title above the date (date as subcategory)
- Move material list to top level (remove nested indentation)
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.

impore events sidebar

1 participant