Skip to content

fix(nav): keep the deprecated marker visible in the sidebar - #12691

Open
flagendijk89 wants to merge 1 commit into
mainfrom
devs/frank/fix-nav-deprecated-badge/Ie8b27ca54974d6cb745292dacd61146b2776521a
Open

fix(nav): keep the deprecated marker visible in the sidebar#12691
flagendijk89 wants to merge 1 commit into
mainfrom
devs/frank/fix-nav-deprecated-badge/Ie8b27ca54974d6cb745292dacd61146b2776521a

Conversation

@flagendijk89

@flagendijk89 flagendijk89 commented Sep 4, 2026

Copy link
Copy Markdown
Contributor

Part of MRGFY-8998 — design polish review, August 2026. One of four independent PRs from that pass.

Three action pages carried their status inside the nav label, and the
sidebar track was too narrow to hold it. The suffix was the part that
ellipsed away:

Delete Head Branch (De…
GitHub Actions (Deprec…
Post Check (Deprecated…

"GitHub Actions (Deprec…" sits in the same tree as the live GitHub
Actions integration page, so the one word separating them was the word
being cut.

Status moves out of the title into a badge field on NavItem, rendered
as its own pill. Because it is a separate element it is never what gets
truncated: it sits after the label where there is room and wraps beneath
it where there is not, deciding per row rather than per label, so it
keeps holding if a label is renamed or the sidebar is resized. No label
is shortened to protect it.

--theme-left-sidebar-width goes from 17rem to 18rem. The deepest rows
are indented twice and left 152px beside the icon — enough for a label,
not for a label plus a pill, so "GitHub Actions" pushed its pill onto a
second line. The extra 12px keeps every badged label but "Delete Head
Branch" inline, and costs the content column 12px. The right rail is
unchanged.

"GitHub Rulesets Compatibility" becomes "GitHub Rulesets", which now fits
without wrapping. The pill reads 9.4:1 in light and 10:1 in dark.

Co-Authored-By: Claude Opus 5 noreply@anthropic.com


🤖 Generated with Claude Code

Three action pages carried their status inside the nav label, and the
sidebar track was too narrow to hold it. The suffix was the part that
ellipsed away:

    Delete Head Branch (De…
    GitHub Actions (Deprec…
    Post Check (Deprecated…

"GitHub Actions (Deprec…" sits in the same tree as the live GitHub
Actions integration page, so the one word separating them was the word
being cut.

Status moves out of the title into a `badge` field on NavItem, rendered
as its own pill. Because it is a separate element it is never what gets
truncated: it sits after the label where there is room and wraps beneath
it where there is not, deciding per row rather than per label, so it
keeps holding if a label is renamed or the sidebar is resized. No label
is shortened to protect it.

`--theme-left-sidebar-width` goes from 17rem to 18rem. The deepest rows
are indented twice and left 152px beside the icon — enough for a label,
not for a label plus a pill, so "GitHub Actions" pushed its pill onto a
second line. The extra 12px keeps every badged label but "Delete Head
Branch" inline, and costs the content column 12px. The right rail is
unchanged.

"GitHub Rulesets Compatibility" becomes "GitHub Rulesets", which now fits
without wrapping. The pill reads 9.4:1 in light and 10:1 in dark.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Change-Id: Ie8b27ca54974d6cb745292dacd61146b2776521a
Claude-Session-Id: 18413631-aa75-4182-9e79-4c1ce31bb683
@mergify
mergify Bot deployed to Mergify Merge Protections September 4, 2026 19:11 Active
@mergify

mergify Bot commented Sep 4, 2026

Copy link
Copy Markdown
Contributor

Merge Protections

🟢 All 6 merge protections satisfied — ready to merge.

Show 6 satisfied protections

🟢 🤖 Continuous Integration

  • all of:
    • check-success = build
    • check-success = lint
    • check-success = test
    • any of:
      • check-success = test-broken-links
      • label = ignore-broken-links
    • any of:
      • check-success=Cloudflare Pages
      • -head-repo-full-name~=^Mergifyio/

🟢 👀 Review Requirements

  • any of:
    • #approved-reviews-by >= 2
    • author = dependabot[bot]
    • author = renovate[bot]
    • all of:
      • author = mergify-ci-bot
      • -head ~= ^docs-agent/

🟢 Enforce conventional commit

Make sure that we follow https://www.conventionalcommits.org/en/v1.0.0/

  • title ~= ^(fix|feat|internal|docs|style|refactor|perf|test|build|ci|chore|revert|ui)(?:\(.+\))?!?:

🟢 🔎 Reviews

  • #changes-requested-reviews-by = 0
  • #review-requested = 0
  • #review-threads-unresolved = 0

🟢 📕 PR description

  • body ~= (?ms:.{48,})

🟢 🚦 Auto-queue

When all merge protections are satisfied, this pull request will be queued automatically.

@mergify
mergify Bot requested a review from a team September 4, 2026 19:14
@mergify
mergify Bot requested a review from a team September 5, 2026 09:10
@mergify

mergify Bot commented Sep 5, 2026

Copy link
Copy Markdown
Contributor

Merge Queue Status

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Development

Successfully merging this pull request may close these issues.

3 participants