Commit Graph

69 Commits

Author SHA1 Message Date
f67aa7fc51 Add external data for use per every card. Apply it for TTL and Suservo
Signed-off-by: esavkin <es@m-labs.hk>
2023-11-20 15:40:44 +08:00
8bdfedc4b8 Reposition summary popup relative to icon respective to window width, hide on scroll
Signed-off-by: Egor Savkin <es@m-labs.hk>
2023-11-20 15:40:44 +08:00
0fe665c0ba Hide popups on clicking outside of them
Signed-off-by: Egor Savkin <es@m-labs.hk>
2023-11-20 15:40:44 +08:00
23c7508358 Add popover for cart summary with options data
Signed-off-by: Egor Savkin <es@m-labs.hk>
2023-11-20 15:40:44 +08:00
288a0cc74c Make overlay appear on button click
And fix options absense for non-carrier cards

Signed-off-by: Egor Savkin <es@m-labs.hk>
2023-11-20 15:40:44 +08:00
d72a295aa5 Adjust styles
Signed-off-by: Egor Savkin <es@m-labs.hk>
2023-11-20 15:40:44 +08:00
4d5dd505ae Fix add of useless options to JSON
Signed-off-by: Egor Savkin <es@m-labs.hk>
2023-11-20 15:40:44 +08:00
ac87fede4b Add switchline compact design
Signed-off-by: Egor Savkin <es@m-labs.hk>
2023-11-20 15:40:44 +08:00
ff8a6d54bc Add switch and line
Signed-off-by: Egor Savkin <es@m-labs.hk>
2023-11-20 15:40:44 +08:00
f93cf142f0 Fix JSON shop load
Signed-off-by: Egor Savkin <es@m-labs.hk>
2023-11-20 15:40:44 +08:00
1a7d44c121 Make it update state
Signed-off-by: Egor Savkin <es@m-labs.hk>
2023-11-20 15:40:44 +08:00
d543e54326 Add basic demo example
Kinda works, but buggy

Signed-off-by: Egor Savkin <es@m-labs.hk>
2023-11-20 15:40:44 +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
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
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
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
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
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
62286e9ea8 shop: implement link to datasheet if available 2022-01-19 14:27:09 +08:00
8c3a35cea4 fix JSON validation 2021-06-01 17:03:26 +08:00
ce35746683 add VHDCI carrier to shop 2021-03-23 00:40:59 +08:00
3df4c0c9c6 move shop to Kasli 2.0 2021-03-22 18:30:56 +08:00
41a19b9910 fix(issue#16): Shows warning only when needed 2020-04-21 11:18:46 +09: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
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
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
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
d99d23ac84 fix(issue24): Uses part number when export to JSON/mail 2020-03-23 13:35:31 +09:00
dd1a188937 feat(issue21): Increases crate height to 350px 2020-03-05 12:58:12 +09:00
c4b1a07530 fix(issue21): Increases crate height (thus card height) 2020-03-02 22:36:02 +09:00
06d9939ddb fix(issue21): Adds precision + BP adapter and updates styles 2020-03-02 22:27:31 +09:00
8cbc707f88 feat(issue21): Uses consistent name 2020-03-02 21:57:38 +09:00
1f81e1ed0e feat(issue12): Adds info for Urukul 2020-01-31 13:51:25 +01:00