Commit Graph

316 Commits

Author SHA1 Message Date
Egor Savkin 15d9124025 Cache total price calculation
Signed-off-by: Egor Savkin <es@m-labs.hk>
2024-02-15 12:17:19 +08:00
Egor Savkin 4527189994 Add flexible crate options
Signed-off-by: Egor Savkin <es@m-labs.hk>
2024-02-15 12:17:19 +08:00
Egor Savkin bc81035555 Prototype crate and order options
Signed-off-by: Egor Savkin <es@m-labs.hk>
2024-02-15 12:17:19 +08:00
Egor Savkin cbe61efc1d Delete idc-mcx adapter
Signed-off-by: Egor Savkin <es@m-labs.hk>
2024-02-15 11:38:14 +08:00
Sébastien Bourdeauducq ad262c6657 avoid uncommon/incorrect 'TEC chip' terminology 2024-02-07 10:31:53 +08:00
Sébastien Bourdeauducq 3fb2a219de fix fan tray price and description 2024-01-26 15:47:30 +08:00
Egor Savkin ddd8b2d894 Add fan tray option to the crate
Signed-off-by: Egor Savkin <es@m-labs.hk>
2024-01-25 17:10:14 +08:00
Egor Savkin 3366f80ed7 Fix reminder background color
Signed-off-by: Egor Savkin <es@m-labs.hk>
2024-01-23 16:30:27 +08:00
Egor Savkin 9d5ed66985 Do not show reminders in summary
Signed-off-by: Egor Savkin <es@m-labs.hk>
2024-01-23 11:44:01 +08:00
Egor Savkin ca2eb29fbf Alignment fixes, remove price of spare cards, reworded the description phrase,
Signed-off-by: Egor Savkin <es@m-labs.hk>
2024-01-23 11:36:56 +08:00
Egor Savkin 7ceba1d461 Extend shop description to 80% and fix notification on mobiles when sidemenu is open
Signed-off-by: Egor Savkin <es@m-labs.hk>
2024-01-15 15:51:04 +08:00
Egor Savkin 4f702e9064 Remove delete crate from spare cards and add crate numbers to the summary
Signed-off-by: Egor Savkin <es@m-labs.hk>
2024-01-15 13:01:27 +08:00
Egor Savkin 6d6809af7f Show tooltip instead of badge by default
Signed-off-by: Egor Savkin <es@m-labs.hk>
2024-01-15 12:28:07 +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: #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
Sebastien Bourdeauducq 320665c3bd cleanup 2023-10-10 17:53:25 +08:00
Sebastien Bourdeauducq a6faaecb8b clarify external PSU 2023-10-10 17:51:18 +08:00
Egor Savkin 393fc8e3c9 Add EEM power module to the shop
Co-authored-by: Egor Savkin <es@m-labs.hk>
Co-committed-by: Egor Savkin <es@m-labs.hk>
2023-10-10 17:34:52 +08:00
Egor Savkin 212a7743eb Update bundle file
Signed-off-by: Egor Savkin <es@m-labs.hk>
2023-08-22 16:34:12 +08:00
Egor Savkin 27c7db1df4 Allow duplicating cards in the backlog
Signed-off-by: Egor Savkin <es@m-labs.hk>
2023-08-22 16:18:22 +08:00
Egor Savkin 4dc15f5633 Fix `Show JSON` button functionality regression introduced with 0e9f822536
Signed-off-by: Egor Savkin <es@m-labs.hk>
2023-08-22 16:14:11 +08:00
Egor Savkin 52afd69445 Fix shop import json buttons spacing
Signed-off-by: Egor Savkin <es@m-labs.hk>
2023-08-10 12:29:40 +08:00
Egor Savkin 5d69e9cef5 Remove weird animations from backlog
Signed-off-by: Egor Savkin <es@m-labs.hk>
2023-08-10 12:29:40 +08:00
Egor Savkin 77e3ce05aa Fix unused css class
Signed-off-by: Egor Savkin <es@m-labs.hk>
2023-08-10 12:29:40 +08:00
Egor Savkin ad91b12879 Fix react-beautiful-dnd warning in development
Signed-off-by: Egor Savkin <es@m-labs.hk>
2023-08-10 12:29:40 +08:00
Egor Savkin 0e9f822536 Fix React warnings in development
Signed-off-by: Egor Savkin <es@m-labs.hk>
2023-08-10 12:29:40 +08:00
Egor Savkin b3964ec2c9 shop: add Pounder (#87)
Closes #42

Reviewed-on: #87
Co-authored-by: Egor Savkin <es@m-labs.hk>
Co-committed-by: Egor Savkin <es@m-labs.hk>
2023-08-10 12:27:06 +08:00
Sebastien Bourdeauducq 23d404a7ce improved crate pricing 2023-08-09 10:00:50 +08:00
Sebastien Bourdeauducq 752d2fb177 bye bye kam hoi 2023-07-14 10:04:02 +08:00
Egor Savkin 053d31ddce Optimize webpack usage
Signed-off-by: Egor Savkin <es@m-labs.hk>
2023-07-12 13:16:44 +08:00
Egor Savkin ddd49b71af Fix solvespace 3d models display
Signed-off-by: Egor Savkin <es@m-labs.hk>
2023-07-12 12:46:39 +08:00
Egor Savkin 61d580fda4 Bring back source map for bootstrap stylesheet
Signed-off-by: Egor Savkin <es@m-labs.hk>
2023-07-11 16:23:37 +08:00
Egor Savkin a377ef9ab3 Fix left/right -> start/end, and other styles issues and adjustments
Signed-off-by: Egor Savkin <es@m-labs.hk>
2023-07-11 13:50:32 +08:00
Egor Savkin 76dc20c798 Fix dropdown, accordion and modal
Signed-off-by: Egor Savkin <es@m-labs.hk>
2023-07-10 17:46:45 +08:00
Egor Savkin 85429b64f8 Add webpack
Signed-off-by: Egor Savkin <es@m-labs.hk>
2023-07-10 16:32:09 +08:00
Egor Savkin e5d754d2bc Just update dependencies, without any migration/bugfixing
Signed-off-by: Egor Savkin <es@m-labs.hk>
2023-07-10 14:55:19 +08:00
Egor Savkin 73e396a633 Fix incorrect min-height for the crate
Signed-off-by: Egor Savkin <es@m-labs.hk>
2023-07-07 16:30:52 +08:00
Egor Savkin 48eb492410 Fix incorrect vertical size of the shop body, which lead to additional scrolling panel
Signed-off-by: Egor Savkin <es@m-labs.hk>
2023-07-05 17:50:41 +08:00
Egor Savkin 4141e5b315 add 8453 Thermostat EEM to the shop and control loops (#71)
Co-authored-by: Egor Savkin <es@m-labs.hk>
Co-committed-by: Egor Savkin <es@m-labs.hk>
2023-07-05 12:36:06 +08:00
Egor Savkin 07b747efd5 Update SMA-IDC, MCX-IDC and BNC-IDC adapters graphics (#66)
Closes #58
Co-authored-by: Egor Savkin <es@m-labs.hk>
Co-committed-by: Egor Savkin <es@m-labs.hk>
2023-06-30 10:54:45 +08:00
Sebastien Bourdeauducq 829680aa1f shop: punctuation 2023-06-30 10:18:35 +08:00
Sebastien Bourdeauducq a18147c088 shop: fix naming 2023-06-30 10:17:41 +08:00
Egor Savkin 53a6d3f378 shop: group cards
Closes #30
Co-authored-by: Egor Savkin <es@m-labs.hk>
Co-committed-by: Egor Savkin <es@m-labs.hk>
2023-06-30 10:10:15 +08:00
Egor Savkin d9ba17ad3a Add Almazny to the shop
Signed-off-by: Egor Savkin <es@m-labs.hk>
2023-06-16 16:29:41 +08:00
Sebastien Bourdeauducq 6dec17d998 improve logo resolution 2023-03-07 14:27:00 +08:00
Sebastien Bourdeauducq 6337553556 update logo 2023-03-07 14:23:45 +08:00
Sebastien Bourdeauducq 43450f7801 remove obsolete file 2023-03-07 13:59:33 +08:00
Sebastien Bourdeauducq 16e165fd32 add new office view 2022-09-29 18:27:35 +08:00
Sebastien Bourdeauducq 62ede45936 grammar 2022-08-25 12:45:12 +08:00
Sebastien Bourdeauducq 3c12a03a0e solvespace: fix broken link 2022-01-20 10:18:29 +08:00
occheung 9eed389c6e shop_data: add datasheet entries if available 2022-01-19 14:27:48 +08:00
occheung 62286e9ea8 shop: implement link to datasheet if available 2022-01-19 14:27:09 +08:00
occheung 1b47bdbfd9 docs: add datasheets
datasheets version: 73714d0028
2022-01-19 12:45:58 +08:00
occheung a2217c1d5b css: add pdf icon class 2022-01-18 17:19:43 +08:00
Sebastien Bourdeauducq 0f6257f7d3 koster -> grabber 2021-11-22 12:35:54 +08:00