1
0
Fork 0
Commit graph

23 commits

Author SHA1 Message Date
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