Skip to content

docs: GitHub and Discord icons in the site header - #304

Merged
ryuzdev merged 1 commit into
mainfrom
docs/navbar-social
Nov 25, 2026
Merged

ryuzdev merged 1 commit into
mainfrom
docs/navbar-social

Conversation

@ryuzdev

@ryuzdev ryuzdev commented Nov 25, 2026 •

Copy link
Copy Markdown
Member

Adds GitHub (https://github.com/ryuzcorp/cello) and Discord (https://discord.gg/WnVTMCTz74) icon links to the header of https://cello.ryuz.eu.

Blume links social profiles only in the footer and has no header-icon setting, so components.ts overrides the header Search slot. It renders the built-in search trigger and then the two brand marks (from Blume's own SOCIAL_ICONS), styled with the classes and tooltip of Blume's header icon buttons. The order is: search, GitHub, Discord, theme toggle.

docs.yml now builds and deploys when components.ts or components/** change, and ci.yml counts them as docs-only.

Verification: npx blume build succeeds and every page carries both links. blume preview screenshots were checked at 1280 px (light and dark) and 390 px (mobile). node scripts/check-docs.mjs is clean.

Summary by CodeRabbit

  • New Features
    • Added a search trigger and GitHub and Discord links to the header. Links open in a new tab and include accessible labels and tooltips.
  • Bug Fixes
    • Updated documentation workflows to run when component files change.

@coderabbitai

coderabbitai Bot commented Nov 25, 2026 •

Copy link
Copy Markdown

Explain Change →

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 55 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 7ec5c121-55d1-44e1-b4f4-7a06ed6aed01
Commits

Reviewing files that changed from the base of the PR and between af69665 and 76f95c1.

Files selected for processing: 4

  • .github/workflows/ci.yml
  • .github/workflows/docs.yml
  • components.ts
  • components/HeaderSearch.astro

No actionable comments were generated in the recent review.

Walkthrough

The change adds a registered header component that renders search and GitHub and Discord links. CI and docs workflow path filters now account for components.ts and components/**.

Changes: Header search and workflow integration

Layer / File(s) Summary
Register and render header search
components.ts, components/HeaderSearch.astro
Registers HeaderSearch.astro. The component renders Search with forwarded Astro props and GitHub and Discord links with accessible labels, tooltips, and new-tab behavior.
Handle component paths in workflows
.github/workflows/ci.yml, .github/workflows/docs.yml
The CI code filter excludes components.ts and components/**. The docs workflow now runs for pull requests and pushes to main that change those paths.

Estimated code review effort: 2 (Simple) | ~10 minutes

Change: Feature

Possibly related PRs

  • ryuzcorp/cello#91: Introduced the CI changes job and its code predicate, which this change updates.
  • ryuzcorp/cello#78: Created the docs workflow whose path filters this change updates.
Merge Risk: Minimal · previous review af696

This change adds GitHub and Discord icon links to the docs header and updates the workflow path filters so component edits trigger the docs build. No concrete merge-blocking risk was identified.

Pre-merge checks: Passed 4

Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed The title names the main change: GitHub and Discord icon links added to the site header. The raw summary and objectives confirm that components.ts overrides the header Search slot and adds HeaderSearc…
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.
Full details: Title check

Explanation

The title names the main change: GitHub and Discord icon links added to the site header. The raw summary and objectives confirm that components.ts overrides the header Search slot and adds HeaderSearch.astro with GitHub and Discord icons. The 'docs:' prefix fits the docs-site scope. The workflow path updates are secondary and need no mention in the title.

Finishing Touches

Generate unit tests (beta)

  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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

Recent review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 94e0b9a4-1085-48bb-9ca0-8760ac16e82d
Commits

Reviewing files that changed from the base of the PR and between 9aa2f66 and af69665.

Files selected for processing: 4

  • .github/workflows/ci.yml
  • .github/workflows/docs.yml
  • components.ts
  • components/HeaderSearch.astro

Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review.

- Blume links socials only in the footer, so components.ts overrides the header's Search slot: the built-in search, then GitHub and Discord icon links styled as Blume's header icon buttons.
- docs.yml builds and deploys on components.ts/components/**; ci.yml counts them as docs-only.
@ryuzdev
ryuzdev merged commit 70f66a1 into main Nov 25, 2026
9 checks passed
@ryuzdev
ryuzdev deleted the docs/navbar-social branch November 25, 2026 15:42
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