Skip to content

survey import: added chunk size dropdown (sysadmin only)#4160

Merged
SteRiccio merged 4 commits intomasterfrom
feat/survey-import-add-chunk-size-dropdown
Mar 20, 2026
Merged

survey import: added chunk size dropdown (sysadmin only)#4160
SteRiccio merged 4 commits intomasterfrom
feat/survey-import-add-chunk-size-dropdown

Conversation

@SteRiccio
Copy link
Member

No description provided.

@sonarqubecloud
Copy link

Copy link
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

Adds a sysadmin-only dropdown to control file upload chunk size during survey import flows, and hardens the existing Arena data import chunk-size dropdown against “clear selection” null values.

Changes:

  • Disable clearing on the Arena data import chunk-size dropdown to avoid null selections.
  • Add a sysadmin-only chunk-size dropdown to Survey Create import, and pass the chosen chunk size into the import start function.
  • Minor refactor/reordering in Dropdown props/propTypes and add styling for the new dropdown width.

Reviewed changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
webapp/views/App/views/Data/DataImport/DataImportArenaView.js Prevents clearing the chunk-size dropdown (avoids null selection path).
webapp/components/survey/SurveyCreate/SurveyCreate.scss Adds width styling for the new chunk size dropdown.
webapp/components/survey/SurveyCreate/SurveyCreate.js Introduces sysadmin-only chunk-size selection and passes it into import start params.
webapp/components/survey/SurveyCreate/store/actions/useOnImport.js Wires chunkSize through to FileProcessor.
webapp/components/form/Dropdown/Dropdown.js Reorders minCharactersToAutocomplete prop handling (no functional change intended).

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

@sonarqubecloud
Copy link

@SteRiccio SteRiccio merged commit 3e619ef into master Mar 20, 2026
5 checks passed
@SteRiccio SteRiccio deleted the feat/survey-import-add-chunk-size-dropdown branch March 20, 2026 13:10
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.

2 participants