Commit Graph

102 Commits

Author SHA1 Message Date
Emilia Allison a710054a98
Merge from import_from_csv feature branch
Of course, there were other features that got tacked on...
Squashed commit of the following:

commit 3ee3bd2dab
Author: Emilia <contact@emiliaallison.com>
Date:   Fri Dec 29 19:12:16 2023 -0500

    Superior clipboard manipulation

    Won't work on non-https connections, but actually works...

commit 08f647cd01
Author: Emilia <contact@emiliaallison.com>
Date:   Fri Dec 29 18:50:01 2023 -0500

    Utility for copying plates as image

commit 3456be2e9a
Author: Emilia <contact@emiliaallison.com>
Date:   Fri Dec 29 17:46:38 2023 -0500

    Change wording in options menu

    Father suggests that this wording is more clear to the end user.
    I agree!

commit 4c79cc0b4d
Author: Emilia <contact@emiliaallison.com>
Date:   Fri Dec 29 18:20:00 2023 -0500

    Set default plate format to 96 well

commit 056688c4ec
Author: Emilia <contact@emiliaallison.com>
Date:   Fri Dec 29 18:12:00 2023 -0500

    Implement in_transfer hashes toggle in plates

commit 4937d4ad28
Author: Emilia <contact@emiliaallison.com>
Date:   Fri Dec 29 18:11:00 2023 -0500

    Preferences menu and toggle for in_transfer hashes

commit 0101846b52
Author: Emilia <contact@emiliaallison.com>
Date:   Fri Dec 29 18:10:00 2023 -0500

    Add preferences struct to main state

commit ec37887c2f
Author: Emilia <contact@emiliaallison.com>
Date:   Fri Dec 29 18:05:00 2023 -0500

    Squashed commit of the following:

    commit 5e1137c460
    Author: Emilia <contact@emiliaallison.com>
    Date:   Fri Dec 29 18:03:00 2023 -0500

        Fix: indexing error w.r.t. logarithm argument

    commit 535b14a586
    Author: Emilia <contact@emiliaallison.com>
    Date:   Fri Dec 29 18:02:00 2023 -0500

        Space colors evenly, consistently, etc

        Colors should now:
        	- Not change if new transfers are added
        	- Be evenly spaced throughout the palette
        	- Be persistent across refreshes

    commit 6e08f47955
    Author: Emilia <contact@emiliaallison.com>
    Date:   Fri Dec 29 18:01:00 2023 -0500

        Add palette function for ordered ids

        Given an id and a list of sorted ids, yields a color

    commit 88e838e102
    Author: Emilia <contact@emiliaallison.com>
    Date:   Fri Dec 29 18:00:00 2023 -0500

        Switch to v7 UUIDs from v4

        v7 UUIDs are timestamp based and thus we can establish a useful
        total ordering over them; will base colors on this

commit 85d4b30d47
Author: Emilia <contact@emiliaallison.com>
Date:   Tue Oct 24 21:18:10 2023 -0400

    Update README.md

    Updated info about import/export, including the new Import Transfer from CSV feature.

commit 11a561c1d4
Author: Emilia <contact@emiliaallison.com>
Date:   Tue Oct 24 20:32:51 2023 -0400

    Add text to button

commit 562dc2adf6
Author: Emilia <contact@emiliaallison.com>
Date:   Tue Oct 24 20:32:40 2023 -0400

    Change to make colors more evenly distributed

commit 6b09aad289
Author: Emilia <contact@emiliaallison.com>
Date:   Tue Oct 24 19:27:02 2023 -0400

    Implementation 1

commit a9e5f05fd9
Author: Emilia <contact@emiliaallison.com>
Date:   Tue Oct 24 17:18:45 2023 -0400

    Hide parts of transfer menu when Custom transfer selected

commit db345bfbb5
Author: Emilia <contact@emiliaallison.com>
Date:   Tue Oct 24 17:18:08 2023 -0400

    delete weird whitespace from Cargo.toml

commit edcc3528aa
Author: Emilia <contact@emiliaallison.com>
Date:   Tue Oct 24 16:41:58 2023 -0400

    First implementation of custom region type

commit 9a3a10c8b4
Author: Emilia <contact@emiliaallison.com>
Date:   Tue Oct 24 16:21:30 2023 -0400

    Transfer region no longer copy
2023-12-29 20:58:52 -05:00
Emilia Allison 6aee3ded2c
chore: clippy & fmt 2023-06-15 22:23:12 -04:00
Emilia Allison 28c1716f17
Make colors more vibrant 2023-06-13 19:39:18 -04:00
Emilia Allison cf7860c5c5
Use UUID to calculate colors
Ensures that a transfer will always be represented
by the same color.
2023-06-13 19:32:39 -04:00
Emilia Allison 43391850e0
Purge transfers on plate deletion 2023-06-13 17:12:25 -04:00
Emilia Allison 6a5b1ae6f2
Add tooltip for wells
Currently shows which transfers are using a well
2023-06-13 17:04:22 -04:00
Emilia Allison 531c4159b1
Specific styling for very large plates 2023-06-13 15:51:23 -04:00
Emilia Allison d8ab91908c
Consider width in plate height calculation 2023-06-13 13:09:10 -04:00
Emilia Allison db4ecdaf50
Enable all plate types 2023-06-13 13:08:57 -04:00
Emilia Allison 56484ec870
Fix miniscule column/row headers 2023-06-13 12:51:16 -04:00
Emilia Allison 9275a866d0
Dynamic sizing of plate cells
Calculates available size and allocates
2023-06-13 12:02:32 -04:00
Emilia Allison c27693b7fb
Pad column headers 2023-06-13 11:15:39 -04:00
Emilia Allison dbb282f0c9
Automatically start new transfer on save
If we save a new transfer, then we presumably
do not wish to edit it again.
2023-06-13 11:10:54 -04:00
Emilia Allison dd479868cc
Make colors consistent regardless of # transfers 2023-06-13 11:05:40 -04:00
Emilia Allison c88a34595e
i love clippy 2023-06-08 11:58:12 -04:00
Emilia Allison af5bbd466c
format 2023-06-08 11:14:50 -04:00
Emilia Allison c8e51e2440
Add row and column headers to plates 2023-06-08 11:14:15 -04:00
Emilia Allison 43f17f0d6a
Prevent error on upper case region entry 2023-06-08 11:00:14 -04:00
Emilia Allison e2f28f818b
Prevent empty transfer names 2023-06-08 10:59:47 -04:00
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 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 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 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 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