Commit Graph
362 Commits
Author SHA1 Message Date
Trevor Buckner 18c29daf92 Move resetWarnUnsavedTimer and ToggleAutosave to common hook 2026-09-13 13:20:45 -04:00
Trevor Buckner 9441582aa3 Move handleSplitMove to common hook 2026-09-12 12:50:27 -04:00
Trevor Buckner b26d81ca08 Move UnsavedChangesRef into common hook and clean syncing useEffect 2026-09-12 12:30:21 -04:00
Trevor Buckner e2cec264a6 Convert trySaveRef to useEffectEvent 2026-09-12 12:08:51 -04:00
Trevor Buckner b9ae2cd16c Move "unsaved changes" check to common hook 2026-09-11 23:21:21 -04:00
Trevor Buckner e6bf0e28c5 Pass in the remaining missing dependencies 2026-09-11 22:28:19 -04:00
Trevor Buckner 4428a1da07 Merge branch 'master' into new/edit/home-exctractcommonsetupsteps 2026-09-09 21:51:12 -04:00
Trevor Buckner da882d6f00 Fix google transfer ownership popup priority
Only show alertOwnershipToTransfer if:

1) current user is logged in
2) brew actually has authors
3) current user is not author[0]

In all other cases, it should prompt to log in with a google account instead.
2026-09-09 20:55:30 -04:00
Trevor Buckner c3a2d0641a Fix setAlertOwnershipToTransfer typo 2026-09-09 20:23:30 -04:00
Trevor Buckner 82efff8ce5 Move setup effects to common functions 2026-09-09 20:10:17 -04:00
Trevor Buckner e4d6611027 Restore time to 15 minutes 2026-09-09 21:39:51 +00:00
Trevor Buckner 719b30a04e Fix message syntax 2026-09-09 21:33:02 +00:00
Trevor Buckner 67728afd4f Give "unsaved change" warning to NewPage and HomePage. Autosave is always disabled on those. 2026-09-09 21:08:58 +00:00
Trevor Buckner 5865e5adfd Extract common "handlePageChange" to a reusable hook 2026-09-09 18:42:39 +00:00
Víctor Losada Hernández 9dccd1ef98 small inconsistencies 2026-09-05 21:53:52 +02:00
Víctor Losada Hernández 556569d110 move priorities 2026-09-05 21:40:54 +02:00
Víctor Losada Hernández 3367530733 corrections 2026-09-05 21:30:46 +02:00
Víctor Losada Hernández 407cb5f7c9 Merge branch 'master' of https://github.com/naturalcrit/homebrewery into fix-file-transfer 2026-09-05 21:15:06 +02:00
David Bolack 6c19afbf2b Rough working version 2026-08-25 12:49:22 -05:00
David Bolack 3d7daf406d Passes tests 2026-08-25 11:42:56 -05:00
Víctor Losada Hernández 469397f096 Merge branch 'master' of https://github.com/naturalcrit/homebrewery into fix-file-transfer 2026-07-28 23:46:46 +02:00
Víctor Losada Hernández 089e880b88 suggested changes 2026-07-28 23:46:31 +02:00
durstann 3628d1d57d Add nav buttons to the tab order and use semantic buttons so they are interactable with the keyboard 2026-07-26 23:47:10 -07:00
Víctor Losada Hernández a237bac9dc fix the issue 2026-07-26 19:51:26 +02:00
Gazook89 fd6fd98fdc Add @components aliases to vite config
And update all the files to point to that directory to use the alias.
2026-07-11 17:41:49 -05:00
Trevor Buckner b75c83901b Merge branch 'fix-save-on-load' of https://github.com/5e-Cleric/homebrewery into pr/4772 2026-05-04 16:01:43 -04:00
Trevor Buckner 339d2844a7 Change logic to fire on button click, rather than on state change
Ideally side effects (server calls, etc.) should happen outside of useEffect anyway for reasons like this; Putting the save in the button click keeps the logic in one place instead of spread across multiple functions and renders,

(This change was already made in my local copy toward combining Edit/New/Home pages.)
2026-05-04 16:01:39 -04:00
Trevor Buckner 614d9fd7b3 Merge branch 'master' into fix-save-on-load 2026-05-04 11:50:13 -04:00
Víctor Losada Hernández 65d1106974 this should fix it 2026-05-04 00:42:10 +02:00
Víctor Losada Hernández 59fc123f7d remove log 2026-04-25 18:25:41 +02:00
Víctor Losada Hernández ce2406992a fix save on load 2026-04-25 18:22:44 +02:00
Petrinich Sergey 01b3d91232 add copy-url-with-page to share/edit pages
Adds a "copy url (page N)" option to the Share dropdown (edit page) and
the source dropdown (share page). Copies a URL with a #pN hash anchor.
The existing scrollToHash handler in brewRenderer already navigates to
the correct page when the URL is opened.
2026-04-21 22:54:09 +03:00
Trevor Buckner 67b4d3b760 Revert "Embed Endpoint" 2026-04-04 21:15:57 -04:00
David Bolack fe0f0c56af Merge branch 'master' into HTMLDownload 2026-03-16 10:39:14 -05:00
Víctor Losada Hernández 55ae00ecfe remove left over log 2026-03-11 12:55:44 +01:00
Víctor Losada Hernández 8ea082daf0 transform ssytems into tags 2026-03-07 15:14:30 +01:00
Víctor Losada Hernández 8d18529c6d linting 2026-03-03 23:44:02 +01:00
Víctor Losada Hernández c096014871 shared folder (for markdown.js and helpers 2026-02-25 18:40:50 +01:00
Víctor Losada Hernández 1e0c09243a navbar alias 2026-02-25 18:24:54 +01:00
David Bolack 7a89f942fe Merge branch 'master' into HTMLDownload 2026-02-06 17:00:25 -06:00
Víctor Losada Hernández 79f2938b53 fix edit route 2026-02-02 12:07:01 +01:00
Víctor Losada Hernández 3e76046868 Revert "renamed client to src"
This reverts commit c28736bd01.
2026-02-01 17:36:53 +01:00
Víctor Losada Hernández c28736bd01 renamed client to src 2026-02-01 17:34:50 +01:00
Víctor Losada Hernández 2813ff8972 fix two imports 2026-01-30 12:44:53 +01:00
Víctor Losada Hernández 4e6c3add5b change imports 2026-01-24 01:10:51 +01:00
Víctor Losada Hernández 852510c93a more imports 2026-01-24 00:49:37 +01:00
Víctor Losada Hernández 3c3d29739a Merge branch 'master' of https://github.com/naturalcrit/homebrewery into vitreum-to-vite 2026-01-24 00:39:57 +01:00
Víctor Losada Hernández 9d03385a13 change imports 2026-01-24 00:29:15 +01:00
Víctor Losada Hernández 54b0dd46f8 vitreum headtags (temporary change) 2026-01-23 18:51:01 +01:00
Víctor Losada Hernández d6b763e62d update import paths 2026-01-23 18:44:51 +01:00