Skip to content

Make case study Geography/Projects/Topics filters multi-select#75

Open
edbrett wants to merge 2 commits into
mainfrom
case-study-filters
Open

Make case study Geography/Projects/Topics filters multi-select#75
edbrett wants to merge 2 commits into
mainfrom
case-study-filters

Conversation

@edbrett

@edbrett edbrett commented Jul 15, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Adds a reusable MultiSelect component (checkbox popover, styled to match the existing Select/Scenario filters) at src/lib/components/ui/MultiSelect.svelte
  • Switches the case studies page's Geography, Projects, and Topics filters from single-select native <select> dropdowns to multi-select, so all five filters (City, Scenario, Geography, Projects, Topics) now behave consistently
  • Updates the filtering logic to match arrays (OR within a filter, AND across filters), same semantics already used for City/Scenario

Test plan

  • Verified the page renders (SSR + dev server) with no console/compile errors
  • Confirmed the two a11y warnings raised by svelte-check on the new component are resolved
  • Manually click through Geography/Projects/Topics filters in the browser to confirm multi-select toggling and combined filtering behaves as expected

🤖 Generated with Claude Code

City and Scenario were already multi-select; Geography, Projects, and
Topics used a native single-select dropdown. Adds a reusable
MultiSelect component (checkbox popover) matching the styling of the
existing Scenario/Select filters and switches those three filters to
use it, with matching array-based AND/OR filtering logic.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@github-actions

github-actions Bot commented Jul 15, 2026

Copy link
Copy Markdown

🚀 PR Preview

Your changes have been deployed for preview.

🔗 Preview URL: https://iiasa-sparccle-pr-75-case-study-filters.upbeat-sl.workers.dev

📋 Details:

  • Branch: case-study-filters
  • Commit: 24745a7bc4f986afe185d35f017aeac61ad983cf

This preview will update automatically with new commits.

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.

1 participant