Skip to content

feat: add multi select function to experiment area filter#1513

Open
ChongJiaChua wants to merge 10 commits into
developfrom
1560_Experiment_Area_Multi_Select_Filter
Open

feat: add multi select function to experiment area filter#1513
ChongJiaChua wants to merge 10 commits into
developfrom
1560_Experiment_Area_Multi_Select_Filter

Conversation

@ChongJiaChua
Copy link
Copy Markdown
Contributor

@ChongJiaChua ChongJiaChua commented May 13, 2026

Closes UserOfficeProject/issue-tracker/issues/1560

Description

This PR introduces the ability to select and filter by multiple instruments to allow more than one instrument's proposals to be returned at any one time.

Motivation and Context

The change was proposed by a instrument scientist who wanted to view and manage proposals across multiple instruments at the same time. Previously, the filter only allowed selecting a single instrument which limited efficiency.

How Has This Been Tested

Added e2e tests

Fixes

Changes

Frontend: Updated the InstrumentFilter component to support multiple intrument selections and added helper functions (parseInstrumentQuery, getInstrumentFilterIds) to manage the multi select states.
GraphQL API: Replaced the singular instrumentId field with a new instrumentIds array field to support multiple values. (instrumentId marked as deprecated to avoid breaking external APIs )
Backend: Updated ProposalDataSource and StfcProposalDataSource to handle array-based filtering.

Depends on

Tests included/Docs Updated?

  • I have added tests to cover my changes.
  • All relevant doc has been updated

@ChongJiaChua ChongJiaChua requested a review from a team as a code owner May 13, 2026 14:43
@ChongJiaChua ChongJiaChua requested review from ACLay and removed request for a team May 13, 2026 14:43
@ChongJiaChua ChongJiaChua changed the title feat: Add multi select function to experiment area filter feat: add multi select function to experiment area filter May 13, 2026
Comment thread apps/backend/src/datasources/stfc/StfcProposalDataSource.ts Outdated
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add a multiple select filter to the Experiment Area filters in proposal view

2 participants