Skip to content

Move Mode of Travel above Course Type in A3 course filters (#1163) - #1164

Open
rustynwac wants to merge 1 commit into
mainfrom
claude/a3-filter-mode-of-travel-1163
Open

Move Mode of Travel above Course Type in A3 course filters (#1163)#1164
rustynwac wants to merge 1 commit into
mainfrom
claude/a3-filter-mode-of-travel-1163

Conversation

@rustynwac

@rustynwac rustynwac commented Jul 23, 2026

Copy link
Copy Markdown
Contributor

Description

Reorders the filter list in the A3 course embed so Mode of Travel sits directly below Date and above Course Type, as requested in #1163.

Before: Date → Course Type → Provider → State → Interest Group → Mode of Travel
After: Date → Mode of Travel → Course Type → Provider → State → Interest Group

Related Issues

Fixes #1163

Key Changes

  • src/app/(embeds)/embeds/courses/CoursesFilters.tsx — move <ModesOfTravelFilter> to the second position, and move the last-item showBottomBorder={false} from it to <AffinityGroupsFilter> (Interest Group), which is now the last filter, so the "no divider under the last filter" styling stays correct.

No logic, API, or schema changes.

How to test

  1. pnpm dev, open the courses embed with filters shown: http://localhost:3000/embeds/courses?showFilters=true.
  2. Confirm the filter order is Date Range → Mode of Travel → Course Type → Provider → State → Interest Group, and that only the last filter (Interest Group) has no bottom divider.

Verification performed: loaded the embed in the running dev server and confirmed from the rendered HTML that the filter titles appear in the new order, that Mode of Travel now renders with a border-b divider, and that Interest Group (new last item) renders without one. pnpm tsc, pnpm lint, and pnpm fallow:audit all pass.

Migration Explanation

None.

Future enhancements / Questions

None.

🤖 Generated with Claude Code

https://claude.ai/code/session_016s7MJjeP8Mr3KRiRA22WwJ


Generated by Claude Code


View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need. Autofix is disabled.

Reorder the A3 course embed filter list so Mode of Travel sits directly
below Date and above Course Type. Move the last-item `showBottomBorder`
suppression from Mode of Travel to Interest Group so the divider styling
stays correct.

Fixes #1163

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016s7MJjeP8Mr3KRiRA22WwJ
@github-actions

Copy link
Copy Markdown
Contributor

@rustynwac

Copy link
Copy Markdown
Contributor Author
image

ding dong!

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.

Move Mode of Travel to the top in the A3 filter list

2 participants