Skip to content

fix: balance Workbench pinned grid#57

Merged
jonathanperis merged 1 commit into
mainfrom
fix/workbench-pinned-grid
Jun 24, 2026
Merged

fix: balance Workbench pinned grid#57
jonathanperis merged 1 commit into
mainfrom
fix/workbench-pinned-grid

Conversation

@jonathanperis

@jonathanperis jonathanperis commented Jun 24, 2026

Copy link
Copy Markdown
Owner

Summary

  • Balance the Workbench pinned-card grid around GitHub's six-profile-pin limit
  • Give the sixth pinned card a deterministic wide span so it reaches the right edge instead of rendering as a skinny orphan
  • Add odd-count fallback spans so one/three/five pinned cards do not leave an orphaned final row

Test Plan

  • git diff --check
  • bun run lint
  • PUBLIC_GA_ID=G-35CN95481D bun run build (with local GitHub auth token available for live repo data)
  • Local preview visual check: final speedy-bird-lynx card reaches the right edge of the Workbench grid

Summary by CodeRabbit

  • Bug Fixes
    • Improved responsive layout behavior for revealed items in the workbench grid.
    • Single-item and certain last-item grid placements now expand correctly across the full width.
    • Adjusted item spanning rules to create more consistent column placement across different list sizes.

@coderabbitai

coderabbitai Bot commented Jun 24, 2026

Copy link
Copy Markdown

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro Plus

Run ID: 2699e689-3314-40bf-bcf1-059160b8c42f

📥 Commits

Reviewing files that changed from the base of the PR and between bb0ae45 and 78be4ee.

📒 Files selected for processing (1)
  • src/styles/globals.css

📝 Walkthrough

Walkthrough

Updated .workbench-grid child reveal column spans in src/styles/globals.css, including revised nth-child placements and additional full-width cases for single and selected last items.

Changes

Workbench grid reveal placement

Layer / File(s) Summary
Grid span rules
src/styles/globals.css
The .reveal placement rules in .workbench-grid use revised nth-child spans and additional full-width cases for single and selected last items.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly matches the main change: balancing the Workbench pinned grid layout.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fix/workbench-pinned-grid

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@jonathanperis jonathanperis merged commit 0140a33 into main Jun 24, 2026
4 checks passed
@jonathanperis jonathanperis deleted the fix/workbench-pinned-grid branch June 24, 2026 21:20
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