0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-01-22 22:37:50 +00:00
Commit Graph

1196 Commits

Author SHA1 Message Date
Víctor Losada Hernández
4bf485b2e2 lint client 2026-01-21 16:17:11 +01:00
Víctor Losada Hernández
7b00ec9fcf stable version i think 2026-01-21 15:44:33 +01:00
Víctor Losada Hernández
ca426ff68c lint 2026-01-21 09:20:55 +01:00
Víctor Losada Hernández
9e8cdacc68 fix back the vitreum thing 2026-01-20 22:39:18 +01:00
Víctor Losada Hernández
955457f22f some more fixes 2026-01-20 22:31:28 +01:00
Víctor Losada Hernández
fc8656e05b all imports 2026-01-20 22:14:34 +01:00
Víctor Losada Hernández
0d6c3c7e33 fix module.exports 2026-01-20 19:56:37 +01:00
G.Ambatte
4370597587 Normalize brew text before hashing 2026-01-11 21:02:12 +13:00
Víctor Losada Hernández
044b8bf44c fix vault pagination going wild 2026-01-03 17:34:14 +01:00
Víctor Losada Hernández
5e7fdb34a9 Revert "remove new brew nav item from new page"
This reverts commit b6478f3964.
2025-11-15 23:40:01 +01:00
Víctor Losada Hernández
b6478f3964 remove new brew nav item from new page 2025-11-15 17:25:25 +01:00
Víctor Losada Hernández
f18a73e1ff fix glitch in newPage 2025-11-15 17:25:05 +01:00
Trevor Buckner
fa9f180759 Modify slightly to follow the existing structure in editPage.jsx for easier merging of these pages later 2025-11-14 22:59:34 -05:00
G.Ambatte
d73b695127 Merge branch 'master' into master 2025-11-15 14:34:13 +13:00
Trevor Buckner
76a4ff11b3 Merge branch 'master' into fixUserPageLinks-#807 2025-11-14 17:19:45 -05:00
MiniX16
b66625e59d Handle unsaved warning with onbeforeunload 2025-11-13 12:16:37 +01:00
Trevor Buckner
2012f373c0 Merge branch 'master' into fixEditPageGoogleTransfer 2025-11-12 14:46:41 -05:00
MiniX16
590688f123 Add unsaved-change warning to Home page editor 2025-11-12 17:59:28 +01:00
G.Ambatte
6a4ea2c6c9 Move toggleGoogleStorage's trySave call to useEffect block 2025-11-11 22:06:44 +13:00
Víctor Losada Hernández
8d2744d106 Merge branch 'master' into Move-Nav.JSX 2025-11-10 23:38:21 +01:00
Víctor Losada Hernández
71462ef782 Merge branch 'master' into fixSaveOnNewPage 2025-11-10 23:33:43 +01:00
Gazook89
2ce13f61e1 update relative paths to absolute paths 2025-11-09 23:29:55 -06:00
Gazook89
6db4bf2274 Merge branch 'master' into Move-Nav.JSX 2025-11-09 23:24:21 -06:00
Trevor Buckner
1c8ef9ff3e Merge branch 'master' into move-SVGs-to-components 2025-11-09 18:37:20 -05:00
Trevor Buckner
e6e66ec1cc Merge branch 'master' into Move-Nav.JSX 2025-11-09 18:19:28 -05:00
G.Ambatte
20d38d03d6 Rename New Page save function to trySave for better Edit Page compatibility 2025-11-06 22:29:43 +13:00
Gazook89
c5aa774daa Move markdown.js and markdownlegacy.js
Moves the two files up a level, directly in `/shared/`.  Everything else is just updating paths for that.
2025-11-04 22:29:28 -06:00
Gazook89
c38cc77fd0 Move SVG components to components folder
Move the SVGs out of the `shared` directory, closer to where they are actually used.  They are svg jsx files, setup as components, so i've moved them to the components directory.

Deleted `combat.svg.jsx` because we don't use it anywhere.

renamed the remaining two to be more descriptive of the image for additional clarity.
2025-11-04 12:52:12 -06:00
Gazook89
081fd6f39d Move nav.jsx from shared to client directory
Moving the one file, changing a lot of imports (18 files), and deleting a directory.
2025-11-03 20:58:00 -06:00
Víctor Losada Hernández
7502a260ea initial commit 2025-10-15 23:21:00 +02:00
G.Ambatte
5e35ae0c8b Merge branch 'master' into addDBCheckMiddleware 2025-10-06 18:12:40 +13:00
Trevor Buckner
63bebe1efd Lint everything
Catching up on a bunch of linting so random changes stop showing up on PRs when the linter is run.
2025-10-06 00:02:24 -04:00
G.Ambatte
8b2c8c0feb Merge branch 'master' into addDBCheckMiddleware 2025-10-06 16:48:37 +13:00
Trevor Buckner
41aebf084b Make the renderSaveButton() function common between edit/new/home
Each of the edit/home/new pages renders its save button differently. This makes it a common function with all the same possible render states (does the document have unsaved changes? Is it already saved? Was it auto-saved?).

- Common save button
- Adds the "save" button to /home page which wasn't there before
- Animates the "save" button in /home and /new when the user makes their first change to signal that yes, you do have to actually click the save button if you want to keep this.
- "reminder... you haven't saved for X minutes" still not functional on /new and /home since that involves more moving pieces.
2025-10-05 21:57:19 -04:00
Trevor Buckner
12052853db Merge branch 'master' into new/home/edit/_unsavedChanges_common 2025-10-05 20:07:56 -04:00
Víctor Losada Hernández
ac18f4bd1d Merge branch 'master' of https://github.com/naturalcrit/homebrewery into fix-red-background 2025-10-05 19:43:29 +02:00
Trevor Buckner
2c4c4b8f92 Make unsavedChanges state common
/editPage.jsx uses `unsavedChanges` state to detect when autosave should fire, or unsaved changes warning should display.

/homePage.jsx uses a similar check (different variables) to detect when to show the popup "save now"! button

/newPage.jsx doesn't do any of this, but probably should pop up a warning when saving hasn't happened for a long time

This commit just gives all of the pages the same common `unsavedChanges` state, calculated in the same way, and updates any sections that depend on that updated state.

This is precursor work to adding "unsaved changes" warnings to all three pages.
2025-10-04 22:17:24 -04:00
G.Ambatte
d40f8ff380 Merge branch 'master' into addDBCheckMiddleware 2025-10-05 14:58:56 +13:00
Trevor Buckner
6057b35d19 Merge branch 'master' into UnifyNewHomeEdit-Structure&Naming 2025-10-04 21:48:10 -04:00
Trevor Buckner
20e12ebcb5 Remove handler function for cursor/renderer page. Use setState directly 2025-10-04 21:39:24 -04:00
G.Ambatte
18367526bd Merge branch 'master' into standardizeLocalStorageKeyNames-#4119 2025-10-04 13:07:51 +13:00
Víctor Losada Hernández
e8a0681015 Merge branch 'master' of https://github.com/naturalcrit/homebrewery into fix-red-background 2025-10-03 21:37:06 +02:00
Trevor Buckner
ba23763294 Merge branch 'master' into UnifyNewHomeEdit-Structure&Naming 2025-10-02 19:45:42 -04:00
Trevor Buckner
1c6a39363c Combine handleText/Style/Snippet/Meta functions into common function
Also adds any related imports and key names
2025-10-02 19:33:15 -04:00
Trevor Buckner
bcca5fa97d In /homepage, rename brew state to currentBrew to match /new and /edit 2025-10-02 19:27:45 -04:00
Trevor Buckner
51b91567f6 Merge branch 'master' into fix-red-background 2025-10-02 18:39:31 -04:00
G.Ambatte
900cf6aebb Change SAVEKEY definition to after username is populated 2025-10-02 22:59:24 +13:00
Víctor Losada Hernández
ff5450ad8c Merge branch 'master' of https://github.com/naturalcrit/homebrewery into fix-red-background 2025-09-29 22:28:12 +02:00
Trevor Buckner
07495b0dea Make Print/Vault/New common nav buttons to all pages 2025-09-29 12:48:25 -04:00
G.Ambatte
9f3944d038 Merge branch 'master' into fixUserPageLinks-#807 2025-09-29 23:14:59 +13:00