Neeraj Add Export And Download Functionality To Resource Usage Monitoring#4721
Neeraj Add Export And Download Functionality To Resource Usage Monitoring#4721Neeraj-Kondaveeti wants to merge 6 commits intodevelopmentfrom
Conversation
✅ Deploy Preview for highestgoodnetwork-dev ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
|
sayali-2308
left a comment
There was a problem hiding this comment.
- Checked out branch:
Neeraj_Resource_Usage_Export - Backend: Running on
developmentbranch - Tested on: Windows, Chrome browser
- Both servers running locally (Backend: 4500, Frontend: 5173)
Functionality Tested:
Test 1: Page Loading and UI
- Navigated to Resource Usage Monitoring page
- Page loaded correctly with no visual regressions
- "Export CSV" and "Export Excel" buttons visible in top right corner
- Table displays with correct columns: S.No, Name, Materials, Facilities, Status, Due Date, Actions
- Sample data showing 4 rows with different statuses (Debited, Partially Debited, Not Debited)
- Existing features (View Details, Tick off All Selected Items) still functional
- Page layout and structure preserved
Test 2: Export CSV Functionality
- Clicked "Export CSV" button
- File downloaded successfully as CSV format
- Opened CSV file and verified contents
- Column headers correct: S.No, Name, Materials, Facilities, Status, Due Date
- All 4 data rows exported with correct values:
- Row 1: 1, Harsh Kadyan, ????, Software Engineer Team, Debited, 23 April 2025
- Row 2: 2, John Doe, ????, HR Facilities, Partially Debited, 12 May 2025
- Row 3: 3, Jane Smith, ????, IT Equipment, Not Debited, 15 March 2025
- Row 4: 4, Alex Brown, ????, Admin Facilities, Debited, 20 April 2025
- Actions column correctly excluded from export
- CSV properly formatted with comma separators and quoted values
- No button remained in disabled/loading state after export
Test 3: Export Excel Functionality
- Clicked "Export Excel" button
- File downloaded successfully in Excel format (.xlsx)
- Opened Excel file and verified contents
- Same column headers and data as CSV export
- Data properly formatted in Excel spreadsheet
- All columns aligned correctly
- Excel file opens without errors
- Actions column correctly excluded from export
Test 4: Export Data Accuracy
- Compared exported files with table display
- All visible column data matches exactly
- Row order preserved (S.No 1-4)
- Status values exported correctly (Debited/Partially Debited/Not Debited)
- Date formats preserved (23 April 2025, etc.)
- Special characters (????) handled correctly
- Only currently visible columns included in export
- Action buttons column correctly excluded
Test 5: Dark Mode Compatibility
- Toggled to dark mode
- "Export CSV" button clearly visible with light gray background
- "Export Excel" button clearly visible with white/light border
- Both buttons maintain good contrast against dark background
- Table styling consistent in dark mode (dark background, light text)
- Header row styled appropriately (light blue background)
- All text remains readable with proper contrast
- Status colors still visible (green, orange, red)
- No visual regressions in dark mode
Test 6: Dark Mode Export Functionality
- Clicked export buttons while in dark mode
- CSV export works correctly in dark mode
- Excel export works correctly in dark mode
- Downloaded files contain same correct data
- No errors or issues during export in dark mode
Test 7: Button States and User Feedback
- Export buttons clickable and responsive
- No duplicate downloads when clicked once
- Buttons don't remain in disabled state after export
- Browser download prompt appears correctly
- Multiple exports can be performed successfully
Code Quality:
- No console errors observed during testing
- No warnings in browser console
- Page remains responsive after exports
- No memory leaks or performance issues
- Export happens quickly without freezing page
- Clean implementation with proper loading states
Anusha-Gali
left a comment
There was a problem hiding this comment.
Hi Neeraj,
Please update the link to the http://localhost:5173/communityportal/activity/:activityid/resources being used in PR #4765 instead of resourcesusage as how can same functionality be accessed via two different API calls. Also would appreciate if you can enhance the text color of the Export Buttons in dark mode.
ca93f3a
cec66e8 to
ca93f3a
Compare
Hi Anusha, Thank you for pointing it out, I have resolved the issues mentioned. This particular PR/page uses this link: http://localhost:5173/communityportal/activity/:activityId/resourcesusage. And I have enhanced the text color of the export buttons in dark mode. Please test it out again and let me know if the issues still persist. Thank You |
ca93f3a to
ce8151b
Compare
|






















Description
Related PRS (if any):
This frontend PR is related to the development Backend branch.
…
Main changes explained:
How to test:
npm installand...to run this PR locallyScreenshots or videos of changes:
Note: