joostdecock
4557e71552
feat(org): Support for creating sets
2023-04-29 20:06:46 +02:00
joostdecock
d3d8e3d35a
feat(org): Support for creating sets
2023-04-29 08:29:12 +02:00
Joost De Cock
e47c18177b
wip(shared): Removed useApp hook in favor of contexts
...
This removes the useApp hook from all org pages in favor of various
context. This means there is no longer global state that gets passed
around, instead each component that requires access to something shared
(like account, or navigation) can just use the context instead.
This is a first step, as a lot of shared components stil rely on app not
to mention the dev and lab sites.
2023-04-28 21:23:06 +02:00
Joost De Cock
e717457454
chore(shared): Remove bugsnag from useApp hook
2023-04-27 17:01:53 +02:00
joostdecock
7991710c52
wip(org): Work on measurments sets
2023-04-22 16:41:13 +02:00
joostdecock
7938bff80c
fix(org): Issues with unfinished confirmation page
2023-04-16 19:30:56 +02:00
joostdecock
33c609c886
chore: Linter warnings
2023-04-16 17:13:18 +02:00
Joost De Cock
83e4e86f74
wip: Work on site navigation
2023-04-01 15:41:58 +02:00
Joost De Cock
2851cae81e
chore(shared): Move navigation load to hook
2023-03-26 15:47:11 +02:00
Joost De Cock
1745469bb0
chore: Fix icon view for nav
2023-03-26 08:49:21 +02:00
Joost De Cock
85c0916186
chore(shared): Renamed saa to path
2023-03-26 06:56:43 +02:00
Joost De Cock
244f4524c4
wip(dev): Refactoring navigation
2023-03-26 06:51:11 +02:00
Joost De Cock
264e7a0b9d
chore(org): Moved useApp hook to shared hook
2023-03-24 21:49:37 +01:00
Joost De Cock
89617bef92
wip(shared): Work on refactoring hooks
2023-03-24 21:30:04 +01:00
Joost De Cock
c1438a9419
wip(shared): Work on refactoring hooks
2023-03-24 16:33:14 +01:00
joostdecock
731c246e88
fix(org): Avoid recreating noAccount object on each render
2023-03-12 18:49:09 +01:00
joostdecock
0dbf76c9bf
fix(shared): Render loop in useLocalStorage hook
...
I've emptied the useEffect array here, I'm sure the linter won't agree
but at least it fixes a render loop that was nasty.
2023-03-12 17:59:43 +01:00
Enoch Riese
9190fc1558
useCallback for all gist mutation methods so they can be called in useEffect
2023-02-14 09:54:25 -06:00
Enoch Riese
a7a0ace7a8
avoid inifinite rerenders
2023-02-14 09:17:19 -06:00
Enoch Riese
0a07ca8de0
some lint fixes from after the mjs overhaul
2023-02-13 16:44:12 -06:00
joostdecock
7ce6ccbccf
wip: More work on lab
2023-02-05 18:44:54 +01:00
joostdecock
c8ce8030f4
fix(org): Build fixes
2023-02-05 16:49:36 +01:00
joostdecock
59708f534d
wip(lab): Work on porting lab/workbenck to named exports
2023-01-29 18:57:24 +01:00
Joost De Cock
f0e233513b
wip(dev): More changes for v3 docs
2022-09-25 10:55:37 +02:00
Joost De Cock
13e32d9ed9
chore(lab): Changes for pattern data
2022-09-01 08:51:57 +02:00
Enoch Riese
e41e3a67ba
fix deepscan issues
2022-08-14 17:36:54 -05:00
Enoch Riese
1a65a16e56
separate print layout from draft layout. add better buttons
2022-08-09 16:17:17 -05:00
Enoch Riese
0aef9b5ace
deepscan fixes
2022-07-16 08:22:51 -04:00
Enoch Riese
9bcfa4f39b
add reset_all and undo buttons to error boundary. no styling
2022-07-16 07:38:51 -04:00
Enoch Riese
400835eea0
remove unnecessary resetGist in favor of export defaultGist
2022-06-24 23:40:00 -05:00
Enoch Riese
210c463a38
simplify gist methods. set gist now sets the gist
2022-06-24 12:59:08 -05:00
Enoch Riese
7b58374f37
some code comments
2022-06-23 14:40:39 -05:00
Enoch Riese
ce4cf36394
get rid of reducer from gist hook
2022-06-23 14:37:11 -05:00
Enoch Riese
39cbf70c3e
all gist mutation now uses the new functions
2022-06-23 12:50:51 -05:00
Joost De Cock
f82f7de5bb
fix(shared): Don't force view to measurements by default
...
This is a bit of an annoyance since it forces you to the measurment
view, even for designs that have no required measurments.
So I've switched it to the draft view, and it should be the useEffect
code that detects whether required measurments are lacking and then
update the view.
FYI: @eriese
2022-06-23 09:58:54 +02:00
Enoch Riese
018b5372fe
fix deepscan issues
2022-06-22 15:38:15 -05:00
Enoch Riese
347554f3a1
fix measurement gist issues with better state management
2022-06-22 15:19:07 -05:00
Joost De Cock
43ee0f1790
chore: Adapt sites to recent changes
2022-06-17 12:02:09 +02:00