Skip to content

feat(ui-studies): disable the creation of variants and launch of archived studies#3224

Open
skamril wants to merge 2 commits into
masterfrom
feature/4836-archived-studies
Open

feat(ui-studies): disable the creation of variants and launch of archived studies#3224
skamril wants to merge 2 commits into
masterfrom
feature/4836-archived-studies

Conversation

@skamril
Copy link
Copy Markdown
Member

@skamril skamril commented May 26, 2026

ANT-4836

@skamril skamril requested a review from hdinia May 26, 2026 07:23
@skamril skamril self-assigned this May 26, 2026
Copilot AI review requested due to automatic review settings May 26, 2026 07:23
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the studies UI to prevent actions that should not be possible on archived studies, specifically variant creation and batch launching.

Changes:

  • Hide “create variant / copy” actions for archived studies in the Study Information view.
  • Update batch launch to only launch unarchived selected studies, with clearer tooltip/count feedback in the header actions.
  • Add i18n strings for the new “launch only unarchived studies” messaging (and remove the unused “batch mode” key).

Reviewed changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
webapp/src/routes/_authenticated/studies/$studyId/-components/InformationView/index.tsx Prevents variant creation/copy actions from being shown when a study is archived.
webapp/src/routes/_authenticated/studies/-components/StudiesList/Header/index.tsx Filters batch launch to unarchived studies and wires new props into batch actions.
webapp/src/routes/_authenticated/studies/-components/StudiesList/Header/BatchActions.tsx Adds unarchived selection handling and messaging for Launch button in batch mode.
webapp/public/locales/fr/main.json Adds French translations for “launch only unarchived studies” tooltip text and removes unused key.
webapp/public/locales/en/main.json Adds English translations for “launch only unarchived studies” tooltip text and removes unused key.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

hdinia
hdinia previously approved these changes May 26, 2026
Base automatically changed from release/v2.32.0 to master May 26, 2026 15:53
@smailio smailio dismissed hdinia’s stale review May 26, 2026 15:53

The base branch was changed.

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.

3 participants