Make Copy to… and Cut to… the selection bar's actions
The selection bar offered Copy and Move, which only filled an in-app clipboard; the destination picker then lived behind an overflow menu, and Paste in the top bar. That made a copy a two-step detour through another folder - the thing M16's picker exists to avoid. - The bar's two verbs are now Copy to… and Cut to…, both opening the destination picker. - The clipboard state, Paste here, and the overflow's duplicate Copy to… / Move to… are removed. The picker's cut title and confirm are Cut to… / Cut here. - A copy still keeps the selection for a second destination; a cut clears it. Conflicts still ask before overwriting, naming the picked folder. - Five clipboard tests are removed; the mark, restart and undo tests now use the picker. BrowserTopBar's search and overflow sections are extracted so its two new detekt findings are fixed rather than baselined. Driven on the Xiaomi phone: Copy to… copied 120 x 16 MB through Internal storage -> AADemo -> Target and reported Copied 121 items to Target; Cut to… moved file001.bin and offered Undo; a name in the way raised Items already exist here; the top-bar overflow has no Paste. The foreground-service video was re-recorded against the new bar at 16.1 s. Verified: ./tools/verify.sh green, the code map current, 426 unit tests pass, and the video decodes as H.264 1080x2400 with no audio.
This commit is contained in:
@@ -105,9 +105,6 @@
|
||||
<string name="browser_action_new_folder">New folder</string>
|
||||
<string name="browser_action_sort">Sort</string>
|
||||
<string name="browser_action_details">Details</string>
|
||||
<string name="browser_action_copy">Copy</string>
|
||||
<string name="browser_action_cut">Move</string>
|
||||
<string name="browser_action_paste">Paste here</string>
|
||||
<!-- Compressing: the name, and whether to squeeze the contents. -->
|
||||
<string name="compress_dialog_title">Compress</string>
|
||||
<string name="compress_dialog_name">Archive name</string>
|
||||
@@ -115,13 +112,13 @@
|
||||
<string name="compress_dialog_hint">Off stores the files as they are: faster to build, and ready to copy off the phone.</string>
|
||||
<string name="compress_dialog_confirm">Compress</string>
|
||||
<string name="compress_dialog_cancel">Cancel</string>
|
||||
<!-- The two verbs that pick the destination instead of pasting into the folder on screen. -->
|
||||
<!-- The two verbs that pick the destination directly. -->
|
||||
<string name="browser_action_copy_to">Copy to…</string>
|
||||
<string name="browser_action_move_to">Move to…</string>
|
||||
<string name="browser_action_cut_to">Cut to…</string>
|
||||
<string name="transfer_picker_copy_title">Copy to…</string>
|
||||
<string name="transfer_picker_move_title">Move to…</string>
|
||||
<string name="transfer_picker_cut_title">Cut to…</string>
|
||||
<string name="transfer_picker_copy_here">Copy here</string>
|
||||
<string name="transfer_picker_move_here">Move here</string>
|
||||
<string name="transfer_picker_cut_here">Cut here</string>
|
||||
<string name="transfer_picker_up">Up</string>
|
||||
<string name="transfer_picker_cancel">Cancel</string>
|
||||
<string name="transfer_picker_empty">No folders here</string>
|
||||
|
||||
Reference in New Issue
Block a user