Open
Conversation
BundleMonNo change in files bundle size Groups updated (1)
Final result: ✅ View report in BundleMon website ➡️ |
There was a problem hiding this comment.
Pull request overview
Restores the user-facing “friendly” program type labels so UI surfaces (landing page + wizard) show consistent product copy instead of the raw registration wording.
Changes:
- Update
getProgramTypeLabelmapping:WITH_REGISTRATION→Tracker Program,WITHOUT_REGISTRATION→Event Program. - Add an OpenSpec archive change set documenting the spec/test alignment work and verification steps.
- Minor markdown formatting tweak (trailing newline) in the file-export-wizard spec.
Reviewed changes
Copilot reviewed 8 out of 8 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| src/webapp/presenters/programTypeLabel.ts | Restores the expected friendly label mapping used by landing page and wizard UI. |
| openspec/specs/file-export-wizard/spec.md | Adds a trailing newline at EOF. |
| openspec/changes/archive/2026-03-12-fix-failing-tests/tasks.md | Documents the tasks performed to restore labels and align assertions. |
| openspec/changes/archive/2026-03-12-fix-failing-tests/specs/landing-page-components/spec.md | Captures modified requirements for landing page friendly labels. |
| openspec/changes/archive/2026-03-12-fix-failing-tests/specs/file-export-wizard/spec.md | Captures modified requirements for wizard friendly labels. |
| openspec/changes/archive/2026-03-12-fix-failing-tests/proposal.md | Records rationale/scope/impact for restoring the label contract. |
| openspec/changes/archive/2026-03-12-fix-failing-tests/design.md | Records decisions, risks, and rollout/rollback approach for the change. |
| openspec/changes/archive/2026-03-12-fix-failing-tests/.openspec.yaml | Adds OpenSpec metadata for the archived change set. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
- Derive selectedPaths from prop via useMemo instead of dual
useState/useEffect, fixing single-click selection
- Build path map for all hierarchy levels (root, intermediate, leaf)
so clicking any visible node resolves correctly
- Select hierarchy root as default org unit instead of arbitrary leaf
- Add initiallyExpanded to auto-expand tree to default selection
- Add custom React.memo comparator to prevent re-renders from
unstable onChange references
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.
📌 References
📝 Implementation
📹 Screenshots/Screen capture
🔥 Notes to the tester