Skip to content

Sayali: add Expand All/Truncate All button to Team Member Tasks header#5262

Open
sayali-2308 wants to merge 1 commit into
developmentfrom
Sayali-Expand-All-Tasks-Button
Open

Sayali: add Expand All/Truncate All button to Team Member Tasks header#5262
sayali-2308 wants to merge 1 commit into
developmentfrom
Sayali-Expand-All-Tasks-Button

Conversation

@sayali-2308
Copy link
Copy Markdown
Contributor

@sayali-2308 sayali-2308 commented May 12, 2026

image # Description Implements #[TaskNumber] (Priority Medium)

Related PRs:

None

Main changes explained:

  • Updated TeamMemberTasks.jsx to add expandAll state and "Expand All/Truncate All" toggle button next to the "Team Member Tasks" heading
  • Updated TeamMemberTask.jsx to accept expandAll prop and use it to override individual row truncation state
  • Fixed skeleton loading issue when usersWithTasks is empty by setting selectionsLoaded to true immediately

How to test:

  1. Check out branch Sayali-Expand-All-Tasks-Button
  2. npm install && npm run start:local
  3. Clear cache, log in as admin
  4. Navigate to Dashboard → Tasks tab
  5. Verify "Expand All" button appears below "Team Member Tasks" heading
  6. Click "Expand All" — all task lists with more than 6 tasks should expand and button should change to "Truncate All"
  7. Click "Truncate All" — all task lists should collapse back and button reverts to "Expand All"
  8. Verify dark mode works

Screenshots:

image # ExpnadAll image # TruncateAll image

Note:

Task number threshold for truncation remains at 6 tasks (unchanged).

@netlify
Copy link
Copy Markdown

netlify Bot commented May 12, 2026

Deploy Preview for highestgoodnetwork-dev ready!

Name Link
🔨 Latest commit dc0e448
🔍 Latest deploy log https://app.netlify.com/projects/highestgoodnetwork-dev/deploys/6a03954d13fb990008dc43cd
😎 Deploy Preview https://deploy-preview-5262--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

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