Skip to content

Radia UI enhancement projects dashboard#5291

Open
Radia731 wants to merge 6 commits into
developmentfrom
radia_ui_enhancement_projects_dashboard
Open

Radia UI enhancement projects dashboard#5291
Radia731 wants to merge 6 commits into
developmentfrom
radia_ui_enhancement_projects_dashboard

Conversation

@Radia731
Copy link
Copy Markdown

This PR resolves flagged UI crashes on the Project Dashboard and ensures proper styling in Dark Mode for project action buttons.

Fixed the logic/dependency error that was preventing the Tools and Equipment page from loading correctly.
Implements: Responsive Dark Mode styling for tools and equipment pages to ensure text readability.
Fixed merge issue

Related PRs
4450 (This PR is focused on resolving merge conflicts and UI stability).

Main changes explained
src/components/BMDashboard/LogTools: implemented optional chaining for API data access. This solves runtime TypeError crashes when the dashboard attempts to render data before the API payload is fully initialized or when expected arrays are empty

src/components/BMDashboard/Projects/ProjectDetails/ProjectDetails.module.css: Added global dark-mode CSS overrides for table elements to ensure high-contrast text readability.

How to test
-git checkout radia_ui_enhancement_projects_dashboard

-Run npm install

-Start the app: npm run start:local

-Clear site data/cache and login with admin account

  • Navigate to - > localhost:5173/bmdashboard

-Select a project (e.g., Project 3).

-Verify Bug Fix: Ensure the Project Dashboard loads without crashing.

-Verify UI: Toggle Dark Mode on and off.

-Verify Styling: Ensure all action buttons are readable and color-coded correctly in both light and dark mode.

Screenshots or videos of changes:

PR4450.mp4
Screenshot 2026-05-23 at 9 42 56 PM Screenshot 2026-05-23 at 9 42 50 PM Screenshot 2026-05-23 at 9 42 39 PM Screenshot 2026-05-23 at 9 42 30 PM Screenshot 2026-05-23 at 9 42 22 PM Screenshot 2026-05-23 at 9 42 15 PM Screenshot 2026-05-23 at 9 42 06 PM

Thank you!

@netlify
Copy link
Copy Markdown

netlify Bot commented May 24, 2026

Deploy Preview for highestgoodnetwork-dev ready!

Name Link
🔨 Latest commit 2b243ca
🔍 Latest deploy log https://app.netlify.com/projects/highestgoodnetwork-dev/deploys/6a1259107f934200087bde6a
😎 Deploy Preview https://deploy-preview-5291--highestgoodnetwork-dev.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

@sonarqubecloud
Copy link
Copy Markdown

Quality Gate Failed Quality Gate failed

Failed conditions
D Reliability Rating on New Code (required ≥ A)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

Copy link
Copy Markdown

@DeepighaJ DeepighaJ left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • Verified navigation to /bmdashboard and selected a project (Project 3).
  • Confirmed the Project Dashboard loads successfully without crashing after project selection.
  • Verified Dark Mode toggle functionality works correctly, allowing seamless switching between light and dark themes.
  • Verified all action buttons remain readable, properly styled, and color-coded as expected in both Light Mode and Dark Mode.
Image Image Image Image Image Image Image

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.

2 participants