Skip to content

fix(ui): label bundle_upload and hook activity event types - #154

Merged
pmaxhogan merged 1 commit into
mainfrom
fix/bundle-upload-event-label
Jul 25, 2026
Merged

pmaxhogan merged 1 commit into
mainfrom
fix/bundle-upload-event-label

Conversation

@pmaxhogan

Copy link
Copy Markdown
Owner

Summary

  • The activity event-type filter dropdown (and the table's Event column) rendered raw snake_case codes for bundle_upload, hook.pre, and hook.post because none of them had an entry under activity.events in the locale file.
  • Adds curated labels: bundle_upload -> "Uploaded (bundled)", hook.pre -> "Pre-backup hook", hook.post -> "Post-backup hook".
  • Latent bug fixed along the way: the existing dotted flat keys ("local.unicode_collision" etc.) NEVER resolved - vue-i18n splits lookup keys on dots, so those flat keys were dead and only rendered correctly by accident via the identical errors.<code>.short fallback chain. They are now proper nested objects (rendered strings unchanged). This is also why a naive flat "hook.pre" key silently fails - there is no errors fallback for hooks.

Testing

  • Extended activity-event-label.test.ts with assertions for all three new labels (the hook.* ones fail against flat dotted keys, proving the nesting matters).
  • Full UI suite: 343/343 passing; lint 0 errors, no new locale-key warnings.

🤖 Generated with Claude Code

https://claude.ai/code/session_01JLB3E2Jm7knNJd37fVpH8X

The activity event-type dropdown and table rendered raw snake_case
codes for bundle_upload, hook.pre, and hook.post because they had no
entry under activity.events. Also converts the dotted flat keys
(local.*) to proper nesting: vue-i18n splits lookup keys on dots, so
the flat dotted keys never resolved and only worked by accident via
the identical errors.*.short fallback chain.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JLB3E2Jm7knNJd37fVpH8X
@github-actions

Copy link
Copy Markdown
Contributor

Coverage

Area main this PR delta
Rust (lib crates) 79.51% 79.51% +0.00 (OK)
UI (vue/ts) 90.23% 90.23% +0.00 (OK)

Gate: passed - no coverage regression (epsilon 0.1 pp).

@pmaxhogan
pmaxhogan merged commit 2998c76 into main Jul 25, 2026
18 checks passed
@pmaxhogan
pmaxhogan deleted the fix/bundle-upload-event-label branch July 25, 2026 15:00
@github-project-automation github-project-automation Bot moved this from Todo to Done in Driven Jul 25, 2026
pmaxhogan added a commit that referenced this pull request Jul 25, 2026
🤖 I have created a release *beep* *boop*
---


## [2.3.0](v2.2.0...v2.3.0)
(2026-07-25)


### Features

* **core:** record a backup_done activity row when a run completes
([#160](#160))
([90cde5c](90cde5c))
* **ui:** files-uploaded stat card with sparkline and smoother Activity
load-in ([#157](#157))
([2d85c99](2d85c99))
* **ui:** live streaming folder-tree preview for the exclusion editor
([#158](#158))
([47ebe14](47ebe14))


### Bug Fixes

* **telemetry:** count bundled uploads in the anonymous aggregate
([#159](#159))
([11af7ea](11af7ea))
* **ui:** label bundle_upload and hook activity event types
([#154](#154))
([2998c76](2998c76))
* **ui:** make the backing-up bar a true determinate progress bar
([#155](#155))
([eed80a6](eed80a6))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant