Commit Graph

189 Commits

Author SHA1 Message Date
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
bf05594813 Set up preprocessor for conditional compilation
Signed-off-by: Egor Savkin <es@m-labs.hk>
2024-01-09 10:14:53 +08:00
25c4ff970d Significantly reduce number of renders
Signed-off-by: Egor Savkin <es@m-labs.hk>
2024-01-09 10:14:53 +08:00
0e60eb9bce Fix buttons colors
Signed-off-by: Egor Savkin <es@m-labs.hk>
2024-01-09 10:14:53 +08:00
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
c7314801ed Fix crate list expansion behavior
Signed-off-by: Egor Savkin <es@m-labs.hk>
2024-01-09 10:14:53 +08:00
3b1d9fcb56 Minor fixes
Signed-off-by: Egor Savkin <es@m-labs.hk>
2024-01-09 10:14:53 +08:00
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
ec2c0a3b80 Somewhat minimal working example
Signed-off-by: Egor Savkin <es@m-labs.hk>
2024-01-09 10:14:53 +08:00
9edf410e4d Start refactor to state manager zustand
Signed-off-by: Egor Savkin <es@m-labs.hk>
2024-01-09 10:14:53 +08:00
9bdaca2ca9 Start adding the warnings
Signed-off-by: Egor Savkin <es@m-labs.hk>
2024-01-09 10:14:53 +08:00
94f321ecf7 Minimal summary and crate mode
Signed-off-by: Egor Savkin <es@m-labs.hk>
2024-01-09 10:14:53 +08:00
e6df70b96a Add add/delete functionality to crates
Signed-off-by: Egor Savkin <es@m-labs.hk>
2024-01-09 10:14:53 +08:00
691e5bbd86 Minimal working multiple crates
Signed-off-by: Egor Savkin <es@m-labs.hk>
2024-01-09 10:14:53 +08:00
63d83b5e10 Add other warnings for the cards
Signed-off-by: Egor Savkin <es@m-labs.hk>
2024-01-09 10:14:53 +08:00
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
530be12334 Start refactoring warnings
Signed-off-by: Egor Savkin <es@m-labs.hk>
2024-01-09 10:14:53 +08:00
e8b1d70356 Refactor resource subsystem (still needs integration)
Signed-off-by: Egor Savkin <es@m-labs.hk>
2024-01-09 10:14:53 +08:00
da3f18d6d9 Slightly reduce dependencies
Signed-off-by: Egor Savkin <es@m-labs.hk>
2024-01-09 10:14:53 +08:00
ecbbd6898d Split components into separate files
Signed-off-by: Egor Savkin <es@m-labs.hk>
2024-01-09 10:14:53 +08:00
49ef25b5c3 Demangle email addresses on the site
Signed-off-by: Egor Savkin <es@m-labs.hk>
2023-11-29 17:21:33 +08:00
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
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
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
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
896946336b Shuttler precisions 2023-10-11 11:04:33 +08:00
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
320665c3bd cleanup 2023-10-10 17:53:25 +08:00
a6faaecb8b clarify external PSU 2023-10-10 17:51:18 +08:00
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
212a7743eb Update bundle file
Signed-off-by: Egor Savkin <es@m-labs.hk>
2023-08-22 16:34:12 +08:00
27c7db1df4 Allow duplicating cards in the backlog
Signed-off-by: Egor Savkin <es@m-labs.hk>
2023-08-22 16:18:22 +08:00
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
52afd69445 Fix shop import json buttons spacing
Signed-off-by: Egor Savkin <es@m-labs.hk>
2023-08-10 12:29:40 +08:00
5d69e9cef5 Remove weird animations from backlog
Signed-off-by: Egor Savkin <es@m-labs.hk>
2023-08-10 12:29:40 +08:00
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
0e9f822536 Fix React warnings in development
Signed-off-by: Egor Savkin <es@m-labs.hk>
2023-08-10 12:29:40 +08:00
b3964ec2c9 shop: add Pounder (#87)
Closes #42

Reviewed-on: M-Labs/web2019#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
23d404a7ce improved crate pricing 2023-08-09 10:00:50 +08:00
053d31ddce Optimize webpack usage
Signed-off-by: Egor Savkin <es@m-labs.hk>
2023-07-12 13:16:44 +08:00
ddd49b71af Fix solvespace 3d models display
Signed-off-by: Egor Savkin <es@m-labs.hk>
2023-07-12 12:46:39 +08:00
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
76dc20c798 Fix dropdown, accordion and modal
Signed-off-by: Egor Savkin <es@m-labs.hk>
2023-07-10 17:46:45 +08:00
85429b64f8 Add webpack
Signed-off-by: Egor Savkin <es@m-labs.hk>
2023-07-10 16:32:09 +08:00
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
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
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
829680aa1f shop: punctuation 2023-06-30 10:18:35 +08:00
a18147c088 shop: fix naming 2023-06-30 10:17:41 +08:00
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
d9ba17ad3a Add Almazny to the shop
Signed-off-by: Egor Savkin <es@m-labs.hk>
2023-06-16 16:29:41 +08:00
62ede45936 grammar 2022-08-25 12:45:12 +08:00
9eed389c6e shop_data: add datasheet entries if available 2022-01-19 14:27:48 +08:00
62286e9ea8 shop: implement link to datasheet if available 2022-01-19 14:27:09 +08:00
0f6257f7d3 koster -> grabber 2021-11-22 12:35:54 +08:00
cdb85a5728 novo -> sampler 2021-11-22 12:34:40 +08:00
aeb890d3d0 mention Zotino temp stabilization 2021-07-30 18:09:32 +08:00
7f4306b78a remove Kasli-SoC warning 2021-07-30 17:50:07 +08:00
8c3a35cea4 fix JSON validation 2021-06-01 17:03:26 +08:00
61b291b9e0 fix HD68 EEM slots (closes #48) 2021-05-28 11:24:37 +08:00
0d6ab4ee96 formatting 2021-03-23 18:16:39 +08:00
4fd5276638 phaser baseband 2021-03-23 18:15:39 +08:00
5255944be6 add phaser to shop 2021-03-23 18:14:38 +08:00
b41a58c033 add Kasli-SoC to shop 2021-03-23 17:30:40 +08:00
7fb64c0685 add MCX-DIO to shop 2021-03-23 16:56:47 +08:00
24b3a74096 do not mention dip switch detail in shop 2021-03-23 16:56:26 +08:00
4e0b31e46d prevent shop crash with vhdci carrier + clocker 2021-03-23 01:11:36 +08:00
56e6e4e524 mention gw acceleration requirement for fastino 2021-03-23 00:57:29 +08:00
7d39353c0b add fastino to shop 2021-03-23 00:55:55 +08:00
d84e1f7bd4 move VHDCI carrier to end 2021-03-23 00:43:23 +08:00
ce35746683 add VHDCI carrier to shop 2021-03-23 00:40:59 +08:00
51a8c8741c kasli: GB -> Gb 2021-03-23 00:40:39 +08:00
3df4c0c9c6 move shop to Kasli 2.0 2021-03-22 18:30:56 +08:00
59c1ed790d clarify use of AD9910 and AD9912 at the same time 2021-02-16 09:58:25 +08:00
707b4b60f6 Processor -> Carrier 2020-10-13 10:04:02 +08:00
96d1ee8045 fix(orderHardware): Corrects MCX-IDC number, sets to 5538 2020-07-18 12:16:29 +02:00
2a2a7da014 fix(issue#3): Loads models separately
- common models functions are loaded in SolveSpaceControls.js
- each js model file is now autonomous
- in page-solvespace.html, add each <script> 'async' attribute

So now, each js model file will be loaded as soon as available,
avoiding blocking rendering page
2020-04-21 18:23:49 +09:00
eb4f52c022 rebuild shop.min.js 2020-04-21 10:22:24 +08:00
fa8638c411 Merge branch 'master' of https://git.m-labs.hk/M-Labs/web2019 2020-04-21 11:19:21 +09:00
41a19b9910 fix(issue#16): Shows warning only when needed 2020-04-21 11:18:46 +09:00
5d10f0a315 rebuild shop.min.js 2020-04-20 22:53:32 +08:00
2adb262fb0 fix(issue#16): Adds class inverted to flip warning when:
4 slots remains and current card is at almost the end of the crate

aka when the warnings is about a card that is at the end of the crate
2020-04-20 18:22:38 +09:00
db6abf2909 fix(issue26): Retrieves "pn" code that are unknowns 2020-04-20 15:51:35 +09:00
d97222e4e1 shop: fix Mirny PN 2020-04-18 10:31:31 +08:00
b9b9620c67 shop: update generated JS 2020-04-16 10:33:49 +08:00
c98354db63 shop: configurations -> JSON 2020-04-16 10:33:28 +08:00
107bae7da0 shop: cleanup 2020-04-16 10:31:57 +08:00
88e4f1d8c0 shop: cleanup request, update npm deps 2020-04-15 21:17:48 +08:00
7d0abf4b17 shop: use hooks.m-labs.hk 2020-04-15 12:36:50 +08:00
5703458586 feat(issue19-22/UI): Updates shop build 2020-04-15 10:47:03 +09:00
0758e2d2ba feat(issue22): Sends confirmation email to client
Also, adds the JSON configuration in order to be sent to the client
as a "reminder" of what he sends
2020-04-15 10:41:40 +09:00
44b361893f feat(issue19/UI): Removes deactivation button after form submit 2020-04-15 10:21:31 +09:00
4899bfedc2 feat(issue19-22/UI): Updates shop build 2020-04-14 18:54:59 +09:00
bac4e37cc2 feat(issue19/UI): Allows to load custom configuration 2020-04-14 18:54:31 +09:00
fdded2702b feat(issue19/UI): Displays box to load custom conf + verification format 2020-04-14 17:51:33 +09:00
413703fd96 feat(issue19/UI): Allows to show configuration 2020-04-14 16:08:28 +09:00
2825779c96 feat(issue22/UI): Uses bootstrap view instead of custom 2020-04-14 15:56:17 +09:00
0c4d2cfdac feat(issue22/UI): Updates shop (email + req to API for RFQ + feeback) 2020-04-14 14:46:51 +09:00