Commit graph

27 commits

Author SHA1 Message Date
d7c070aad8
Convert to workspace with both deja-vu and pe-menu 2024-11-21 05:34:10 -08:00
2266da9106
Apply Clippy pedantic recommendations 2024-11-17 16:12:04 -08:00
2427d24980
Apply Clippy recommendations 2024-11-17 15:17:07 -08:00
e40003482d
Improve error handling in Tasks 2024-11-17 14:37:35 -08:00
4e80badc92
Move fast, break things (round 3?)
- Move sequential items to Tasks and leave async in Actions
- Move main control of disk_list (Arc<Mutex>) to Tasks
  This allows updates to happen AFTER I/O events (clone, update dest,
etc)
- Finally got SelectParts to use the actual state of the disks
post-clone
- Broke Tasks somewhere - bcdedit is never called despite being added to
the VecDeque
- Probably more
2024-11-16 23:53:55 -08:00
87ec05126b
Ignore Enter presses during Pre/Mid/Post Clone 2024-11-16 04:59:22 -08:00
61e539e071
Refactored to add command and diskpart script support
Replaced previous background task setup to ensure tasks are run
sequentially and not in parallel
2024-11-16 04:09:56 -08:00
c9884d5b6d
Show boot/OS partitions during SelectParts 2024-11-14 05:50:30 -08:00
2a5167bf52
Refactor PostClone sections
Added a new Mode to handle an error last screen instead of complete.

This avoids running commands with unexpected arguments
2024-11-11 00:34:45 -08:00
dd03962c84
Drop use of Option for Partition fields
This simplifies the code quite a bit and the Option<T> logic is only
used for string parsing.  s.is_empty() is just fine in this case IMO.
2024-11-10 23:10:26 -08:00
1e223aa56a
Use usize for Disk & Partition id values 2024-11-10 22:42:47 -08:00
92e2e53b16
Add disk helper functions 2024-11-10 18:47:12 -08:00
14df5b82ce
Add clone and Pre/Post actions 2024-11-09 23:36:01 -08:00
a2cfe4baf8
Rename variable names to match usage
Disk/Partition IDs aren't necessarily going to match the Vec index
2024-11-09 23:30:43 -08:00
a89f75d490
Move UpdateDestDisk to appropriate position
i.e. AFTER the clone tool is run
2024-11-09 20:36:37 -08:00
da6c7f16fb
Add Command and Diskpart actions 2024-11-09 20:05:21 -08:00
1f8c99d6ba
Add partition selection sections 2024-11-09 19:36:17 -08:00
2f1f04dcab
Add remaining modes
- Refactored to use more pattern matching instead of if/then blocks
- Fixed a bug in left.rs that always used the disk list
2024-11-04 23:33:02 -08:00
9414f873bd
Add install driver sections 2024-11-03 21:08:59 -08:00
c8faa283c8
Add multiple lines and color support for popups 2024-11-03 18:06:16 -08:00
c62c6c751c
Run get_disks() in the background using a thread
Allows app interaction while the scan is running
2024-11-03 17:49:41 -08:00
7d4f28f950
Move fast, break things
Data structures and logic was changing very fast.  Don't have the time
to break downt the individual sections ATM.  Sorry future reader (me).
2024-11-03 17:49:30 -08:00
31de043b71
Add GPL headers to source files 2024-11-01 21:56:07 -07:00
4d1ce4c108
Add initial Home/Screen switching code 2024-11-01 21:34:25 -07:00
7458699859
Add remaining UI section templates
Actual logic needs re-added
2024-10-30 00:54:44 -07:00
b999c1ee90
Add initial UI sections from previous build 2024-10-30 00:02:04 -07:00
666004901f
Initial commit with new ratatui template 2024-10-21 19:42:59 -07:00