fix: implement confirmation window for multi-select actions - #1288
Merged
jekabs-karklins merged 8 commits intoDec 19, 2025
Merged
Conversation
jekabs-karklins
requested review from
Scott-James-Hurley and
janosbabik
and removed request for
a team
December 9, 2025 14:27
added 3 commits
December 10, 2025 14:56
janosbabik
approved these changes
Dec 10, 2025
…ore-executing-acti
simonfernandes
approved these changes
Dec 11, 2025
…ore-executing-acti
jekabs-karklins
enabled auto-merge
December 15, 2025 08:28
…ore-executing-acti
jekabs-karklins
deleted the
SWAP-5030-uo-show-confirmation-window-before-executing-acti
branch
December 19, 2025 09:06
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This pull request implements a confirmation window for multi-select actions in the proposal table
Motivation and Context
This change is required to introduce a safeguard against accidental bulk actions on the proposal table. It has happened in past that user unintentionally selected all proposals on the page and clicked CLONE, which resulted in a large number of unintended cloned proposals being created, leading to significant cleanup effort.
Changes
Warningicon from @mui/icons-material is imported to visually indicate the caution required for bulk actions.runWithMultiSelectConfirmis introduced. This function takes an action as an argument and checks if more than one proposal is selected. If so, it opens a confirmation window with a detailed warning message before executing the action.How Has This Been Tested?
Fixes Jira Issue
https://jira.esss.lu.se/browse/SWAP-5030
Depends On
Tests included/Docs Updated?