feat(frontend): color CPU temp badge by temperature band - #49
Merged
Conversation
markmybytes
added a commit
that referenced
this pull request
Aug 28, 2026
* docs: add backend i18n unification handoff Captures the full context, decisions, architecture, reference adopter (CPU temp), 21-touchpoint inventory, migration phases, and anti-patterns for unifying how Go backend messages/errors cross to the Vue frontend for translation. Triggered by CPU temp follow-ups (#48/#49/#50); the author plans to implement the unification later using this doc as the reference. * docs: update backend i18n unification handoff document for clarity and structure * refactor: remove obsolete documentation files * feat(i18n): unify backend error handling with structured codes Backend emits *errcode.Error via main.go ErrorFormatter; frontend routes all 48 catch sites through decodeError(err, t) util. pkg/errcode adds minimal Error type (code + params). 80 new error codes seeded in en.json + zh_Hant_HK.json. Confidence tests: decodeError (7), i18n-completeness (6) including errcode.New/Newf coverage grep. See BACKEND_I18N_HANDOFF.md (unstaged). * feat(frontend): add hover popover for CPU temp side-effect warning Display an info icon next to the CPU temp detection toggle. On hover, a popover warns that enabling installs the PwanIO driver on startup (if missing) and is not removed automatically when disabled.
markmybytes
added a commit
that referenced
this pull request
Aug 28, 2026
…53) * docs: add backend i18n unification handoff Captures the full context, decisions, architecture, reference adopter (CPU temp), 21-touchpoint inventory, migration phases, and anti-patterns for unifying how Go backend messages/errors cross to the Vue frontend for translation. Triggered by CPU temp follow-ups (#48/#49/#50); the author plans to implement the unification later using this doc as the reference. * docs: update backend i18n unification handoff document for clarity and structure * refactor: remove obsolete documentation files * feat(i18n): unify backend error handling with structured codes Backend emits *errcode.Error via main.go ErrorFormatter; frontend routes all 48 catch sites through decodeError(err, t) util. pkg/errcode adds minimal Error type (code + params). 80 new error codes seeded in en.json + zh_Hant_HK.json. Confidence tests: decodeError (7), i18n-completeness (6) including errcode.New/Newf coverage grep. See BACKEND_I18N_HANDOFF.md (unstaged).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Verification
pm run type-check and
pm run lint pass