Skip to content

Sayali : update bio status filter criteria to use totalValidWeeklySummaries >= 8 instead of daysInTeam > 60#5261

Open
sayali-2308 wants to merge 2 commits into
developmentfrom
Sayali_Task1_BioStatus_ValidWeeklySummaries
Open

Sayali : update bio status filter criteria to use totalValidWeeklySummaries >= 8 instead of daysInTeam > 60#5261
sayali-2308 wants to merge 2 commits into
developmentfrom
Sayali_Task1_BioStatus_ValidWeeklySummaries

Conversation

@sayali-2308
Copy link
Copy Markdown
Contributor

image

Description

Fixes #1 (Priority High)

Related PRs:

Replaces PR #3529

Main changes explained:

  • Updated WeeklySummariesReport.jsx to use summary.weeklySummariesCount >= 8 instead of summary.daysInTeam > 60 in isMeetCriteria filter logic
  • Updated FormattedReport.jsx same criteria fix for bio highlight (yellow background)
  • Updated BioFunction.jsx to use totalValidWeeklySummaries prop instead of daysInTeam
  • Updated test files BioFunction.test.jsx and FormattedReport.test.jsx to reflect new prop names

How to test:

  1. Check out branch Sayali_Task1_BioStatus_ValidWeeklySummaries
  2. npm install && npm run start:local
  3. Clear cache, log in as admin
  4. Navigate to Reports → Weekly Summaries Report
  5. Toggle Bio Status filter ON
  6. Verify only users with 80+ tangible hours AND 8+ Total Valid Weekly Summaries appear
  7. Verify eligible users have yellow highlight on Bio announcement row
  8. Verify dark mode works

Screenshots:

image image

Note:

Frontend-only change. No backend changes required.

@netlify
Copy link
Copy Markdown

netlify Bot commented May 12, 2026

Deploy Preview for highestgoodnetwork-dev ready!

Name Link
🔨 Latest commit abb3391
🔍 Latest deploy log https://app.netlify.com/projects/highestgoodnetwork-dev/deploys/6a036d24a3e8d0000898c981
😎 Deploy Preview https://deploy-preview-5261--highestgoodnetwork-dev.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

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

@sonarqubecloud
Copy link
Copy Markdown

@sayali-2308 sayali-2308 added the High Priority - Please Review First This is an important PR we'd like to get merged as soon as possible label May 13, 2026
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.

1 participant