Commit Graph

19 Commits

Author SHA1 Message Date
3ccbd41ef2 Fix and optimize shop styles and remove jquery
Reduce bootstrap bundle, replace jquery dependant code and remove jquery. Optimize style loading.
Overall the lighthouse metrics are far better now.

Signed-off-by: Egor Savkin <es@m-labs.hk>
2025-01-23 16:04:31 +08:00
b53e191528 Update and clean up NPM dependencies
npm audit also reported 0 vulnerabilities

Signed-off-by: Egor Savkin <es@m-labs.hk>
2024-08-05 11:26:28 +08:00
cba6ab72c4 Add development scripts for smoother development process
Signed-off-by: Egor Savkin <es@m-labs.hk>
2024-07-05 15:07:12 +08:00
be50b2a3c3 Optimize bundle size, and drop its support for J2ME's Opera (layout doesn't support small screens anyway)
Signed-off-by: Egor Savkin <es@m-labs.hk>
2024-04-09 14:56:05 +08:00
5e3a9af749 Fix notification remained visible when side menu is opened
Signed-off-by: Egor Savkin <es@m-labs.hk>
2024-04-09 14:56:05 +08:00
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
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
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
9edf410e4d Start refactor to state manager zustand
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
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
053d31ddce Optimize webpack usage
Signed-off-by: Egor Savkin <es@m-labs.hk>
2023-07-12 13:16:44 +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
88e4f1d8c0 shop: cleanup request, update npm deps 2020-04-15 21:17:48 +08:00
31105263b5 fix(mobile/shop): Adds zindex to cloned card while dragging 2020-01-19 15:15:51 +01:00
e025f66f3e feat(place-order): Adds order hardware system
fix(place-order): Avoids colliding with page var

feat(place-order): Adds drag(copy)/drop system
Finally get this to work..
Still some minor issues while drag(copy)/drop
This commit allows to drag(copy)/drop inside the crate.
Allows to reorder the crate

feat(place-order): Adds basic summary of shopping cart
allows to delete item

feat(place-order): Adds form
also applies some cosmetcis css

feat(place-order): Applies custom css to drag/drop process

feat(place-order): Improves crate UI

feat(place-order): Adds missing assets

feat(place-order): Updates icon button add

feat(place-order): Changes cart layout to increase space
- moves up the control crate type (rack/desktop)
- increase card size a bit
- reduces some padding
- adding some space above card title
- re-organise react component to achieve this layout

feat(place-order): Updates icon remove in summary price
- uses icon instead of shitty html/css
- re-organises react component

fix(place-order): Reduces overlay gradient effect on the aside
also increases padding-bottom to avoid overlay above content

feat(place-order): Updates summary price layout

feat(place-order): Updates CrateMode using data
this avoid using hard text in component
and also, adding crate mode in data.js will be helpful
for other component too (e.g OrderSummary)

feat(place-order): Adds crate mode in OrderSummary
Allows to add fees to rack mode for exemple

feat(place-order): Allows to delete all items in the crate at once

feat(place-order): Updates typo
uses currentMode instead of crateMode

feat(place-order): Displays selection shadow on card when user hover delete button

feat(place-order): Allows to add item to the crate

feat(place-order): Corrects typo

feat(place-order): Corrects layout for browser support

feat(place-order): Adds first automatic rules
this allows to test how things could be done

feat(place-order): Allows to remove card when drop out of crate

feat(place-order): Adds icon reminder to rules

feat(place-order): Uses internal js production assets

feat(place-order): Uses production file

feat(place-order): Adds kali first as initialisation

feat(place-order): Simulates slots in crate (desktop/rack)

feat(place-order): Updates data that prepare for rules algo

feat(place-order): Adds some rules

feat(place-order): Removes rule 2kasli when no more kasli
it's a fix

feat(place-order): Corrects typo rules koster

fix(place-order): Removes PWA prompt

fix(place-order): Corrects size card inside crate

refactor(place-order): Reduces padding between items in listing

refactor(place-order): Uses USD currency

feat(place-order): Upgrades algo for rules

feat(place-order): Adds progress bar to kasli/kasli w/backplane

feat(place-order): Refactores a bit rule handler

feat(place-order): Adds all other rules

fix(place-order): Corrects typo

fix(place-order): Corrects count zotino/hd68 when IDC-BNC does not follow each others

feat(place-order): Backups dev script call just in case
For now, I can work with prod build even debugging production code

feat(place-order): Adds super tooltip to progress bar

feat(place-order): Adds tooltip for zotino/hd68 too

refactor(place-order): Updates typo rule for Koster

feat(place-order/WIP): Adds warning

feat(place-order): Adds Mirny
adds css changes from previous commit (i've forgotten)

feat(place-order): Updates build

feat(place-order): Set RJ45-DIO to occupy 2 EEMs

feat(place-order): Make clocker progress bar visible
It was hidden by horizontal scrollbar inside crate

feat(place-order): Remove red warning for 2 kaslis following each other

feat(place-order): Adds rule for cards that need a resource controller

feat(place-order): Corrects typo, adds point to end of message

feat(place-order): Changes idc-bnc info into a warning one

feat(place-order): Moves down warning box

feat(place-order): Updates some cosmetics css

fix(place-order): Removes IDC-BNC from Kasli connectors count

feat(place-order): Displays warning on hover warning icon

feat(place-order): Updates design hover item in listing

feat(place-order): Updates price estimate

feat(place-order): Displays warning in summary

feat(place-order): Allows to select item

feat(place-order): Allows to send request quote through client email

fix(place-order): Allows to click on remove inside summary list

feat(place-order): Adds btn remove for each cards inside crate

feat(place-order): Builds

fix(place-order): Updates icon warning

fix(place-order): Corrects recipient email address
LOL, forgot to remove mine haha

fix(place-order): Removes typo (kasli double)

fix(place-order): Removes num from email title subject

fix(place-order): Adds warning resources to mirny, zotino
Also updates message text

feat(place-order): Adds clocker counter

feat(place-order): Uses warning for id68 instead of reminder

feat(place-order): Adds crate type into the json

feat(place-order): Adds btn order hardware in homepage

refactor(place-order): Cleans a bit

fix(place-order): Improves a bit ux remove item from crate

fix(place-order): Improves a bit ux remove item from crate

feat(place-order): Builds

fix(place-order): Uses cursor pointer on remove button

fix(place-order): Corrects card need a resources card

chore(place-order): Removes call to ap.js

fix(place-order): Tries with fixed height on warning icon

fix(place-order): Adds fixed height to other element

fix(place-order): Tries to remove up container height to let flex to its job

fix(place-order): Removes .trim call which block multiline and augments row to 5

feat(place-order): Builds

fix(place-order): Adds min-height for the crate
2019-11-06 14:49:00 +08:00