Skip to content

Conversation

@nowgnuesLee
Copy link
Contributor

@nowgnuesLee nowgnuesLee commented Dec 11, 2025

resolves #4806 (FR-1780)

This PR align the refresh button of the dashboard items.

Checklist: (if applicable)

  • Documentation
  • Minium required manager version
  • Specific setting for review (eg., KB link, endpoint or how to setup)
  • Minimum requirements to check during review
  • Test case(s) to demonstrate the difference of before/after

@github-actions github-actions bot added the size:S 10~30 LoC label Dec 11, 2025
Copy link
Contributor Author


How to use the Graphite Merge Queue

Add either label to this PR to merge it via the merge queue:

  • flow:merge-queue - adds this PR to the back of the merge queue
  • flow:hotfix - for urgent hot fixes, skip the queue and merge this PR next

You must have a Graphite account in order to use the merge queue. Sign up using this link.

An organization admin has required the Graphite Merge Queue in this repository.

Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue.

This stack of pull requests is managed by Graphite. Learn more about stacking.

@nowgnuesLee nowgnuesLee marked this pull request as ready for review December 11, 2025 00:44
@nowgnuesLee nowgnuesLee requested review from Copilot, ironAiken2 and yomybaby and removed request for Copilot December 11, 2025 00:44
@github-actions
Copy link
Contributor

github-actions bot commented Dec 11, 2025

Coverage report for ./react

St.
Category Percentage Covered / Total
🔴 Statements 4.37% 517/11819
🔴 Branches 3.58% 298/8316
🔴 Functions 2.63% 95/3616
🔴 Lines 4.35% 503/11560

Test suite run success

145 tests passing in 14 suites.

Report generated by 🧪jest coverage report action from 582d7c6

Copy link
Contributor

@ironAiken2 ironAiken2 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Member

@yomybaby yomybaby left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The padding size of the right and left of the content area is different.
image.png

@nowgnuesLee nowgnuesLee force-pushed the fix/align-refresh-button-of-dashboard-items branch from 1e00ff0 to e75646f Compare December 12, 2025 04:25
Copilot AI review requested due to automatic review settings December 12, 2025 04:25
@github-actions github-actions bot added size:XS ~10 LoC and removed size:S 10~30 LoC labels Dec 12, 2025
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR standardizes the horizontal padding of dashboard item components by replacing separate paddingLeft and paddingRight properties with the shorthand paddingInline property. This change ensures consistent alignment of refresh buttons across all dashboard items.

  • Converts separate left/right padding to paddingInline shorthand for better maintainability
  • Aligns with the existing pattern already used in other dashboard components (AgentStats, MyResource, MyResourceWithinResourceGroup, TotalResourceWithinResourceGroup)
  • Fixes visual inconsistency in SessionCountDashboardItem where left padding was paddingXL but right padding was only padding

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

File Description
react/src/components/SessionCountDashboardItem.tsx Replaces paddingLeft: token.paddingXL and paddingRight: token.padding with paddingInline: token.paddingXL to standardize padding and fix alignment issue
react/src/components/RecentlyCreatedSession.tsx Replaces separate paddingLeft and paddingRight properties with paddingInline: token.paddingXL for consistency
react/src/components/ActiveAgents.tsx Replaces separate paddingLeft and paddingRight properties with paddingInline: token.paddingXL for consistency

Copy link
Member

@yomybaby yomybaby left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@graphite-app
Copy link

graphite-app bot commented Dec 12, 2025

Merge activity

resolves #4806 (FR-1780)

This PR align the refresh button of the dashboard items.

**Checklist:** (if applicable)

- [ ] Documentation
- [ ] Minium required manager version
- [ ] Specific setting for review (eg., KB link, endpoint or how to setup)
- [ ] Minimum requirements to check during review
- [ ] Test case(s) to demonstrate the difference of before/after
@graphite-app graphite-app bot force-pushed the fix/align-refresh-button-of-dashboard-items branch from e75646f to 582d7c6 Compare December 12, 2025 07:27
@graphite-app graphite-app bot merged commit 582d7c6 into main Dec 12, 2025
11 checks passed
@graphite-app graphite-app bot deleted the fix/align-refresh-button-of-dashboard-items branch December 12, 2025 07:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:XS ~10 LoC

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Dashboard page card item layouts are inconsistent

4 participants