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

9465 Commits

Author SHA1 Message Date
Gazook89 d3566d896b Move Code Bold/Light to fonts directory 2026-04-30 22:28:56 -05:00
Gazook89 e34c5f9b32 Add font files, remove google fonts references
Adds a `shared/naturalcrit/styles/fonts` directory, and Open Sans font files for the 4 weights we were pulling from Google Fonts.
2026-04-30 22:28:04 -05:00
Gazook89 d79c4d92f5 Merge remote-tracking branch 'upstream/master' 2026-04-30 21:25:21 -05:00
Gazook89 9935f54080 Update variables.test.js 2026-04-30 21:11:33 -05:00
Gazook89 9af2577c6e Add print cycle events and loading msg
Since the print cycle now loads all images not-yet-loaded (due to lazy loading), there can be a moment of time where it appears pressing Get PDF is doing nothing, depending on connection speed.  To add a "loading" message, a custom event is fired at the start and end of the print cycle (before the print dialog comes up).
2026-04-30 21:05:08 -05:00
Gazook89 d04f401c90 Fix lazy loading Print issues
When initiating the print dialog, it first grabs all img elements with `loading="lazy"` attribute, flips that to `eager`,  and then waits for every image to load before resolving a promise and opening the Print dialog.
2026-04-29 23:38:37 -05:00
Gazook89 a973a5db0d Update mustache-syntax.test.js 2026-04-28 22:51:27 -05:00
Gazook89 a2e5688ede Add lazy loading to images 2026-04-28 22:21:35 -05:00
Víctor Losada Hernández 5426aa82c1 Merge pull request #4773 from Gazook89/Close-Theme-Selector-on-Selection
Close Theme Selector on Selection
2026-04-27 11:45:48 +02:00
Gazook89 00efbb7244 fix state variable themeSelector 2026-04-26 21:09:18 -05:00
Gazook89 d368e53b30 add some comments 2026-04-26 10:44:52 -05:00
Gazook89 5b11827c56 fix disabled attribute 2026-04-25 23:33:04 -05:00
Gazook89 4d3179fc35 remove unused less file 2026-04-25 23:32:48 -05:00
Gazook89 d686c78fdf fix oddbird polyfill so custom properties are used correctly
Co-authored-by: Copilot <copilot@github.com>
2026-04-25 22:16:25 -05:00
David Bolack cf9276540c Merge branch 'master' of github.com:naturalcrit/homebrewery 2026-04-25 13:24:38 -05:00
Víctor Losada Hernández adfb9a2128 remove log on themes 2026-04-25 18:26:28 +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
Gazook89 359d87440b add oddbird polyfill - not quite working
Not quite working yet.  polyfill is loaded, but positioned elements are spanning whole viewport.  Parking this for now.
2026-04-24 22:06:52 -05:00
Gazook89 87ed5d107d add jsdoc documentation. 2026-04-24 20:32:05 -05:00
Gazook89 c0c4db95a4 remove id attribute from component 2026-04-24 10:19:16 -05:00
Víctor Losada Hernández 8872adfd95 make sure tall images fit 2026-04-24 13:18:18 +02:00
Víctor Losada Hernández fac3ef15fa format 2026-04-24 12:42:14 +02:00
Víctor Losada Hernández 0587266e22 repair injection highlight and add image previews 2026-04-24 12:34:16 +02:00
Víctor Losada Hernández cb4bc16c69 move codemirror extensions into their own folder 2026-04-24 10:17:28 +02:00
Víctor Losada Hernández c12bdcd042 Merge pull request #4752 from Frederlk/feature/copy-url-with-page
Add "copy url (page N)" share option in edit and share views
2026-04-24 09:57:31 +02:00
Víctor Losada Hernández 19106f89a8 Merge branch 'master' into feature/copy-url-with-page 2026-04-24 09:54:25 +02:00
Gazook89 285522d820 all snippet buttons are actually buttons now 2026-04-23 22:56:29 -05:00
Gazook89 904b14af19 icons in triggers and menus are aligned. 2026-04-23 22:52:39 -05:00
Gazook89 0c78a23c76 remove testing menu 2026-04-23 22:28:21 -05:00
Gazook89 992b72ee6f empty menus styled as disabled 2026-04-23 22:17:52 -05:00
Gazook89 8bebbdac5d restore styling to work with new structure.
Co-authored-by: Copilot <copilot@github.com>
2026-04-23 22:10:51 -05:00
Víctor Losada Hernández 0323d4d2f6 Merge pull request #4765 from naturalcrit/add-cm-themes
update codemirror themes
2026-04-24 01:08:34 +02:00
Víctor Losada Hernández cadf9ca63b update codemirror themes 2026-04-24 01:05:29 +02:00
Víctor Losada Hernández b18fb337b5 Merge branch 'master' of https://github.com/naturalcrit/homebrewery into fix-CM-bugs 2026-04-23 21:39:25 +02:00
Trevor Buckner 21bca02eee Merge pull request #4764 from naturalcrit/Fix-Colons-break-highlighting
Fix multiline Definition List highlight breaking
2026-04-23 14:39:32 -04:00
Trevor Buckner 4fee82d3b7 Simplify regex, fix crash on empty desc.length, only highlight if there is a Term line with content 2026-04-23 14:36:55 -04:00
Trevor Buckner c341e8ffdc Merge pull request #4763 from naturalcrit/Fix-bold/italic-hotkey-selection
Make common "wrapSelected" function
2026-04-23 13:04:52 -04:00
Trevor Buckner 1cd4a69854 Make common "wrapSelected" function 2026-04-23 13:00:32 -04:00
Gazook89 4f953da0fe caret menu indicators work, point correct direction 2026-04-23 10:54:27 -05:00
Gazook89 3b6c7acdbf snippet submenu triggers don't fire events onclick
Co-authored-by: Copilot <copilot@github.com>
2026-04-23 10:42:58 -05:00
Gazook89 2232d5265f Add basic nesting dropdown component
Co-authored-by: Copilot <copilot@github.com>
2026-04-23 10:21:52 -05:00
Gazook89 b5cd7b7a40 package-lock change? 2026-04-23 10:21:20 -05:00
Gazook89 dc8ff1ceab Merge remote-tracking branch 'upstream/master' 2026-04-22 21:38:38 -05:00
Trevor Buckner fa487ede6e Merge pull request #4757 from naturalcrit/fix-CM-bugs
Fix codemirror bugs 2 (they just keep coming)
2026-04-22 21:34:17 -04:00
Víctor Losada Hernández 889b5de9c6 update themes 2026-04-22 19:30:49 +02:00
Víctor Losada Hernández 7139993e15 repair shortcuts to put the cursor at the center if there is no selection 2026-04-22 17:32:26 +02:00
Víctor Losada Hernández f863871173 move darkvision to library, and sort themes 2026-04-22 17:05:17 +02:00
Víctor Losada Hernández 49e4f0a597 css reordering 2026-04-22 12:34:50 +02:00
Trevor Buckner 2f49ef0f62 Merge pull request #4750 from naturalcrit/add-cm-themes
add back cm5-themes
2026-04-21 20:43:38 -04:00