Commit Graph

488 Commits

Author SHA1 Message Date
Egor Savkin d3fb46956e Fix notification overlay making "added" notification disappear on touchables
When notification doesn't fit viewport on touch-enabled devices, it makes the canvas extend to its boundaries, braking the fixed positioned elements placement

Signed-off-by: Egor Savkin <es@m-labs.hk>
2024-04-09 14:56:05 +08:00
Egor Savkin 6bfed3e779 Show at max only one options notification
Closes #124

Signed-off-by: Egor Savkin <es@m-labs.hk>
2024-04-09 14:56:05 +08:00
Egor Savkin dfe1f0ea2d Rename backlog to catalog
Signed-off-by: Egor Savkin <es@m-labs.hk>
2024-04-09 14:56:05 +08:00
Egor Savkin 839d7c6612 Fix search bar icon conflicting in webkit and make backlog scroll bar thin
Signed-off-by: Egor Savkin <es@m-labs.hk>
2024-04-09 14:56:05 +08:00
Egor Savkin 1cb9c90c65 Fix bottom side gradient
Signed-off-by: Egor Savkin <es@m-labs.hk>
2024-04-09 14:56:05 +08:00
Egor Savkin eb196b086e Make fonts sizes more consistent and fiz minor paddings issues
Signed-off-by: Egor Savkin <es@m-labs.hk>
2024-04-09 14:56:05 +08:00
Egor Savkin 56a44ce4a3 Do not show groups when there are search results
Signed-off-by: Egor Savkin <es@m-labs.hk>
2024-04-09 14:56:05 +08:00
Egor Savkin aa35348288 Apply styles to the search bar
Signed-off-by: Egor Savkin <es@m-labs.hk>
2024-04-09 14:56:05 +08:00
Egor Savkin 4bc6f6a3ee Prototype search bar for the backlog
Signed-off-by: Egor Savkin <es@m-labs.hk>
2024-04-09 14:56:05 +08:00
Sébastien Bourdeauducq 2ba10dd2e8 improve sales info 2024-03-08 09:31:30 +08:00
Egor Savkin df7607ffd8 Do not show copy button in not secured contexts and add product number to the backlog header
Signed-off-by: Egor Savkin <es@m-labs.hk>
2024-02-21 11:57:33 +08:00
Sébastien Bourdeauducq 4906ad1713 shop: price excludes shipping 2024-02-15 12:36:09 +08:00
Sébastien Bourdeauducq 41e20d205c shop: improve wording 2024-02-15 12:34:01 +08:00
Egor Savkin 67cef120b6 Move order options to the OrderForm, fix missing tooltip props, update tooltip contents
Signed-off-by: Egor Savkin <es@m-labs.hk>
2024-02-15 12:17:19 +08:00
Egor Savkin 759f7cffcc Add css classes to the radio component, add shipping summary and other content fixes
Signed-off-by: Egor Savkin <es@m-labs.hk>
2024-02-15 12:17:19 +08:00
Egor Savkin 0b5797b1ba Add more order options and enhance the look of them
Signed-off-by: Egor Savkin <es@m-labs.hk>
2024-02-15 12:17:19 +08:00
Egor Savkin bcc8db6819 Add order options
Signed-off-by: Egor Savkin <es@m-labs.hk>
2024-02-15 12:17:19 +08:00
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