Conversation
…e lock on Android Agent-Logs-Url: https://github.com/gfauredev/LogOut/sessions/ec2dd9cd-a427-4c82-b793-79c65466f9bb Co-authored-by: gfauredev <19304085+gfauredev@users.noreply.github.com>
Agent-Logs-Url: https://github.com/gfauredev/LogOut/sessions/ec2dd9cd-a427-4c82-b793-79c65466f9bb Co-authored-by: gfauredev <19304085+gfauredev@users.noreply.github.com>
Copilot created this pull request from a session on behalf of
gfauredev
April 8, 2026 18:13
View session
📊 Coverage ReportLines: 3754/5005 (75.004995004995%) ⏱️ Tests: 255 tests in 0.585s
|
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.
Replaces the session delete confirmation modal with a 3-second hold-to-delete pattern. Applies the same UX to active-session exercise log delete buttons. On Android, acquires
PROXIMITY_SCREEN_OFF_WAKE_LOCKwhile a session is active over the lock screen, so pocketing the phone turns off the screen and disables touch without user interaction.Hold-to-Delete
HoldDeleteButtoncomponent (src/components/hold_delete.rs) wraps 🗑️ in adiv.hold-delwith an SVG stroke-dashoffset progress ringonpointerdownspawns an async task: 30 × 100 ms ticks, updating aprogresssignal;onpointerup/onpointerleavebump a generation counter to cancel the task and show a toast hintSessionCardmodal (backdrop +<dialog>) removed;CompletedExerciseLogimmediate delete replacedhold-to-delete-hinttranslation key added toen,fr,es.hold-delCSS added to_component.scss(relative wrapper + rotating SVG ring)Android Proximity Wake Lock
static PROXIMITY_WAKE_LOCK: Mutex<Option<GlobalRef>>added alongside the existingSCREEN_WAKE_LOCKset_active_session_lock_screen(true)now also acquiresPowerManager.PROXIMITY_SCREEN_OFF_WAKE_LOCK(0x20): Android automatically dims the screen and blocks touch when proximity fires, restores both when pocket is clearedset_active_session_lock_screen(false)releases both the screen and proximity wake locksEngineering Principles
scope is focused (no unrelated dependency updates or formatting)
README's Engineering PrinciplesCI/CD Readiness
feat/…,fix/…,refactor/…, …dx fmt; cargo fmtnix flake checkssucceeds without warningsdx buildwith necessary platform flags succeedscargo clippy -- -D warnings -W clippy::all -W clippy::pedanticproduces zero warnings
cargo llvm-cov nextest --ignore-filename-regex '(src/components/|\.cargo/registry/|nix/store)'maestro test --headless maestro/webmaestro test --headless maestro/android