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

1245 Commits

Author SHA1 Message Date
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
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 899737b558 use fa-hashtag icon for copy-url-with-page item 2026-04-21 23:01:24 +03: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 893deac57e Fix CSS 2026-04-03 15:25:16 -05:00
David Bolack 3f7cc4682b Override the .homebrew class background on the embed page per recommendation. 2026-03-29 11:57:21 -05:00
David Bolack edaff80bd3 Fixed! 2026-03-28 22:36:04 -05:00
David Bolack 0be91191aa a little better but WTF 2026-03-28 19:07:46 -05:00
David Bolack 16bfffe78f I need extra eyes. 2026-03-28 18:29:15 -05:00
David Bolack e61556e43b I feel like there is a cleaner way to handle this, but this embeds as desired and it doesn't blink 2026-03-28 15:24:49 -05:00
db ca160d7d83 Start adding new class 2026-03-28 13:44:43 -05: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 dd158000a1 bring back error pages 2026-03-11 12:53:38 +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
David Bolack 1f7662adb7 Merge branch 'master' into HTMLDownload 2026-02-27 09:59:13 -06: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 d0265a9978 shared styles to alias 2026-02-25 18:30:44 +01:00
Víctor Losada Hernández 1e0c09243a navbar alias 2026-02-25 18:24:54 +01:00
Víctor Losada Hernández fdd495bfbb more testing 2026-02-25 11:42:59 +01:00
Víctor Losada Hernández 62b816878d testing aliases 2026-02-25 11:41:09 +01:00
Víctor Losada Hernández d1d89d033e Merge branch 'master' of https://github.com/naturalcrit/homebrewery into vitreum-to-vite 2026-02-24 20:52:48 +01:00
David Bolack f16c8b7663 Add /embed endpoint
This duplicates the share endpoint. It uses the Share Page template
with a boolean for share vs embed to toggle displaying the navbar
and toolbar.

Added a showToolbar property to brewRender to toggle... showing
the toolbar.
2026-02-06 18:01:53 -06: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 2534f23c24 fixing css 2026-02-02 00:04:23 +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
David Bolack 371ba0a93f Merge branch 'master' into moveSnippetImages 2026-01-27 20:25:11 -06:00
David Bolack e6df660522 Rename files 2026-01-27 20:06:51 -06: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 eda1fb29c6 start changing imports 2026-01-24 00:04:32 +01:00
Víctor Losada Hernández 2f19b7658c dedent-tabs to dedent 2026-01-23 19:10:56 +01:00
Víctor Losada Hernández 0b5f039337 path changes 2026-01-23 19:07:24 +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
Víctor Losada Hernández dbeff56ffa change legacy snippets to use named exports and move from dedent-tabs to dedent 2026-01-23 17:38:16 +01:00
Víctor Losada Hernández b72e5b9172 fix file imports 2026-01-23 17:18:03 +01:00
Víctor Losada Hernández 14a2e3f8fd Merge branch 'master' of https://github.com/naturalcrit/homebrewery into vitreum-to-vite 2026-01-22 22:38:18 +01:00
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