0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-08-06 11:07:37 +00:00
Commit Graph

3451 Commits

Author SHA1 Message Date
Gazook89 c12a188196 Be sure snippet icon is getting passed in 2026-05-28 11:45:14 -05:00
Gazook89 13196941eb popovertarget is typically not camelcase in html 2026-05-28 11:43:33 -05:00
Gazook89 3110d2cc69 Add icons to menu triggers
This fixes the odd alignments of menu-wrapper names by ensuring that both menuitems and menu-wrappers (actually their child triggers) both have space for icons.
2026-05-28 11:43:05 -05:00
Gazook89 2e4439c9f4 Remove ID collisions on repeated menu names
Add React `useId()` method, safely stripped of invalid characters for use in CSS/HTML, to make each trigger/menu unique to avoid collisions.
2026-05-28 11:41:27 -05:00
Gazook89 5e122626d4 Merge branch 'master' into Better-Dropdowns 2026-05-27 22:22:34 -05:00
Gazook89 612614fa12 menu items dismiss menu on click by default
Unless a menu item has the `no-dismiss` attribute (set to either `''` or `'true'`), clicking a menu item will dismiss the menu.  Clicking a submenu trigger will not dismiss the menu.

The `no-dismiss` attribute must take a string, either empty or `'true'` because react doesn't allow boolean custom attributes.
2026-05-27 22:21:28 -05:00
Víctor Losada Hernández fff0b4d670 moving to try catch better 2026-05-27 18:49:48 +02:00
Víctor Losada Hernández 5f7a3db441 brewCleanup to functional component 2026-05-27 18:42:47 +02:00
Víctor Losada Hernández 72610c03ff Merge branch 'master' of https://github.com/naturalcrit/homebrewery into add-image-preview 2026-05-23 09:19:25 +02:00
Víctor Losada Hernández 7a0348536c fix image request going crazy 2026-05-23 09:18:04 +02:00
Víctor Losada Hernández 305a668799 Merge branch 'master' into Open-Sans---Installed-vs-Google-Fonts 2026-05-22 22:48:16 +02:00
Gazook89 029d2c9f33 Merge branch 'master' into Lazy-Load-Images 2026-05-22 15:04:17 -05:00
Víctor Losada Hernández 15df8f2a22 Merge branch 'master' of https://github.com/naturalcrit/homebrewery into add-image-preview 2026-05-21 00:34:58 +02:00
David Bolack dff93002d0 Clarify Regex behavior
Add short circuit so the full hoisting only happens on brew load rather than every parse.
Remove stray CR in unrelated file.
2026-05-18 21:59:56 -05:00
David Bolack 84fbf75f0c Merge branch 'master' into preloadVars 2026-05-18 21:50:32 -05:00
David Bolack ea9d114156 Merge branch 'master' of github.com:naturalcrit/homebrewery 2026-05-18 21:25:05 -05:00
Víctor Losada Hernández 15db3c9f66 lint client 2026-05-18 16:21:57 +02:00
Víctor Losada Hernández 074af5e8e0 more solid block tokenizing 2026-05-16 16:28:53 +02:00
Víctor Losada Hernández 16948f451f add a comment 2026-05-14 11:08:09 +02:00
David Bolack f0b381417d Merge branch 'master' of github.com:naturalcrit/homebrewery 2026-05-13 13:59:38 -05:00
Víctor Losada Hernández 0bee33efc0 file removal 2026-05-13 20:58:40 +02:00
Víctor Losada Hernández d630882f18 add padding 2026-05-13 12:51:45 +02:00
Víctor Losada Hernández 0721a69345 Merge branch 'master' of https://github.com/naturalcrit/homebrewery into add-image-preview 2026-05-13 12:50:49 +02:00
Víctor Losada Hernández 3c4bafd1ad eslint changes 2026-05-13 12:46:10 +02:00
Víctor Losada Hernández 097b941580 move to use html img element 2026-05-13 12:45:46 +02:00
Víctor Losada Hernández c66310fbe7 linting 2026-05-13 12:09:43 +02:00
Víctor Losada Hernández df4c59cbd6 move highlight plugin into its own file 2026-05-13 12:06:21 +02:00
Víctor Losada Hernández 0f7aa0ad49 change tok for token 2026-05-13 11:49:41 +02:00
Víctor Losada Hernández 2971fe0679 add transition delay 2026-05-13 11:47:00 +02:00
Víctor Losada Hernández b39502d806 lint more 2026-05-10 19:42:02 +02:00
Víctor Losada Hernández aac384390b lint 2026-05-10 19:41:11 +02:00
Víctor Losada Hernández 70d9614fb1 lint 2026-05-10 19:39:26 +02:00
Víctor Losada Hernández 793adafe32 fix work on first load for images inside other nodes 2026-05-10 19:35:09 +02:00
Víctor Losada Hernández e521db78ce Merge branch 'master' of https://github.com/naturalcrit/homebrewery into add-image-preview 2026-05-10 19:10:23 +02:00
Víctor Losada Hernández 01060c38c8 make wrapselection work with multiple selections 2026-05-08 23:23:48 +02:00
Gazook89 f5acb27c34 Revert "Fix font snippet "Open Sans""
This reverts commit 34d634a349.
2026-05-05 22:38:43 -05:00
Víctor Losada Hernández 69b2bfb0b9 Merge branch 'master' into fix-CM-bugs 2026-05-05 14:18:01 +02: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 9f6e03fd80 add strikethrough highlight 2026-05-04 16:24:41 +02:00
Víctor Losada Hernández 43c9f35f3c Merge branch 'master' of https://github.com/naturalcrit/homebrewery into fix-CM-bugs 2026-05-04 16:16:02 +02:00
Víctor Losada Hernández 80093a1998 remove console.log 2026-05-04 16:13:15 +02:00
Víctor Losada Hernández 479834cea8 Merge branch 'master' into Tweak-Injection-highlighting 2026-05-04 16:09:30 +02:00
Víctor Losada Hernández 60b5f6bac2 fix tab insert 2026-05-04 16:06:53 +02:00
Víctor Losada Hernández 41ea3ba987 Merge branch 'master' of https://github.com/naturalcrit/homebrewery into fix-CM-bugs 2026-05-04 16:03:26 +02:00
Víctor Losada Hernández 6e39a70706 lint 2026-05-04 16:03:07 +02:00
Víctor Losada Hernández 102d1f4186 restore folds when changing tab 2026-05-04 16:02:15 +02:00
Víctor Losada Hernández 65d1106974 this should fix it 2026-05-04 00:42:10 +02:00
Víctor Losada Hernández 72465317f3 store scroll positions 2026-05-04 00:31:43 +02:00