0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-05-09 22:48:39 +00:00
Commit Graph

331 Commits

Author SHA1 Message Date
Trevor Buckner 8a0f350c47 Fix mutating HTMLErrors directly instead of setState 2025-09-09 22:19:43 -04:00
Trevor Buckner 6f2c397574 Restore autosave warning to 15 minutes 2025-09-09 20:47:09 -04:00
Trevor Buckner 8706f91b58 Fis autosaveWarning 2025-09-09 08:37:17 -04:00
Trevor Buckner 90f6e7ec37 Make autosaving work
debouncing does not play nice with functional component. Any debounced function gets locked in as the original state, meaning we keep saving the original document and overwriting the current document when a save fires.

Must pass in the parameters instead of pulling directly from state to work properly.
2025-09-09 01:57:13 -04:00
Trevor Buckner 90a81237ec rename handleAutoSave to toggleAutoSave 2025-09-08 23:18:25 -04:00
Trevor Buckner 883f59ff0d rename autosave state to autoSaveEnabled 2025-09-08 23:13:21 -04:00
Trevor Buckner a75364c7f6 remove unused displayLockMessage state 2025-09-08 23:06:16 -04:00
Trevor Buckner 597ce7cb48 Convert renderNavBar and render 2025-09-08 23:05:47 -04:00
Trevor Buckner d94afa9c50 convert functions and states 2025-09-08 19:33:02 -04:00
Trevor Buckner 9c336062c6 Fix typo 2025-08-30 19:39:15 -04:00
Trevor Buckner 2cd47c46f6 Merge branch 'master' into Convert-ErrorNavItem-to-functional-component 2025-08-30 19:35:50 -04:00
Trevor Buckner 8671404bdc Refactor ErrorNavItem to not need "this" parameter
Toward making edit/new/home pages functional, which do not have "this"
2025-08-30 19:35:22 -04:00
Trevor Buckner 518a3434be Changes fetchThemeBundle helper to not need "this" parameter
Looks a bit ugly but this is temporary toward converting edit/home/new into functional components
2025-08-30 19:02:39 -04:00
Trevor Buckner 719edd82c5 Moving splitPane over to the components folder
Just to reduce the number of changes needed to review on the UI overhaul #4122 PR
2025-07-29 16:35:25 -04:00
G.Ambatte b87c78474d Fix for diff patching using encodeURI 2025-07-19 14:49:02 +12:00
Trevor Buckner fb4a8e5cf1 Merge branch 'CompressSaveDataUpload' of https://github.com/naturalcrit/homebrewery into CompressSaveDataUpload 2025-07-13 19:38:10 -04:00
Trevor Buckner 8432a6e367 cleanup 2025-07-13 19:38:08 -04:00
Trevor Buckner 5fbc111db7 Merge branch 'master' into CompressSaveDataUpload 2025-07-13 00:55:59 -04:00
Trevor Buckner d3a9d813c9 Log brew compression size just for testing purposes 2025-07-13 00:54:51 -04:00
Trevor Buckner 76b76b3bb6 Merge pull request #4286 from dbolack-ab/snippets-save-history-too
Add brew snippets to local save history
2025-07-11 13:32:13 -04:00
Trevor Buckner 22ef3cbebc Gzip brew object when sending for save update 2025-07-11 16:55:30 +00:00
Trevor Buckner 7cadbfbd7b allowExceedingIndices for our patch applier
Test if it allows patches to go through, and log error if it doesn't match the expected output.
2025-07-10 17:11:31 -04:00
David Bolack c7610cf0f8 Run patch processing in parallel to prior system to attempt to narrow down not-quite-so-edge cases that did not come up prior to user testing. 2025-07-10 07:10:13 -05:00
Trevor Buckner daf4eceedd Small rearrangement 2025-07-09 22:09:16 -04:00
David Bolack a02361ee65 Move normalization to before diffing 2025-07-09 19:37:57 -05:00
David Bolack 81e20f032e NOrmalize strings before rnuning MD5s 2025-07-09 18:52:45 -05:00
David Bolack 0f4157d084 Add Patch wrapper/unwrapper for saves
Object encapsulation for the win?
2025-07-09 17:16:47 -05:00
Trevor Buckner 4dcc3749d8 Merge branch 'master' into snippets-save-history-too 2025-07-09 13:04:08 -04:00
Trevor Buckner 6414e73e7d Cleanup and better handling of pre-save snapshot 2025-07-08 15:50:27 -04:00
Trevor Buckner 4c897fdeb5 Add MD5 hash check 2025-07-07 21:00:03 +00:00
Trevor Buckner 43095507ee Fix 2025-07-07 19:26:03 +00:00
Trevor Buckner eb7fbbe018 Merge branch 'master' into SaveDiffs 2025-07-07 15:07:44 -04:00
Trevor Buckner 869958ec38 Don't save unless previous save is complete 2025-07-07 19:00:01 +00:00
David Bolack 99b90e0998 Include snippets in the restoration. 2025-07-07 13:54:29 -05:00
Trevor Buckner 8538e4fadb Rename isPending state to more explicit unsavedChanges 2025-07-07 18:48:36 +00:00
Trevor Buckner e1e661976d Initial test 2025-06-27 08:07:02 -04:00
Víctor Losada Hernández 9c1a0fd798 Merge branch 'master' into addLockRoutes-#3326 2025-04-10 13:46:15 +02:00
G.Ambatte 0c33df1cd6 Add tests for lock API functions 2025-04-10 19:15:34 +12:00
G.Ambatte 7a1042fedd Stylelint fixes 2025-04-07 22:02:08 +12:00
G.Ambatte ef6f022ea3 Tweak lock notification styling 2025-04-07 15:59:54 +12:00
G.Ambatte a594d45611 Remove unnecessary default option 2025-04-07 15:59:34 +12:00
G.Ambatte 4c4a023f34 Fix lock notification message 2025-04-07 15:59:06 +12:00
G.Ambatte cb060ae8b1 Fix state of "Request Review" button on page load 2025-04-06 19:26:39 +12:00
G.Ambatte 82e711a344 Shift request calls to import 2025-04-06 19:09:11 +12:00
David Bolack 9d1601f424 Seems to be working - no idea why... 2025-03-29 19:14:10 -05:00
David Bolack 7525e087ff Regression Fix WIP 2025-03-29 18:47:03 -05:00
G.Ambatte 7765cb31bf Merge branch 'master' into addLockRoutes-#3326 2025-03-27 17:43:21 +13:00
David Bolack 2f95cc5f45 Merge branch 'master' into localSnippetEditor 2025-03-24 15:10:25 -05:00
Víctor Losada Hernández 163e3927b5 style lint 2025-03-18 19:38:58 +01:00
David Bolack b605346c7d Fix regeression in snippets 2025-03-14 18:36:18 -05:00