Repository navigation
feat(settings): test device alerts and keep the screen on - #148
Merged
Merged
Conversation
|
Navigate logical layers of code changes, visualize relationships, and explore their blast radius. Note Currently processing new changes in this PR. This may take a few minutes, please wait... ⚙️ Run configurationConfiguration used: Repository: devswha/herdr-web-ui/.coderabbit.yaml Review profile: CHILL Plan: Advanced Run ID: ⛔ Files ignored due to path filters (5)
📒 Files selected for processing (17)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Comment |
devswha
force-pushed
the
feat/device-settings
branch
from
September 29, 2026 06:27
eee87d0 to
49d7a29
Compare
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.
Change
Settings → Alerts now has Send test for this device's existing push subscription. It distinguishes sent, missing subscription and failed delivery, and offers explicit re-enabling when the subscription is missing. Testing does not silently repair a stale subscription or enable alerts that were switched off.
Settings → Phone adds Keep screen on, off by default. It requests a screen wake lock while a terminal or chat pane is open, releases it on hiding/sign-out/no pane, and reacquires it when the page returns. Late requests are released after cleanup; unsupported browsers and browser refusal leave the app usable.
Closes #138. Closes #137.
Depends on #147: this PR is based on
feat/i18n-ja-zhand includes Korean, Japanese and Simplified Chinese translations for the new controls. The Screen Wake Lock lifecycle follows the W3C API.Validation
bun run generate:types --check,bun run typecheck,bun run build— pass.bun run test:unit— 431 pass.bun run test:integration— 121 pass, isolated herdr session.bun scripts/ui-regression.ts— pass, including push success/404/502/local-missing/recovery/off and wake-lock opt-in/hide/return/persistence/refusal/unsupported/no-pane checks.bun scripts/file-viewer-regression.ts— pass.Screenshots from isolated test sessions: