Skip to content

#221 - chore(frontend): Fix Maintainability/Reliability Issues - SonarQube#344

Draft
Fetyali7 wants to merge 1 commit intodevfrom
221/sonarFrontend
Draft

#221 - chore(frontend): Fix Maintainability/Reliability Issues - SonarQube#344
Fetyali7 wants to merge 1 commit intodevfrom
221/sonarFrontend

Conversation

@Fetyali7
Copy link
Copy Markdown
Collaborator

@Fetyali7 Fetyali7 commented Apr 2, 2025

Summary

This PR addresses maintainability/reliability issues identified by SonarQube in the frontend codebase. The goal is to improve code clarity and reduce technical debt without altering functionality.

Changes Made

  • Refactored code
  • Simplified complex conditionals

Testing Instructions

  1. Run Unit and Integration Tests: Execute all frontend tests to ensure no regressions.
  2. Manual Verification: Interact with the application to confirm that the UI behaves as expected.
  3. Confirm that SonarQube no longer flags the fixed issues.

Screenshots

Before:
Screenshot 2025-03-30 at 10 15 50 PM

Additional Notes

  • 🟡 Known SonarCloud Warning:
    The AssetsDropdown.tsx, Footer.tsx, and MapMetaData.tsx files still show some issues in SonarCloud. This is expected for now, as fixing these issues would change the UI, and we have decided to keep them as they are.

@Fetyali7 Fetyali7 self-assigned this Apr 2, 2025
@Fetyali7 Fetyali7 changed the title #221 - chore(frontend): Reduced frontend sonarqube issues #221 - chore(frontend): Fix Maintainability/Reliability Issues - SonarQube Apr 2, 2025
@Fetyali7 Fetyali7 removed their assignment Apr 11, 2025
@Fetyali7
Copy link
Copy Markdown
Collaborator Author

This is a draft pull request capturing work in progress during Release 3. It is being documented here for transparency and potential future continuation.

As part of the capstone handoff, we are unassigning ourselves from this pull request.

@Fetyali7 Fetyali7 added enhancement New feature or request Front End This PR is related to the front end refactor labels Apr 11, 2025
@Fetyali7 Fetyali7 linked an issue Apr 11, 2025 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request Front End This PR is related to the front end refactor

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Chore(frontend) : Fix Maintainability Issues - SonarQube

1 participant