Repository navigation
Frontend Release to Main [5.04] - #5652
Merged
Merged
Conversation
Volunteer Status (volunteers + mentors) and Volunteer Hours Distribution now render with the same DonutChart as Blue Square Stats, so labels, legends, center totals and dark mode look consistent. - Stack the legend under the donut in narrow slots (container query) so the volunteer and mentor charts stay side by side. - Let the donut grow to fill its card instead of locking to its min width. - Show volunteer/mentor comparison change as a percent (+12%, not +0.12%). - Round the hours-worked center total and keep 50-59 hrs before 50+ hrs. - Remove the replaced pie chart components and their tests.
Role Distribution now matches the other Total Org Summary donuts. - Add minLabelPercent to DonutChart so only roles at 2%+ get outside labels; small roles no longer pile up at the top of the ring. - Keep every non-zero item in the DonutChart legend, even slivers too thin to draw (e.g. a role with 1 member). - externalLabelGuidesPlugin skips a label when the formatter returns null.
Recharts' default #ccc hover band glared on the dark cards. Use a faint tint instead (white 8% in dark mode, black 5% in light mode).
…istency (#5608) Keeps Gayatri's segment-sum totals for the Volunteers and Mentors donuts and the Mentors card fix in TotalOrgSummary.jsx. Her edits to VolunteerStatusPieChart.module.css and MentorStatusPieChart.module.css styled the old pie charts' center text; those components are replaced by the shared DonutChart in this PR, so the files stay deleted.
- Centre text sizes itself from the measured hole (new holeSizePlugin sets --donut-hole), so titles, counts and the comparison line stay inside the ring at any width instead of being clipped (seen at ~1470px). - Slice labels, legend and tooltip share one percent format with one decimal, so a small slice no longer shows 0% beside 0.3% in the legend. - Comparison shows N/A when the backend sends "No Comparison Data", instead of NaN (Blue Square) or a misleading +0% (Volunteers, Mentors). - Hours Distribution slices are volunteer counts per bucket; the centre still shows total hours. Removes the proportional hours estimate that read like counts. Weekly Committed Hours explains it is not available yet (data comes with backend #2388). - Team Stats shows the change as a signed percent ("-2%") instead of "--0.02 volunteers". - Chart titles get a line-height so wrapped headings are not cramped.
…5608) - holeSizePlugin read the hole during layout, before Chart.js sets the radius, so it published 0px and the centre wrapped one character per line ("2 / 6 / 8 / 3"). Read the controller's final innerRadius after update and ignore 0. Counts never wrap between digits; the comparison wraps only between words. - Stacked (narrow) layout: cancel the container's -35px bottom margin so the legend no longer overlaps the next chart's heading. - A non-zero slice under 0.05% shows "<0.1%" instead of "0.0%"; a count of 1 reads "1 volunteer". - Empty state shows only the message, without the meaningless centre title.
The 2px slice spacing left a notch at the top when one category held 100% (e.g. all volunteers in one hour range). Only space slices when there are two or more.
…te (#5608) - Team Stats tooltip showed the raw fraction (Change: -0.02) while the bar label shows -2%. Format it the same way in the Team Stats tooltip wrapper; the shared tooltip now also colours a preformatted negative value red. - The Volunteers footnote said Mentors are 'to the right', which is wrong when the charts stack on narrow screens.
…logic - Added new category images and improved the category selection process, allowing users to browse job categories before viewing job listings. - Updated the job fetching logic to ensure jobs are only loaded when a category is selected or a search term is submitted, improving performance and user experience. - Introduced a back navigation feature to return to category selection, enhancing usability. - Adjusted the initial fetch to prioritize categories over jobs, streamlining the loading process. These changes improve the overall user experience by making job browsing more intuitive and efficient.
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
…log-cleanup Purav - Job forms catalog cleanup, category browse, and apply form hardening
…nflict Use the shared getMentorTotal from development so the Mentors card and the TOTAL MENTORS donut stay in sync, and keep the null comparison so the donut shows N/A instead of +0%.
…_summary_chart_consistency Akshay Fix Total Org Summary chart consistency and dark mode hover
✅ Deploy Preview for highestgoodnetwork-dev ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
|
This branch was successfully deployed
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.



Includes: Purav - Job forms catalog cleanup, category browse, and apply form hardening- #5646, Akshay Fix Total Org Summary chart consistency and dark mode hover- #5608, Aditya - Job Application Form: keep the job-title mismatch warning visible- #5544, Som Ramnani - fix(projectMembershipReducer.js): preserve project membership state to prevent Members page crash- #5545, Gayatri - Fix Total Org Summary volunteer donut chart inflation- #5454, Amaresh: Add debouncing to search/filter inputs in Teams, User Management, Reports, and UserProfile- #5506, Linlin - feat: implement inline summary below reviewers with interactive gradi…- #5493, Yuxuan fix project report pie chart responsiveness and readability- #5475, Gayatri - Fix mentor count mismatch between summary card and donut chart- #5452, Devang: Fix UserProfile Memory Leak- #5575, Sitaram: 🔥 dark mode readability on Dashboard tasks, leaderboard hover and filter dropdowns- #5635+2387, Roshini Seelamsetty : Add permissions logic for task extension count visibility- #5199+2181, Bosu - Phase 1 - Create reason option for accounts clicked off as rehireable- #5633, Yingshu/contributors report comparison- #5359, Jaden - Fix Show Summaries job title links pointing to placeholder jobs.example.com domain (DONE Jaden)- #5628, Shubham Jakhete - Create a popup/notice when the app needs to be refreshed to integrate new changes- #5579, Shubham Jakhete - Phase 1: Finishing followup fixes for PR #4558+1953: Fix Dark Mode, Date Selection, Time Selection and Scheduling the post for Mastodon (frontend)- #5593+2373, Shubham Jakhete - Create way to see deactivated people's last week on the Weekly Summaries Reports page (frontend)- #5577+2363, Handika taking over for Alisha : (fix) inventory type edit delete actions- #4826+2043, Shreya: Fix HGN profile skill tabs- #5637, Shreya Bandodkar - fix: add pagination to HGN community members- #5631, Shreyas working on Fix Add Team function from Profile Page, including Quick Setup Selection of Teams and Team Codes- #5566+2364, Purav-takeover-job-application-form-issues- #5502