Files
infinite-persistenceandTom Moor c98d6aa33a Allow user to select doc-copy destination (#8030)
* DocumentExplorer: make style extensible

* Allow user to select doc-copy dest

The change in `documentDuplicator` essentially alters the fallback from "parent" to "top of collection". But there is only 1 place that uses it so far, so I think it's fine to support this PR.

In the next commit, the caller side will restore the default to "parent".

* Auto select parent as initial target (to retain existing behavior)

Otherwise, user would need to always search/expand the tree. I have a feeling that people might want the last selection to be persistent, but ignoring that for now.

The 50ms timeout feels dirty, but 0 was too fast, at least on my machine. I couldn't find anything in react-window for a "ready" flag.

* Rename: DuplicateDialog -> DocumentCopy

This begins the switch to DocumentCopy's look in the next few commits

* Revert DocumentExplorer style override

No longer needed since we won't be using it under a ConfirmationDialog anymore in the next commit.

* Switch to DocumentMove's style

* initialSelectionId -> defaultValue

---------

Co-authored-by: Tom Moor <tom.moor@gmail.com>
2024-11-29 10:33:38 -05:00
..
2024-09-03 22:39:22 -04:00
2024-09-21 09:03:20 -04:00
2024-11-02 10:58:03 -07:00
2024-11-08 21:35:55 -05:00
2024-02-05 21:59:14 -05:00
2024-09-07 15:15:35 -07:00
2023-04-08 08:16:05 -07:00
2023-02-25 12:03:05 -08:00
2024-07-10 08:27:43 -04:00
2024-11-02 10:58:03 -07:00
2021-11-29 06:40:55 -08:00
tsc
2024-01-06 11:59:01 -05:00
tsc
2024-10-19 12:37:17 -04:00
2023-09-23 14:31:55 -04:00
2024-08-09 16:11:35 +01:00
2024-02-01 22:49:16 -05:00
2022-11-28 15:30:50 -08:00
2021-11-29 06:40:55 -08:00
2024-06-23 06:31:18 -07:00
2024-09-30 17:16:35 -07:00
2022-06-28 22:44:50 -07:00