You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
refactor(web-ui): brand redesign and time format simplification v0.0.36 (#173)
* refactor(web-ui): brand block minimalist redesign per Apple Glass aesthetic
- Reduce logo from 38px to 28px with 6px border radius
- Simplify title: 18px/700 → 13px/500 with gradient text
- Remove subtitle entirely for cleaner layout
- Version number now fades in on hover only
- Replace warm border with subtle 0.5px black alpha
- Add inner glow and radial hover effect on logo
- Refine padding and spacing for breathing room
* fix(web-ui): update precompiled render function for brand block changes
* test(parity): allow brandHovered as extra data key
* test(parity): allow brandHovered in both parity branches
* feat(web-ui): add relative time display with i18n support
- Add translation keys for relative time (zh/en/ja)
- Modify formatSessionTimelineTimestamp to support relative time
- Pass t function to buildUsageHeatmap and buildSessionTimelineNodes
- Add updatedAtLabel field to session list items
- Update panel-sessions.html to use formatted time labels
* fix(web-ui): add t parameter to buildUsageChartGroups
* fix(web-ui): add error handling for relative time formatting
* refactor(web-ui): simplify time format to absolute only
- Remove relative time logic (just now, N minutes ago, etc.)
- Use fixed format: YYYY-MM-DD HH:mm
- Remove i18n keys for relative time
- Update tests to match new format
- Net code reduction: 91 lines
* chore: bump version to 0.0.36
* fix(web-ui): guard session shape before accessing updatedAt
* fix(web-ui): keyboard accessibility and gradient fallback
- Add tabindex and focus/blur handlers to brand-block for keyboard navigation
- Add focus-visible outline styles for keyboard users
- Wrap gradient text in @supports for browser fallback
- Update precompiled render function
---------
Co-authored-by: ymkiux <ymkiux@users.noreply.github.com>
_createElementVNode("span",{class: "session-item-time"},_toDisplayString(session.updatedAt||_ctx.t('sessions.unknownTime')),1/* TEXT */),
2461
+
_createElementVNode("span",{class: "session-item-time"},_toDisplayString(session.updatedAtLabel||session.updatedAt||_ctx.t('sessions.unknownTime')),1/* TEXT */),
2451
2462
(_ctx.getSessionHotLabel(session))
2452
2463
? (_openBlock(),_createElementBlock("span",{
2453
2464
key: 0,
@@ -2505,7 +2516,7 @@ return function render(_ctx, _cache) {
_createElementVNode("span",{class: "session-preview-meta-item"},_toDisplayString(_ctx.activeSession.updatedAt||_ctx.t('sessions.unknownTime')),1/* TEXT */)
2519
+
_createElementVNode("span",{class: "session-preview-meta-item"},_toDisplayString(_ctx.activeSession.updatedAtLabel||_ctx.activeSession.updatedAt||_ctx.t('sessions.unknownTime')),1/* TEXT */)
0 commit comments