Commit Graph

141 Commits

Author SHA1 Message Date
Emilia Allison 768b88a562
More sensible defaults for Transfer struct 2023-06-08 10:56:42 -04:00
Emilia Allison 2579f2e965
Fix no color when only one transfer 2023-06-08 10:45:58 -04:00
Emilia Allison 507ae44df2
Consistent colors between source/dest 2023-06-08 10:45:44 -04:00
Emilia Allison b99a8ac1e3
Change style for selected wells 2023-06-08 10:42:09 -04:00
Emilia Allison 87c64d488e
Remove unused CSS 2023-06-07 20:57:40 -04:00
Emilia Allison 37da146940
Format and clean warnings 2023-06-07 17:17:40 -04:00
Emilia Allison afc06d7dd5
Add option to change volume 2023-06-07 17:08:43 -04:00
Emilia Allison 85670fe86e
Format
(I should set up `cargo fmt` as a commit hook)
2023-06-07 16:14:19 -04:00
Emilia Allison 658ab3082a
Add tests for transfer_region
Resolves #11
2023-06-07 16:07:07 -04:00
Emilia Allison 6e6854a942
Styling for modals
Resolves #6
2023-06-06 18:52:37 -04:00
Emilia Allison 659c27c4e5
Close buttons for dialogs
Resolves #4
2023-06-06 18:46:04 -04:00
Emilia Allison 421d937037
Fix bug for new plate modal
The close callback wasn't triggered when the
modal's onclose event fired.
2023-06-06 18:45:38 -04:00
Emilia Allison 5074b52369
Highlight wells used in transfers 2023-06-05 21:33:23 -04:00
Emilia Allison 0e98e63c63
Allow renaming plates 2023-06-05 21:28:56 -04:00
Emilia Allison 2be8ad8661
Implement import 2023-06-05 18:55:21 -04:00
Emilia Allison ce523717ee
Export to JSON
import is not implemented
2023-06-05 17:14:02 -04:00
Emilia Allison ecdbb81117
Expand export menu 2023-06-05 16:54:15 -04:00
Emilia Allison de2b592fae
Disable scrollbar on viewport 2023-06-05 16:53:58 -04:00
Emilia Allison b14278dda8
Avoid export of an empty file 2023-06-05 14:56:01 -04:00
Emilia Allison 3bd3873043
Tweak to upper menu
Changed "save" to "export" for clarity
2023-06-05 14:52:51 -04:00
Emilia Allison 44574db301
Means to reset local state
Resolves #9
2023-06-05 14:38:29 -04:00
Emilia Allison 5153b67fe4
fix: Selecting a plate resets both regions
Old behaviour only reset one, I don't think
this is the intuitively expect behaviour;
easy to change back if we want this instead.
2023-06-05 14:31:50 -04:00
Emilia Allison 52baa03d79
Export to CSV 2023-06-05 14:25:47 -04:00
Emilia Allison 09d99e27a0
Merge pull request #12 from em-ilia/yew
Yew
2023-06-02 16:28:02 -04:00
Emilia Allison 83e8e3bf36
Styling update 2023-06-02 16:26:20 -04:00
Emilia Allison ecb3dc2945
Select new transfer on creation 2023-06-01 13:51:25 -04:00
Emilia Allison d5d26facde
Add, modify, delete transfers 2023-06-01 13:04:03 -04:00
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 ebb8bf70af
Fix replicates (again) 2023-05-25 16:45:20 -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 cd1f72fd9d
Debug for many structs 2023-05-24 16:10:51 -04:00
Emilia Allison 0414ddba3a
Give plate components their instance 2023-05-24 16:10:33 -04:00
Emilia Allison 6e8c1eff55
Only modify NewTransferState by reduce_mut 2023-05-24 15:49:07 -04:00
Emilia Allison 1b0be78e85
Plate switching! 2023-05-24 11:42:54 -04:00
Emilia Allison 5be70675ee
Allow selection of plates in tree 2023-05-24 11:20:12 -04:00
Emilia Allison 85f3fbd113
Close and delete plates 2023-05-23 21:08:32 -04:00
Emilia Allison 5c3fa24f20
Backdrop for new plate modal 2023-05-22 20:48:47 -04:00
Emilia Allison e0ff131cd7
Persist state on reload 2023-05-22 20:48:17 -04:00
Emilia Allison 282369346c
New plate dialog 2023-05-22 18:31:02 -04:00
Emilia Allison ed816d3bbe
Basic tree view, and adding plate instances
It's... not a tree?
2023-05-22 18:11:49 -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 dbb13bde58
Allow single well selection in source 2023-05-22 13:46:29 -04:00
Emilia Allison f8f29cfbf1
Glue destination plate, add selection behaviour 2023-05-22 13:45:48 -04:00
Emilia Allison 7490a319c7
Update Cargo.toml 2023-05-22 13:45:20 -04:00
Emilia Allison 4c025d8cad
Clean up destination_plate 2023-05-22 13:30:02 -04:00