0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-05-08 16:28:41 +00:00
Commit Graph

2135 Commits

Author SHA1 Message Date
G.Ambatte ff19e3875e Shift GC to use savedAt time 2024-09-14 23:43:44 +12:00
G.Ambatte 7ec2558eef Add guard clause for history UI items 2024-09-14 23:43:26 +12:00
G.Ambatte a7cf49557a Tweak dropdown padding 2024-09-14 23:04:18 +12:00
G.Ambatte c4c5ffff9b Tweak UI styling 2024-09-14 22:49:53 +12:00
G.Ambatte 719cc0c485 Remove onClick from UI 2024-09-14 22:49:39 +12:00
G.Ambatte d01548feb6 Add getHistoryItems function 2024-09-14 21:20:31 +12:00
G.Ambatte 48eb42862a Add History styling 2024-09-14 17:32:20 +12:00
G.Ambatte ace790739f Stub out History function on Editor Nav Bar 2024-09-14 17:32:07 +12:00
G.Ambatte c77d6e5fae Simplify logic 2024-09-14 16:50:36 +12:00
G.Ambatte a93133a9f3 Merge branch 'master' into experimentalLocalStorageHistory 2024-09-10 23:13:13 +12: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
G.Ambatte 6e1cf63ed9 Merge branch 'experimentalLocalStorageHistory' of https://github.com/G-Ambatte/homebrewery into experimentalLocalStorageHistory 2024-09-07 14:07:36 +12:00
G.Ambatte bc35b5245b Fix renamed variable 2024-09-07 14:07:30 +12:00
G.Ambatte 4033307473 Merge branch 'master' into experimentalLocalStorageHistory 2024-09-07 14:05:16 +12:00
G.Ambatte cd30679aac Remove debugging line 2024-09-07 14:01:25 +12:00
G.Ambatte 9679e5b130 Add garbage collection function to remove version data after specified period without update 2024-09-07 14:00:31 +12:00
G.Ambatte 4d295f5f18 Add comments to elucidate the madness 2024-09-07 13:22:44 +12:00
G.Ambatte 6ed6b6d66f Remove debugging line 2024-09-07 13:10:36 +12:00
G.Ambatte 87ba4ee264 Basic functionality working 2024-09-07 13:07:58 +12:00
G.Ambatte 6693eebe64 Updated version saving logic 2024-09-07 08:47:53 +12: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
G.Ambatte f3011eeef9 Update delay amounts 2024-09-06 16:58:30 +12:00
G.Ambatte 9fd581149b Shift version history to separate file 2024-09-06 16:57:11 +12:00
Gazook89 e0be7a5db3 Move rules out of body and into more specific elements 2024-09-05 11:13:08 -05:00
G.Ambatte 03bc9a8189 Test of combined version and time differential requirement for update 2024-09-05 23:24:14 +12:00
G.Ambatte 421c88cc07 Save brew text/style to local storage 2024-09-05 22:35:14 +12: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