Skip to content

MAB-607 Section B bulk upload frozen#230

Draft
ronnyReliefapp wants to merge 3 commits intounesco-mabfrom
MAB-607-Section-B-bulk-upload-frozen
Draft

MAB-607 Section B bulk upload frozen#230
ronnyReliefapp wants to merge 3 commits intounesco-mabfrom
MAB-607-Section-B-bulk-upload-frozen

Conversation

@ronnyReliefapp
Copy link

Description

This PR fixes the UI freezing issue when performing bulk uploads of fauna or flora lists in Nomination form Section B. The previous implementation added rows one by one, triggering multiple synchronous re-renders that blocked the main thread. The new implementation uses bulk value assignment, which triggers only a single re-render, significantly improving performance and responsiveness.

Useful links

Type of change

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)
  • Improvement (refactor or addition to existing functionality)

How Has This Been Tested?

Test A (120 rows):

  • Open a Nomination form
  • Open page B
  • For Flora or Fauna, click on Upload XLSX button, and put file shared below
  • Verified that uploading the file no longer freezes the browser for 30 seconds.

Screenshots

N/A

Checklist:

( * == Mandatory )

  • * I have set myself as assignee of the pull request
  • * My code follows the style guidelines of this project
  • * Linting does not generate new warnings
  • * I have performed a self-review of my own code
  • * I have put the ticket for review, adding the oort-frontend team to the list of reviewers
  • * I have commented my code, particularly in hard-to-understand areas
  • * I have put JSDoc comment in all required places
  • * My changes generate no new warnings
  • * I have included screenshots describing my changes if relevant
  • * I have selected labels in the Pull Request, according to the changes with code brings
  • I have made corresponding changes to the documentation ( if required )
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • Any dependent changes have been merged and published in downstream modules

ronnyCapriles and others added 2 commits January 9, 2026 13:05
… Please enter a commit message to explain why this merge is necessary, # especially if it merges an updated upstream into a topic branch. # # Lines starting with '#' will be ignored, and an empty message aborts # the commit.
@AntoineRelief
Copy link
Collaborator

@ronnyCapriles
It's better, it doesn't freeze when uploading, but it seems the system is super slow once the rows are uploaded
Maybe you can also check if anything can be done to improve that

@AntoineRelief AntoineRelief marked this pull request as draft January 12, 2026 09:16
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.

3 participants