Commit Graph

18 Commits

Author SHA1 Message Date
Emilia Allison 2fd1b0ca77
Create new transfer 2023-05-27 13:12:58 -04:00
Emilia Allison 855506bd26
Fix tests for wasm32-unknown-unknown 2023-05-26 16:20:52 -04:00
Emilia Allison 32dd3814af
Allow changing source interleave
... and of course a fix to the
replicate math with a source interleave.
2023-05-25 12:29:17 -04:00
Emilia Allison aee565dbb3
Remove NewTransferState
It was bad not very good design!
Use CurrentTransfer instead.
2023-05-25 12:07:21 -04:00
Emilia Allison a1a0430ec3
Fix replicate with destination interleave 2023-05-25 11:43:01 -04:00
Emilia Allison 74fa50bc0c
Visualize transfers 2023-05-24 18:39:38 -04:00
Emilia Allison 6e8c1eff55
Only modify NewTransferState by reduce_mut 2023-05-24 15:49:07 -04:00
Emilia Allison 5be70675ee
Allow selection of plates in tree 2023-05-24 11:20:12 -04:00
Emilia Allison e0ff131cd7
Persist state on reload 2023-05-22 20:48:17 -04:00
Emilia Allison 00f39e636a
Highlight bad input regions
If an invalid region is inputted,
make it red.
2023-05-22 14:07:50 -04:00
Emilia Allison c3270d3c59
Elements for interleave in transfer_menu 2023-05-22 13:55:23 -04:00
Emilia Allison f8f29cfbf1
Glue destination plate, add selection behaviour 2023-05-22 13:45:48 -04:00
Emilia Allison a294cffd50
Glue source_plate to transfer_menu 2023-05-22 13:25:16 -04:00
Emilia Allison ba3eca603b
Complete port to yew
This is the biggest commit of all time.
Yew requires so much cloning smh
As a side note, if you drag to select the plate a lot,
it uses a lot of CPU resources.
2023-05-22 11:35:42 -04:00
Emilia Allison b97726c297
TryFrom (u8,u8,u8,u8) for RegionDisplay 2023-05-21 20:14:55 -04:00
Emilia Allison 6612e74b69
Function for taking number to letter representation 2023-05-21 20:10:13 -04:00
Emilia Allison 8598f09648
Struct for managing display of regions
TryFrom for (u8,u8,u8,u8) will be next commit :)
2023-05-21 18:05:46 -04:00
Emilia Allison 98038944f2
Wireframing and restructure 2023-05-21 12:45:12 -04:00