Repository navigation
fix(mobile): show which folder the picker will authorize - #2421
Conversation
After backing out of a registered folder's confirm sheet, the primary button still authorized the folder being browsed (its parent) with no visible target, and Android QA granted the parent by mistake. Both folder sheets now show "Will authorize: <path>" above the actions. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01GzQmtMAahcsx9doCNJgFLe
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01GzQmtMAahcsx9doCNJgFLe
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 35 minutes. View limit details
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
|
Android phone result: PASS (Xiaomi, Android 16 / HyperOS 3, isolated QA Host and release build of main with this PR) Screenshots: 2421-android-folders/phone (commit e9c856d)
Each theme granted only a newly created empty test folder; the path was correct both times. Both grants were revoked and the folder deleted. Generated by Claude Code |
Requested by Vain · project thread
Why the change
Android QA of #2392 (comment) tapped a registered folder, pressed Back on its confirm sheet, then pressed Authorize this folder. That button grants the folder being browsed (the parent,
D:\code), but nothing on screen said so, and the parent was granted by mistake (revoked within a minute, nothing changed).Issue / Discussion: Refs #2392.
Special things to note
Will authorize: <full path>/将授权:<完整路径>above the actions. I first tried putting the folder name on the button, but a long name pushed Cancel off screen, so the path sits on its own wrapping line and the button label stays short.apps/mobile/test/grant-request-card.test.tstaps the registered row, goes Back, and asserts the sheet names/Users/qa, not the registered path; mobilegrant-request-cardandbot-settingstests pass, andpnpm lint,pnpm format:checkand the mobile typecheck pass.node scripts/e2e-mobile-folder-browse-web.mjspassed with a realdeepseek-v4.1-flashrequest and a newnamesTargetcheck. Native Android recheck is queued with the Android thread after merge.Change outline
Expo Web export at 390×844; layout evidence, not native.
Generated by Claude Code