Skip to content

Comments

RoshiniSeelamsetty: Fix Total Org Summary date filter to Previous Week#4859

Open
roshini1212 wants to merge 1 commit intodevelopmentfrom
RoshiniSeelamsetty-total-org-reports-date-filter-previous-week
Open

RoshiniSeelamsetty: Fix Total Org Summary date filter to Previous Week#4859
roshini1212 wants to merge 1 commit intodevelopmentfrom
RoshiniSeelamsetty-total-org-reports-date-filter-previous-week

Conversation

@roshini1212
Copy link

Description

Fixes PRIORITY HIGH: Yagna – Total Org Reports Date Filter Defaults to Current Week Instead of Previous Week.

Related PRs (if any):

None.

Main changes explained:

  • Updated src/components/TotalOrgSummary/TotalOrgSummary.jsx to initialize selectedDateRange with 'Previous Week' so the Total Org Summary date filter defaults to Previous Week on page load.
  • Verified that changing the date range still correctly updates currentFromDate and currentToDate and that comparison options continue to work.

How to test:

  1. Checkout this branch: git checkout RoshiniSeelamsetty-total-org-reports-date-filter-previous-week.
  2. Run frontend: npm install (if needed) and npm run start:local.
  3. Log in as Owner/Admin.
  4. Navigate: Reports → TotalReport → Total Org Summary.
  5. Confirm the date filter pill shows Previous Week by default and the data corresponds to the previous week.

Screenshots or videos of changes:

  • Before (Current Week default):
Before.mov
  • After (Previous Week default):
After.mov

Note:

  • Tested in light/dark mode as Owner.
  • No changes were made to backend or other report components.

@netlify
Copy link

netlify bot commented Feb 18, 2026

Deploy Preview for highestgoodnetwork-dev ready!

Name Link
🔨 Latest commit e67a6f8
🔍 Latest deploy log https://app.netlify.com/projects/highestgoodnetwork-dev/deploys/6995da6285f7d30008eb102d
😎 Deploy Preview https://deploy-preview-4859--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

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.

1 participant