0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2025-12-25 18:22:42 +00:00
Commit Graph

2148 Commits

Author SHA1 Message Date
Trevor Buckner
d4fa5d55d0 Merge branch 'master' into pr/3484 2024-09-14 19:15:12 -04:00
Trevor Buckner
26a126859d Lint 2024-09-14 19:02:55 -04:00
Trevor Buckner
76c9f2ee71 Lint 2024-09-14 18:58:23 -04:00
Trevor Buckner
5c2acf3183 Let Editor pass changes up and inherit values down 2024-09-14 18:52:13 -04:00
Trevor Buckner
fa2874b18f Let brewRenderer pass changes up, and inherit values down 2024-09-14 18:50:38 -04:00
Trevor Buckner
7e776df4d4 Add Current Page states up into editor components, pass down to children 2024-09-14 18:50:09 -04:00
Trevor Buckner
3ef91cb1ea Add check for scroll event complete/ lift page state up 2024-09-12 12:55:11 -04:00
Trevor Buckner
e5ab223571 Better line position (viewport has some margin) 2024-09-10 01:25:26 -04:00
Trevor Buckner
45a9501459 Jump based on scroll position, not cursor position 2024-09-10 01:11:28 -04:00
Trevor Buckner
ec74b994d7 Simplify scroll event for source editor using lodash Throttle 2024-09-10 00:43:44 -04:00
Trevor Buckner
707b90e445 Merge branch 'master' into pr/3484 2024-09-09 23:22:00 -04:00
Trevor Buckner
2b458d1265 Merge branch 'master' into Hide-Toolbar-2 2024-09-09 11:01:39 -04:00
Trevor Buckner
58a2993fe1 use className for react classes
Avoid warning of conflict with JS "class" keyword.
2024-09-09 11:00:45 -04:00
David Bolack
1e9c7423c7 Fix "clicked on the toggle ring" crash with scroll lock.
The code was doing dom-climbing math based on clicking on the div contents but was attached to the div. Moved the onClick to the contents.
2024-09-07 22:36:27 -05:00
David Bolack
7a37bf47c5 Bodge Render side mirroring back into place. 2024-09-07 21:33:51 -05:00
Trevor Buckner
b124e55b3d Merge branch 'master' into Issue_241_Part_II 2024-09-06 23:51:14 -04:00
Trevor Buckner
22678b15af Fix snippet filter 2024-09-06 16:35:18 -04:00
David Bolack
88caa81baa Merge branch 'master' into snippets-no-gen 2024-09-06 12:25:22 -05:00
David Bolack
5c9c342b10 Update client/homebrew/editor/snippetbar/snippetbar.jsx
Co-authored-by: Trevor Buckner <calculuschild@gmail.com>
2024-09-06 01:25:13 -05:00
Gazook89
e0be7a5db3 Move rules out of body and into more specific elements 2024-09-05 11:13:08 -05:00
Trevor Buckner
ad8e004fa9 Update Dismisskey for popup
Need a new key so this new message will appear again for users who cleared the popup before
2024-09-04 17:16:11 -04:00
Víctor Losada Hernández
247bc719b8 fix z-index issue 2024-09-04 22:52:57 +02:00
Víctor Losada Hernández
cd01014d79 notification 2024-09-04 22:48:39 +02:00
Víctor Losada Hernández
7ab1efb0c9 litttle message in vault 2024-09-04 22:39:30 +02:00
Trevor Buckner
2bc39a468f set default value for dontRenderStorage prop 2024-09-04 16:15:18 -04:00
Trevor Buckner
c735ab7c35 Fix crash on metaData tab
Hiding the `moveBrew` etc. properties when `this.state.showMoveArrows == false` means when the `metaData` tab turns off the arrows it crashes because now some functions are undefined.

Just using a whole separate property to avoid conflict.
2024-09-04 15:50:32 -04:00
Gazook89
49e072f03f Add button to toggle Preview tools
Toggles a state variable to either visible or hidden which is used to set a related class on the toolbar.  The hiding is done with CSS, just reducing the width of the toolbar and the opacity of the tools.
2024-09-04 13:54:55 -05:00
Víctor Losada Hernández
d5e367649e fix overlapping thumbnail issue 2024-09-04 12:23:21 +02:00
Víctor Losada Hernández
f10444f14a fix for storage 2 2024-09-04 12:18:35 +02:00
Víctor Losada Hernández
1225e5cb6a remove storage rendering in vault 2024-09-04 09:29:47 +02:00
Víctor Losada Hernández
aab24c732e fix error managing 2024-09-04 09:25:13 +02:00
Trevor Buckner
d7d690a9d1 Lint 2024-09-04 01:06:56 -04:00
Trevor Buckner
4f39222724 Change spaces to tabs 2024-09-04 00:52:08 -04:00
Trevor Buckner
a1e585ccaa Remove redundant validation check
`performSearch()` and `loadTotal()` shouldn't need a separate check for valid items if `loadPage` already does it through `validateForm`
2024-09-04 00:43:12 -04:00
Trevor Buckner
373a627c14 With unneeded state gone, can rename back to title, author, etc.
No longer naming conflict with state and function parameters. We can go back to the shorter names
2024-09-04 00:35:27 -04:00
Trevor Buckner
a7cb73b02e Remove unused update in loadPage
Now `update` is unused; can remove that parameter.
2024-09-04 00:20:18 -04:00
Trevor Buckner
cd3e517b03 Remove setPageState in loadPage. Already occurs in performSearch()
`performSearch` will set PageState whether `update` is true or not, so this line here is not doing anything.
2024-09-04 00:18:35 -04:00
Trevor Buckner
ef201409d9 rename setPage to setPageState (match pageState name) 2024-09-03 23:55:54 -04:00
Trevor Buckner
e3ef93f03a Alignment 2024-09-03 23:54:52 -04:00
Víctor Losada Hernández
48a5a70d2e z-index doesn't work with static positioning 2024-09-04 00:17:59 +02:00
Víctor Losada Hernández
1c1901c90a fix thumbnail over text 2024-09-04 00:16:15 +02:00
Víctor Losada Hernández
ebae351033 remove unnecesary state 2024-09-04 00:11:58 +02:00
Víctor Losada Hernández
e54d81ceef small css fixes 2024-09-03 23:28:33 +02:00
Víctor Losada Hernández
1e36e63ed6 bring back the comma! 2024-09-03 23:07:23 +02:00
Víctor Losada Hernández
abb2d57879 Merge branch 'master' of https://github.com/naturalcrit/homebrewery into experimental-development 2024-09-03 22:58:05 +02:00
Víctor Losada Hernández
52779eec35 Merge branch 'experimental-development' of https://github.com/5e-Cleric/homebrewery into experimental-development 2024-09-03 22:56:49 +02:00
Víctor Losada Hernández
9e694e5e46 move email catching to api 2024-09-03 22:56:45 +02:00
Gazook89
3c6f49aa0a Move focus method to handleViewChange 2024-09-03 14:48:45 -05:00
Trevor Buckner
9bc5701006 Indent 2024-09-03 14:18:17 -04:00
Víctor Losada Hernández
7474605b93 rename 2 2024-09-03 15:58:31 +02:00