Repository navigation
Center plain Project table cells and label the linked PR overflow - #34532
Conversation
|
Note Reviews pausedIt looks like this branch is under active development. To avoid overwhelming you with review comments due to an influx of new commits, CodeRabbit has automatically paused this review. You can configure this behavior by changing the Use the following commands to manage reviews:
Use the checkboxes below for quick actions:
No actionable comments were generated in the recent review.
|
There was a problem hiding this comment.
Actionable comments posted: 1

Review info
-
Run configuration-
- Source mode: Auto
- Repository: Unavailable
- Branch: Unavailable
- File: No configuration file from this repository applied
- Commit: Unavailable
- Layers: Repository UI
- Review profile: CHILL
- Plan: Advanced
- Run ID:
69d6b88d-1dea-4e74-8d42-3cce3cac60f1
Files selected for processing: 4-
src/renderer/src/components/github-project/ProjectCell.fixture.tsxsrc/renderer/src/components/github-project/ProjectCell.linked-pr.test.tsxsrc/renderer/src/components/github-project/ProjectCell.test-fixture.tsxsrc/renderer/src/components/github-project/ProjectCell.tsx
Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 2 remain after this review.
-
There was a problem hiding this comment.
Actionable comments posted: 2

Review info
-
Run configuration-
- Source mode: Auto
- Repository: Unavailable
- Branch: Unavailable
- File: No configuration file from this repository applied
- Commit: Unavailable
- Layers: Repository UI
- Review profile: CHILL
- Plan: Advanced
- Run ID:
5b37f38c-61bf-4e4d-a0e7-257f38f39322
Files selected for processing: 6-
src/renderer/src/components/github-project/ProjectCell.fixture.tsxsrc/renderer/src/components/github-project/ProjectCell.linked-pr.test.tsxsrc/renderer/src/components/github-project/ProjectCell.test-fixture.tsxsrc/renderer/src/components/github-project/ProjectCell.tsxsrc/shared/github/project-relations.test-fixture.tstests/e2e/github-project-provider-columns.unit.test.ts
Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 4 remain after this review.
-
There was a problem hiding this comment.
Actionable comments posted: 1

Review info
-
Run configuration-
- Source mode: Auto
- Repository: Unavailable
- Branch: Unavailable
- File: No configuration file from this repository applied
- Commit: Unavailable
- Layers: Repository UI
- Review profile: CHILL
- Plan: Advanced
- Run ID:
6a37fe79-a9b3-4a91-a2db-4823be7bf71a
Files selected for processing: 2-
src/renderer/src/components/github-project/ProjectCell.tsxsrc/renderer/src/i18n/locales/en.json
Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 0 remain after this review.
-
Drop the clickable linked PR numbers: the numbers stay plain text as before. Plain text cells (repository, parent issue, linked pull requests, sub-issue progress) now center vertically like the other cells, and the linked PR overflow reads "+N more" instead of a bare "+N".




In the GitHub Project table, the plain-text columns (Repository, Parent issue, Linked pull requests, Sub-issues progress) sat at the top of each row instead of lining up with the Title and Type columns. The linked pull requests column also ended with a bare "+2" that didn't say what it counted, and in a normal-width column that "+2" was cut off behind the ellipsis anyway.
This PR is styling only:
Tracked in #34185.
Why: the row cell is a stretched flex container, so a plain text span inside it stuck to the top. Adding
self-center(plusmin-w-0so long text still truncates) centers it without changing the cell. The dark-mode background difference in an earlier screenshot came from the screenshot fixture, not the app; production colors are unchanged.Verification: the three tests that read these cells pass (41/41) with the "+2 more" text. Screenshots render the real ProjectViewList, ProjectRow and ProjectCell in a component fixture with two rows (2 PRs, and 10 of 12 PRs); "main" swaps in main's ProjectCell.tsx, everything else identical.
Dark, main:

Dark, this PR:

Light, main:

Light, this PR:

Review path: full, because the no-repeat criterion is not met by the branch history. QA remains the light UI/copy row (
qa=tests).264ab3e965drepaired count clipping; the styling cut briefly restored combined truncation before05caf386a31separated the suffix again.Plan: reuse the existing cell, row styles and translation mechanism; center the plain-text cells and reserve the overflow suffix. The suffix takes some horizontal room from the loaded numbers, which retain the table’s existing ellipsis behavior. No new control or opening behavior.