Skip to content

Amalesh - Fixed the issue with displaying the “Contributors Report” #3958

Merged
one-community merged 2 commits intodevelopmentfrom
Amalesh-contributors-report
Sep 1, 2025
Merged

Amalesh - Fixed the issue with displaying the “Contributors Report” #3958
one-community merged 2 commits intodevelopmentfrom
Amalesh-contributors-report

Conversation

@Amalesh-A
Copy link
Copy Markdown
Contributor

Description

image

Related PRS (if any):

This frontend PR is related to the development branch of the backend.

Main changes explained:

  • src/components/Reports/TotalReport/TotalContributorsReport.jsx
  • src/components/Reports/Reports.jsx

How to test:

  1. check into current branch - amalesh-contributors-report
  2. do npm install and ... to run this PR locally
  3. Clear site data/cache
  4. log as admin user
  5. Dashboard → Reports → Reports → “Show Contributors Report” button
  6. verify “Show Contributors Report” works

Screenshots or videos of changes:

It.works.mp4

@netlify
Copy link
Copy Markdown

netlify Bot commented Aug 25, 2025

Deploy Preview for highestgoodnetwork-dev ready!

Name Link
🔨 Latest commit ed27237
🔍 Latest deploy log https://app.netlify.com/projects/highestgoodnetwork-dev/deploys/68abbcc44f871b0008989f15
😎 Deploy Preview https://deploy-preview-3958--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.

@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 Aug 25, 2025
Copy link
Copy Markdown
Contributor

@vishnu-ing vishnu-ing left a comment

Choose a reason for hiding this comment

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

I have reviewed the code changes and tested the functionality in local. Everything works good for the 4 buttons "Show/Hide Total Project Report", "Show/Hide Total People Report", "Show/Hide Total Team Report", "Show/Hide Total Contributor Report" buttons and the charts are displayed and hidden accordingly along with the filter values applied in light and dark modes.

image image image

Note: The UI ends up with no report on the right and aligned to left without coming back to the center when clicking "Hide Project Lost Time", "Hide Person Lost Time", "Hide TeamLost Time" as shown below in the screenshots. But the changes LGTM. Just noting for reference.

image image

Copy link
Copy Markdown

@srushti2403 srushti2403 left a comment

Choose a reason for hiding this comment

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

Tested and verified that 'Show Contributors Report' button works.
Screenshot 2025-08-25 at 1 50 29 PM

Copy link
Copy Markdown
Contributor

@aseemdeshmukh aseemdeshmukh left a comment

Choose a reason for hiding this comment

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

All 4 buttons mentioned are properly functioning and expected data is reflected. Checked in both light and dark mode.
PR3958-1

Copy link
Copy Markdown
Contributor

@akshith312 akshith312 left a comment

Choose a reason for hiding this comment

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

Logged in as admin user.
Navigated to Reports and checked the buttons.
All the checks satisfy and work as expected.

image image

After refreshing and clicking show contributors report first.
image

Copy link
Copy Markdown

@sohamsharma08 sohamsharma08 left a comment

Choose a reason for hiding this comment

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

Tested the PR and verified the Reports page thoroughly. Everything works as expected. Screenshots are attached below:

PR 3958 (1) PR 3958 (2) PR 3958 (3) PR 3958 (4)

Copy link
Copy Markdown

@ezreal2020 ezreal2020 left a comment

Choose a reason for hiding this comment

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

Verified and tested with the code changes that 'Show Contributors Report' button works.
image

Copy link
Copy Markdown
Contributor

@SudheeshTD SudheeshTD left a comment

Choose a reason for hiding this comment

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

Contributors report is working as expected. Tested in both light and Dark theme and its working.

image image image

Copy link
Copy Markdown
Contributor

@sourabhbagde sourabhbagde left a comment

Choose a reason for hiding this comment

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

Tested and working as expected both in light and dark mode.
PR 3958 light
PR 3958 dark

Copy link
Copy Markdown

@vivekchandrabs vivekchandrabs left a comment

Choose a reason for hiding this comment

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

I tested this feature by logging in is admin and also verifying Show Contributors button.

It works fine in the light and dark mode.

It properly displays the value that is been returned by the API.

Screenshot 2025-08-30 at 1 47 09 PM Screenshot 2025-08-30 at 1 47 23 PM

@one-community
Copy link
Copy Markdown
Member

Thank you all, merging!

@one-community one-community merged commit 4266e6c into development Sep 1, 2025
8 checks passed
@Amalesh-A Amalesh-A removed the High Priority - Please Review First This is an important PR we'd like to get merged as soon as possible label Sep 5, 2025
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.