Commit Graph

68 Commits

Author SHA1 Message Date
Emilia Allison 4c025d8cad
Clean up destination_plate 2023-05-22 13:30:02 -04:00
Emilia Allison 61ac574b70
Fix unchecked try_from 2023-05-22 13:29:19 -04:00
Emilia Allison a294cffd50
Glue source_plate to transfer_menu 2023-05-22 13:25:16 -04:00
Emilia Allison ae73d67924
Clean up source_plate 2023-05-22 12:22:22 -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 303831bda3
Remove dummy components 2023-05-21 12:48:42 -04:00
Emilia Allison 98038944f2
Wireframing and restructure 2023-05-21 12:45:12 -04:00
Emilia Allison 67738543cc
Fix drag issue
These few lines of code are going to plague this project.
Transiently, this solution doesn't seem fast enough and
will "forget" that the mouse button is being held during
a drag.
I'm using mouseenter instead of mouseover because it
should trigger less often---this ought to be more efficient(?).
2023-05-20 22:51:32 -04:00
Emilia Allison e0563d7b9b
Add dummy div to plate cells
This exists solely to have the hitbox
for the cells be rectangular while the
appearance of the cells is circular.
2023-05-20 21:38:52 -04:00
Emilia Allison 43331ff8f2
chore: format 2023-05-13 19:13:29 -04:00
Emilia Allison 94bb6b249d
Add tests for source_plate component 2023-05-11 20:39:43 -04:00
Emilia Allison b9cc4a6477
Cells can now have color changed from parent component 2023-05-11 18:39:25 -04:00
Emilia Allison 817b09b602
Make wells circles and change color defaults 2023-05-11 17:56:13 -04:00
Emilia Allison 0c2bbbdb27
Format and a comment 2023-05-11 17:51:09 -04:00
Emilia Allison 14df69db59
Initial 2023-05-11 17:49:03 -04:00