Skip to content

Collapse past events on homepage and add client-side search - #164

Merged
christianh814 merged 3 commits into
mainfrom
events-collapse-search
Nov 23, 2026
Merged

christianh814 merged 3 commits into
mainfrom
events-collapse-search

Conversation

@todaywasawesome

@todaywasawesome todaywasawesome commented Nov 13, 2026 •

Copy link
Copy Markdown
Member

Task 4.

  • The homepage shows the 3 most recent past events, plus a Show all N past events button.
  • Expanding shows every past event with a search box that filters on title, location and date. /events always shows the full list with search.
  • Button accepts an onClick prop and renders a <button> when it's given.
  • Fixes the upcoming-events sort, which used a boolean comparator.

Tested in the browser: 3 cards, then all of them, then the ArgoCon filter, then the empty-state message.

Update: the expanded list is paginated at 9 per page, with Newer and Older buttons. Search still covers every past event, and pagination applies to the matches.

Part of a stacked series. Merge bottom-up, starting with task 1 (#171). Plan: https://claude.ai/artifact/5cs7mhqQAzRLbeqUwaA5aM

🤖 Generated with Claude Code

@christianh814
christianh814 force-pushed the events-collapse-search branch 2 times, most recently from ac160e3 to 6009ba8 Compare November 19, 2026 15:07
Base automatically changed from event-argocon-eu-2027 to main November 23, 2026 14:35
todaywasawesome and others added 3 commits November 23, 2026 06:35
Homepage lists the 3 most recent past events; a button expands the
full list with a client-side search on title, location and date. The
events page shows everything with search. Also fixes the upcoming-event
sort, which used a boolean comparator.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Dan Garfield <dan.garfield@octopus.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Dan Garfield <dan.garfield@octopus.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Dan Garfield <dan.garfield@octopus.com>
@christianh814
christianh814 merged commit fc8492b into main Nov 23, 2026
2 checks passed
@christianh814
christianh814 deleted the events-collapse-search branch November 23, 2026 14:36
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.

2 participants