Skip to content

Aayush tools equipment tracking missing graph#4508

Open
aayushshetty12 wants to merge 26 commits intodevelopmentfrom
aayush_tools_equipment_tracking_missing_graph
Open

Aayush tools equipment tracking missing graph#4508
aayushshetty12 wants to merge 26 commits intodevelopmentfrom
aayush_tools_equipment_tracking_missing_graph

Conversation

@aayushshetty12
Copy link
Copy Markdown
Contributor

@aayushshetty12 aayushshetty12 commented Dec 5, 2025

Description

Screenshot 2025-12-05 183031

Related PRS (if any):

backend PR: #1550

Main changes explained:

  • Updated WeeklyProjectSummary.jsx
  • Updated URL.js
  • Added ToolsStoppageHorizontalBarChart.jsx and ToolsStoppageHorizontalBarChart.module.css

How to test:

  1. check into current branch
  2. do npm install and ... to run this PR locally
  3. Clear site data/cache
  4. log as admin user
  5. go to /bmdashboard/totalconstructionsummary
  6. open Tools and Equipment Tracking
  7. check if Reason of Stoppage of Tools graph is visible

Screenshots or videos of changes:

Recording.2025-12-05.180655.mp4

@netlify
Copy link
Copy Markdown

netlify Bot commented Dec 5, 2025

Deploy Preview for highestgoodnetwork-dev ready!

Name Link
🔨 Latest commit 63f3621
🔍 Latest deploy log https://app.netlify.com/projects/highestgoodnetwork-dev/deploys/69eec45880c1c70008c22220
😎 Deploy Preview https://deploy-preview-4508--highestgoodnetwork-dev.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

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

@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud Bot commented Dec 5, 2025

@one-community one-community added the High Priority - Please Review First This is an important PR we'd like to get merged as soon as possible label Dec 29, 2025
Copy link
Copy Markdown

@Anusha-Gali Anusha-Gali left a comment

Choose a reason for hiding this comment

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

Hi Aayush,

I have reviewed your PR locally and have identified the below issue:

  • The calendar year value is getting trimmed off due to text-box length
  • In dark mode we cannot see the Project we are selecting
  • Please do mention the related backend PR else without it the chart is not loading
Screenshot 2026-01-02 at 2 29 25 AM Screenshot 2026-01-02 at 2 29 30 AM Screenshot 2026-01-02 at 2 29 35 AM Screenshot 2026-01-02 at 2 29 39 AM Screenshot 2026-01-02 at 2 29 42 AM Screenshot 2026-01-02 at 2 29 56 AM Screenshot 2026-01-02 at 2 30 14 AM

Copy link
Copy Markdown

@Anusha-Gali Anusha-Gali left a comment

Choose a reason for hiding this comment

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

Hi Aayush,

I tried to re-review the PR after you made changes but this time i was unable to access the webpage itself. Getting the below error.
Screenshot 2026-01-15 at 10 26 19 PM

@sonarqubecloud
Copy link
Copy Markdown

Copy link
Copy Markdown

@Anusha-Gali Anusha-Gali left a comment

Choose a reason for hiding this comment

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

Hi Aayush,

I tried to re-review the PR, this time the page did load but the chart did not load, not was i able to select the dropdown to select project. Do have a look into it.
Screenshot 2026-01-24 at 12 59 51 AM

Copy link
Copy Markdown

@rohanrastogi311 rohanrastogi311 left a comment

Choose a reason for hiding this comment

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

Hi Aayush,

The graphs are not loading.

Image

Copy link
Copy Markdown
Contributor

@saitejakaasoju saitejakaasoju left a comment

Choose a reason for hiding this comment

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

Hi Aayush,
I reviewed the PR and noticed that while the page loads, the chart does not render.

Image

const [data, setData] = useState([]);
const emptyData = [];

useEffect(() => {
Copy link
Copy Markdown

@naznin07 naznin07 Mar 23, 2026

Choose a reason for hiding this comment

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

If user changes filters quickly - multiple overlapping API calls.

PR # 4508

Copy link
Copy Markdown

@Anusha-Gali Anusha-Gali left a comment

Choose a reason for hiding this comment

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

Hi Aayush,

As per the requirements mentioned in the description the chart is visible. However the calendar does not seem to be working as well as the description says Blue Red and Yellow - however the chart has green inplace of blue and the legend in light mode covers the whole bar at times, if you could reduce the opacity it would be great. Else if these are not in your requirements do let Jae know.

Image Image Image Image
4508.mov

@sonarqubecloud
Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

High Priority - Please Review First This is an important PR we'd like to get merged as soon as possible

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants