Frontend refactor. Solves #179 and advances #249#294
Merged
CharlieWells13 merged 16 commits intomainfrom Mar 23, 2026
Merged
Conversation
CharlieWells13
approved these changes
Mar 23, 2026
Collaborator
CharlieWells13
left a comment
There was a problem hiding this comment.
Awesome job on getting rid of a lot of the junk, it makes understanding our codebase as a new developer much easier.
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 PR resolves issue #179 by removing legacy local-file dashboard behavior and consolidating the frontend around backend-driven report data flow. It also includes targeted cleanup and dead-code pruning completed on
FRONTEND-REFACTOR, plus conflict resolution from syncing withmainand final UI polish.Related to #249: this PR delivers high-confidence cleanup and backend-flow stabilization that reduces legacy data-path complexity and de-risks the later full frontend data-framework migration.
Why
The old
Dashboard.jsxpath depended on local file selection/parsing, which conflicts with the current backend-managed architecture. Maintaining both patterns increased complexity, left stale code paths, and made navigation/state handling fragile.Where
frontend/src/App.jsfrontend/src/components/ReportDashboard.jsxfrontend/src/components/FuzzyDashboard.jsxfrontend/src/components/HorizontalLinearStepper.jsxfrontend/src/tests/FuzzyDashboard.test.jsxfrontend/src/tests/App.test.jsfrontend/src/tests/EnvironmentConfiguration.test.jsxfrontend/cypress/e2e/app.cy.jsDashboard.jsx,DroneDetails.jsx,SimulationPage.jsx,SimulationConfigs.jsx, legacyAboutUs.jsx)MonitorModel.jsand referenceLandingPage.jsxintopages/and updated imports/usages/report-dashboardcompatibility routefrontend/src/pages/Home.jsx(centered backend status + queued tasks blocks)frontend/src/components/ReportDashboard.jsx(forced dark section-title color for readability)How
/list-reports,/list-folder-contents,/download-report)./dashboardaccess behavior when route state is missing./reportsfrom simulation completion.main, resolved conflicts, and applied final UI/readability fixes.Notes
Acceptance Criteria Mapping
ReportDashboardand dashboard viewAddendum: Relationship to #249 (Refactor Frontend Data Systems)
This PR does not claim to fully implement #249, but it materially advances the same direction by removing legacy flows and tightening backend-driven data paths.
What This PR Advances
list-reports,list-folder-contents,download-report), reducing divergent frontend data paths./dashboardfallback handling, submit-then-navigate to/reports) so data transitions are more deterministic.What This PR Does Not Complete From #249
useEffect-driven patterns.Positioning
This PR should be treated as a foundational cleanup and stabilization step that reduces technical debt and de-risks a future full data-framework refactor.