MyOpenCRE: add CSV import preview, confirmation step, and improved UX safeguards #685
+1,181
−233
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.
Please review this PR after the above PR has been merged.
📝 Note for reviewers
This PR intentionally limits its scope to frontend-only changes in the following files:
application/frontend/src/pages/MyOpenCRE/MyOpenCRE.tsxapplication/frontend/src/pages/MyOpenCRE/MyOpenCRE.scssNo backend files, APIs, or import logic were modified.
Any additional file diffs shown by GitHub are inherited from branch history or stacked branches and are not part of this change.
Summary
This PR improves the MyOpenCRE CSV import experience by introducing a frontend-only preview and confirmation flow before an import is executed.
The goal is to make CSV imports safer, more transparent, and more intentional for users — without changing backend behavior, APIs, or dependencies.
This enhancement directly aligns with the original MyOpenCRE workflow and acceptance criteria described in #584.
What changed
✅ CSV import preview (frontend-only)
CRE 0,CRE 1, …)✅ Explicit confirmation step
✅ Clear import states & feedback
✅ UX safeguards & polish
Scope & constraints
CRE_ALLOW_IMPORT) are fully respectedWhy this helps
Screenshots
Before
After — CSV preview
After — confirmation state
After — successful import feedback