Egor Savkin
5c65815f76
Move dnd to dnd-kit to loose another 60Kb (but it doesn't work for now)
...
Signed-off-by: Egor Savkin <es@m-labs.hk>
2024-01-09 17:25:22 +08:00
Egor Savkin
aa78140aa3
Fix switches
...
Signed-off-by: Egor Savkin <es@m-labs.hk>
2024-01-09 14:13:13 +08:00
Egor Savkin
70b8dd1075
Use preact instead of react, reducing bundle size for >100KB
...
Signed-off-by: Egor Savkin <es@m-labs.hk>
2024-01-09 12:58:45 +08:00
Egor Savkin
fcf0f49816
Fix form submit
...
Signed-off-by: Egor Savkin <es@m-labs.hk>
2024-01-09 10:14:53 +08:00
Egor Savkin
d8bad3d7b4
Fix example for import
...
Signed-off-by: Egor Savkin <es@m-labs.hk>
2024-01-09 10:14:53 +08:00
Egor Savkin
e87c4a16a8
Add copy to clipboard button in ShowJSON
...
Signed-off-by: Egor Savkin <es@m-labs.hk>
2024-01-09 10:14:53 +08:00
Egor Savkin
83be26ecbb
Change JSON structure from array to object, so that we can add more fields later
...
Signed-off-by: Egor Savkin <es@m-labs.hk>
2024-01-09 10:14:53 +08:00
火焚 富良
963f342c89
Spare cards is always last
...
Also add warning if no cards were added
2024-01-09 10:14:53 +08:00
火焚 富良
a589c309cc
Notification badge on unviewed options
2024-01-09 10:14:53 +08:00
Egor Savkin
0ed9f730b2
Add prototype of the notification, fixes and animation needed
...
Signed-off-by: Egor Savkin <es@m-labs.hk>
2024-01-09 10:14:53 +08:00
Egor Savkin
c3e583d644
Revert legend
...
Signed-off-by: Egor Savkin <es@m-labs.hk>
2024-01-09 10:14:53 +08:00
Egor Savkin
161666b09c
Disable warnings and options for the spare cards crate mode
...
Signed-off-by: Egor Savkin <es@m-labs.hk>
2024-01-09 10:14:53 +08:00
Egor Savkin
2673f81526
Disable warnings and resources for standalone->spare cards
...
Signed-off-by: Egor Savkin <es@m-labs.hk>
2024-01-09 10:14:53 +08:00
Egor Savkin
a9e24c6202
Fix same options in different crates and drop to the backlog
...
Signed-off-by: Egor Savkin <es@m-labs.hk>
2024-01-09 10:14:53 +08:00
Egor Savkin
14c365b20f
Add legend to help users discover options
...
Signed-off-by: Egor Savkin <es@m-labs.hk>
2024-01-09 10:14:53 +08:00
Egor Savkin
a03a151c42
Modals style fixes
...
Signed-off-by: Egor Savkin <es@m-labs.hk>
2024-01-09 10:14:53 +08:00
Egor Savkin
c09d583fa6
Fix moving cards in carts, json importer, and further rerender fixes and optimizations
...
Signed-off-by: Egor Savkin <es@m-labs.hk>
2024-01-09 10:14:53 +08:00
Egor Savkin
2bfc16e3c0
Split Summary so that it rerenders only partially
...
Signed-off-by: Egor Savkin <es@m-labs.hk>
2024-01-09 10:14:53 +08:00
Egor Savkin
bf05594813
Set up preprocessor for conditional compilation
...
Signed-off-by: Egor Savkin <es@m-labs.hk>
2024-01-09 10:14:53 +08:00
Egor Savkin
25c4ff970d
Significantly reduce number of renders
...
Signed-off-by: Egor Savkin <es@m-labs.hk>
2024-01-09 10:14:53 +08:00
Egor Savkin
0e60eb9bce
Fix buttons colors
...
Signed-off-by: Egor Savkin <es@m-labs.hk>
2024-01-09 10:14:53 +08:00
Egor Savkin
07e01bcc93
Crates UI fixes
...
TODO ex .rfqFeedback fixes
Signed-off-by: Egor Savkin <es@m-labs.hk>
2024-01-09 10:14:53 +08:00
Egor Savkin
c7314801ed
Fix crate list expansion behavior
...
Signed-off-by: Egor Savkin <es@m-labs.hk>
2024-01-09 10:14:53 +08:00
Egor Savkin
3b1d9fcb56
Minor fixes
...
Signed-off-by: Egor Savkin <es@m-labs.hk>
2024-01-09 10:14:53 +08:00
Egor Savkin
ff7eac97dc
Restored all the functionality, but needs UI fixes
...
Signed-off-by: Egor Savkin <es@m-labs.hk>
2024-01-09 10:14:53 +08:00
火焚 富良
59f726e805
Start refactor of order form
2024-01-09 10:14:53 +08:00
火焚 富良
6b92bf9145
Make cards behavior working somewhat properly
2024-01-09 10:14:53 +08:00
Egor Savkin
ec2c0a3b80
Somewhat minimal working example
...
Signed-off-by: Egor Savkin <es@m-labs.hk>
2024-01-09 10:14:53 +08:00
Egor Savkin
9edf410e4d
Start refactor to state manager zustand
...
Signed-off-by: Egor Savkin <es@m-labs.hk>
2024-01-09 10:14:53 +08:00
Egor Savkin
9bdaca2ca9
Start adding the warnings
...
Signed-off-by: Egor Savkin <es@m-labs.hk>
2024-01-09 10:14:53 +08:00
Egor Savkin
94f321ecf7
Minimal summary and crate mode
...
Signed-off-by: Egor Savkin <es@m-labs.hk>
2024-01-09 10:14:53 +08:00
Egor Savkin
e6df70b96a
Add add/delete functionality to crates
...
Signed-off-by: Egor Savkin <es@m-labs.hk>
2024-01-09 10:14:53 +08:00
Egor Savkin
691e5bbd86
Minimal working multiple crates
...
Signed-off-by: Egor Savkin <es@m-labs.hk>
2024-01-09 10:14:53 +08:00
Egor Savkin
63d83b5e10
Add other warnings for the cards
...
Signed-off-by: Egor Savkin <es@m-labs.hk>
2024-01-09 10:14:53 +08:00
Egor Savkin
abb472f0ea
Minimal working warnings and resources
...
TODO:
* Add all other warnings for cards
* Add crate level warnings
* Add reminders to the bottom of the crate
* Refactor crate mode selection (???)
* Add resource consumers, instead of a bunch of nbrOccupiedSLots
Signed-off-by: Egor Savkin <es@m-labs.hk>
2024-01-09 10:14:53 +08:00
Egor Savkin
530be12334
Start refactoring warnings
...
Signed-off-by: Egor Savkin <es@m-labs.hk>
2024-01-09 10:14:53 +08:00
Egor Savkin
e8b1d70356
Refactor resource subsystem (still needs integration)
...
Signed-off-by: Egor Savkin <es@m-labs.hk>
2024-01-09 10:14:53 +08:00
Egor Savkin
da3f18d6d9
Slightly reduce dependencies
...
Signed-off-by: Egor Savkin <es@m-labs.hk>
2024-01-09 10:14:53 +08:00
Egor Savkin
ecbbd6898d
Split components into separate files
...
Signed-off-by: Egor Savkin <es@m-labs.hk>
2024-01-09 10:14:53 +08:00
Egor Savkin
49ef25b5c3
Demangle email addresses on the site
...
Signed-off-by: Egor Savkin <es@m-labs.hk>
2023-11-29 17:21:33 +08:00
Egor Savkin
9966593166
Add options for the cards ( #93 )
...
Closes #85
Closes #80
Co-authored-by: Egor Savkin <es@m-labs.hk>
Co-committed-by: Egor Savkin <es@m-labs.hk>
2023-11-28 15:32:34 +08:00
Egor Savkin
f8c19cf9b9
Update funding design
...
Wrap each funder into the horizontal card with logo and description, increase margins for platinum/gold/... headers
Signed-off-by: Egor Savkin <es@m-labs.hk>
2023-11-20 14:32:50 +08:00
Egor Savkin
a93f210c92
Update icons for BNC cards - Sampler, IDC and TTL
...
Make connectors same across cards and adjust labels to fit them
Signed-off-by: Egor Savkin <es@m-labs.hk>
2023-11-17 12:05:17 +08:00
Egor Savkin
a5b217c183
Fix hover logic on touchables
...
* fix cards removal
* fix cards progress bar overlay
* fix cards warning overlay
Signed-off-by: Egor Savkin <es@m-labs.hk>
2023-11-07 14:59:20 +08:00
Egor Savkin
c34b1d9e4b
Optimize preview with pngquant 256
...
Signed-off-by: Egor Savkin <es@m-labs.hk>
2023-10-17 14:04:54 +08:00
Egor Savkin
026c3c3108
Add photos for Thermostat EEM ( @mwojcik )
...
Signed-off-by: Egor Savkin <es@m-labs.hk>
2023-10-17 14:04:54 +08:00
Egor Savkin
5d298b3325
Fix card at index 0 being not addable
...
Signed-off-by: Egor Savkin <es@m-labs.hk>
2023-10-11 12:15:12 +08:00
Egor Savkin
fe26aa890d
Update shuttler to have one mandatory EEM and clock source
...
Signed-off-by: Egor Savkin <es@m-labs.hk>
2023-10-11 11:38:00 +08:00
Sebastien Bourdeauducq
896946336b
Shuttler precisions
2023-10-11 11:04:33 +08:00
Egor Savkin
da74bb1d8d
Add Shuttler to the shop ( #98 )
...
Closes #95
Reviewed-on: M-Labs/web2019#98
Co-authored-by: Egor Savkin <es@m-labs.hk>
Co-committed-by: Egor Savkin <es@m-labs.hk>
2023-10-11 11:01:26 +08:00