Skip to content

feat: SW-2383 add BuildInfoFooter component - #207

Open
boramyi-ts wants to merge 3 commits into
mainfrom
SW-2383-build-info-footer
Open

feat: SW-2383 add BuildInfoFooter component#207
boramyi-ts wants to merge 3 commits into
mainfrom
SW-2383-build-info-footer

Conversation

@boramyi-ts

@boramyi-ts boramyi-ts commented Sep 8, 2026

Copy link
Copy Markdown
Contributor

SW-2383 — Add BuildInfoFooter component

Jira: SW-2383

A subtle, full-width footer bar for application build metadata — the app version and commit SHA — meant to sit at the bottom of a page/app.

API

<BuildInfoFooter version="1.4.2" commitSha="a1b2c3d" />
  • version?: string — rendered as v{version}
  • commitSha?: string — short commit SHA
  • Both fields are optional; only what you pass renders (a single value shows with no separator).
  • Extends React.ComponentProps<"footer"> (minus children), so className and native <footer> attributes pass through.

Design

  • Right-aligned, text-xs, tabular-nums, muted foreground on a faint bg-muted/30 bar with a top border — deliberately quiet so it recedes at the bottom of a data-dense page.
  • Values are separated by a middot (·, aria-hidden).
  • Renders a semantic <footer> with data-slot="build-info-footer".

Screenshots

State
Version + commit (Default) default
Version only (VersionOnly) version only

Tests

Default play test asserts the data-slot, the v1.4.2 version, and the a1b2c3d commit are rendered/visible; VersionOnly covers the single-field branch. Both pass, including the automatic axe a11y check. typecheck + lint clean. Zephyr id to be generated via zephyr_sync.

🤖 Generated with Claude Code

A subtle full-width footer bar for application build metadata — app
version and commit SHA. Both fields optional; only what you pass renders.
Meant to sit at the bottom of a page/app. Content is right-aligned.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@vercel

vercel Bot commented Sep 8, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
ts-lib-ui-kit-storybook Ready Ready Preview Sep 10, 2026 2:29pm UTC

Request Review

@boramyi-ts boramyi-ts changed the title feat: add BuildInfoFooter component (SW-2383) feat: SW-2383 add BuildInfoFooter component Sep 8, 2026

@unblocked unblocked Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

✅ No issues found

About Unblocked

Unblocked has been set up to automatically review your team's pull requests to identify genuine bugs and issues.

📖 Documentation — Learn more in our docs.

💬 Ask questions — Mention @unblocked to request a review or summary, or ask follow-up questions.

👍 Give feedback — React to comments with 👍 or 👎 to help us improve.

⚙️ Customize — Adjust settings in your preferences.

@github-actions

Copy link
Copy Markdown

Coverage Report

Status Category Percentage Covered / Total
🟢 Lines 96.94% (🎯 83%)
🟰 ±0%
24715 / 25494
🟢 Statements 96.94% (🎯 83%)
🟰 ±0%
24715 / 25494
🟢 Functions 94.61% (🎯 74%)
🟰 ±0%
1178 / 1245
🟢 Branches 90.64% (🎯 81%)
⬇️ -0.05%
4963 / 5475
File Coverage
File Stmts Branches Functions Lines Uncovered Lines
Changed Files
src/components/composed/BuildInfoFooter/BuildInfoFooter.tsx 100% 62.5% 100% 100%
Generated in workflow #1214 for commit bfc4ba9 by the Vitest Coverage Report Action

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