Repository navigation
fix(home): restore folder selection on phones and correct filing progress - #395
Conversation
…ress Show the folder picker when the browser supports directory selection. Use the filed count for the Filed meter so it matches the number beside it. Record the verified Home acceptance checks.
|
Automated review: REQUEST_CHANGES Keep the filed-count correction. The folder action needs to account for browsers that expose the directory attribute but open a file-only chooser. Weight: 35 product lines changed, 42 proof lines changed. The browser check exercises the visible folder action through encryption and staging. The component check catches a meter that counts skipped files as filed. Blocking · |
Some mobile browsers expose the directory input before their picker can return folders. Check the known browser fixes before showing the control.
Quality report
Gate: passedNothing found by knip. Proof weightProduct +68 lines against proof +64 lines (tests, specs). Measures on added lines
New duplicate code, exact token clones (jscpd) Test runtimeThis run against the median of the last 5 successful
Every table: this run's summary. |
|
Automated review: REQUEST_CHANGES The correction hides the broken picker on older iOS Safari. Chrome in desktop mode on a current iPad still needs a way to expose its working picker. Weight: 86 product lines changed and 86 proof lines changed. The proof covers distinct browser boundaries, the visible picker workflow and the filed count. Blocking · |
|
Automated review: APPROVE Ship. The picker uses an engine feature when the iPad user agent masks the OS version. Home hides the folder input when the action is unavailable, keeps file and zip selection available, and uses the cell’s filed count for the meter. Weight: 93 product lines changed and 78 proof lines changed. The proof covers browser capability boundaries, folder selection through staging, and a filing result with skipped files. |
Home offers folder selection on phones and desktops whose browsers support it. The Filed progress bar uses the same filed count as the text beside it.
The phone layout hid the folder picker even when the browser could open it. The progress bar included duplicates and files left out in its filed percentage.
Proof
node --import tsx --experimental-test-module-mocks --test src/app/exomem/home/__tests__/home-import.test.tsxpassed.Revert this PR to restore the previous picker visibility and meter. The change needs no schema update.
User note
Choose a folder from Home on a supported phone. The Filed progress bar now agrees with the filed count.
Home import OpenSpec tasks
Separate PR: Home acceptance fixes can roll out independently of Cloud storage admission.