xPulse
πŸ‡¬πŸ‡§ EN

adr-001 – Version Pill: Unified Format in Default Theme

Status: ACCEPTED Date: 2026-03-10 Author: xPulse


Context

The app displays the current version in several places: sidebar footer, login footer, info page (status pills). In v1.2.0 this was inconsistent – sometimes a rounded pill, sometimes plain text, sometimes just the version number, sometimes with a prefix.

Decision

Unified format for all version pills in the default theme:

VERSION: RC-V1.3.0-ABC123

Technically: shared helper function initVersionPills() in modules/ui.js. All elements with the data-version-pill attribute are automatically populated.

// ui.js
export async function initVersionPills() {
const { version } = await fetch('/version.json').then(r => r.json());
const label = `VERSION: ${version.toUpperCase()}`;
document.querySelectorAll('[data-version-pill]').forEach(el => el.textContent = label);
}

Version format from branch:

Branch Format Example
master v{tag} V1.3.0
release/v* rc-v{version}-{hash} RC-V1.3.0-ABC123
develop develop-{hash} DEVELOP-ABC123
feature/xyz feat-xyz-{hash} FEAT-XYZ-ABC123
hotfix/xyz fix-xyz-{hash} FIX-XYZ-ABC123

Rationale

Consequences

Alternatives Rejected

en/adr/adr-001-version-pill.md 2026-03-13