Skip to content

feat(experimentation): support multi-status filter in frontend#7894

Open
Zaimwa9 wants to merge 1 commit into
mainfrom
feat/experiment-multi-status-filter-fe
Open

feat(experimentation): support multi-status filter in frontend#7894
Zaimwa9 wants to merge 1 commit into
mainfrom
feat/experiment-multi-status-filter-fe

Conversation

@Zaimwa9

@Zaimwa9 Zaimwa9 commented Jun 26, 2026

Copy link
Copy Markdown
Contributor

Changes

Contributes to experimentation feature

Frontend support for multi-status experiment filtering (depends on #7893).

  • toParam utility handles array values by emitting repeated keys ({status: ['running', 'paused']}status=running&status=paused)
  • getExperiments request type accepts ExperimentStatus | ExperimentStatus[]
  • Fixes pre-existing no-nested-ternary lint error in _utils.js

How did you test this code?

  • Frontend eslint and typecheck pass
  • Existing behaviour unchanged for single-value callers

Update toParam to handle array values as repeated query params and
allow ExperimentStatus[] in getExperiments request type.
@vercel

vercel Bot commented Jun 26, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
flagsmith-frontend-preview Ready Ready Preview, Comment Jun 26, 2026 1:30pm
flagsmith-frontend-staging Ready Ready Preview, Comment Jun 26, 2026 1:30pm
1 Skipped Deployment
Project Deployment Actions Updated (UTC)
docs Ignored Ignored Jun 26, 2026 1:30pm

Request Review

@github-actions github-actions Bot added the front-end Issue related to the React Front End Dashboard label Jun 26, 2026
@github-actions github-actions Bot added the feature New feature or request label Jun 26, 2026
@Zaimwa9 Zaimwa9 marked this pull request as ready for review June 26, 2026 14:28
@Zaimwa9 Zaimwa9 requested a review from a team as a code owner June 26, 2026 14:28
@Zaimwa9 Zaimwa9 requested review from kyle-ssg and removed request for a team June 26, 2026 14:28
@Zaimwa9 Zaimwa9 requested review from talissoncosta and removed request for kyle-ssg June 26, 2026 14:28
@github-actions github-actions Bot added feature New feature or request and removed feature New feature or request labels Jun 26, 2026
@github-actions

github-actions Bot commented Jun 26, 2026

Copy link
Copy Markdown
Contributor

Docker builds report

Image Build Status Security report
ghcr.io/flagsmith/flagsmith-api-test:pr-7894 Finished ✅ Skipped
ghcr.io/flagsmith/flagsmith-e2e:pr-7894 Finished ✅ Skipped
ghcr.io/flagsmith/flagsmith-api:pr-7894 Finished ✅ Results
ghcr.io/flagsmith/flagsmith:pr-7894 Finished ✅ Results
ghcr.io/flagsmith/flagsmith-private-cloud:pr-7894 Finished ✅ Results
ghcr.io/flagsmith/flagsmith-frontend:pr-7894 Finished ✅ Results

@github-actions

github-actions Bot commented Jun 26, 2026

Copy link
Copy Markdown
Contributor

Playwright Test Results (oss - depot-ubuntu-latest-16)

passed  2 passed

Details

stats  2 tests across 2 suites
duration  41.8 seconds
commit  8a7e247
info  🔄 Run: #17882 (attempt 1)

Playwright Test Results (oss - depot-ubuntu-latest-arm-16)

passed  1 passed

Details

stats  1 test across 1 suite
duration  37.2 seconds
commit  8a7e247
info  🔄 Run: #17882 (attempt 1)

Playwright Test Results (private-cloud - depot-ubuntu-latest-arm-16)

passed  2 passed

Details

stats  2 tests across 2 suites
duration  58.1 seconds
commit  8a7e247
info  🔄 Run: #17882 (attempt 1)

Playwright Test Results (private-cloud - depot-ubuntu-latest-16)

passed  4 passed

Details

stats  4 tests across 4 suites
duration  12.1 seconds
commit  8a7e247
info  🔄 Run: #17882 (attempt 1)

@github-actions

Copy link
Copy Markdown
Contributor

Visual Regression

17 screenshots compared. See report for details.
View full report

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature New feature or request front-end Issue related to the React Front End Dashboard

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants