0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-06-22 04:58:40 +00:00
Commit Graph

9407 Commits

Author SHA1 Message Date
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 09ff29bf3e Merge pull request #4778 from naturalcrit/dependabot/npm_and_yarn/prod-dependencies-774995e115
Bump the prod-dependencies group across 1 directory with 3 updates
2026-05-04 15:24:26 +02:00
dependabot[bot] 1f2a3b164b Bump the prod-dependencies group across 1 directory with 3 updates
Bumps the prod-dependencies group with 3 updates in the / directory: [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env), [mongoose](https://github.com/Automattic/mongoose) and [nanoid](https://github.com/ai/nanoid).


Updates `@babel/preset-env` from 7.29.2 to 7.29.3
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.29.3/packages/babel-preset-env)

Updates `mongoose` from 9.5.0 to 9.6.1
- [Release notes](https://github.com/Automattic/mongoose/releases)
- [Changelog](https://github.com/Automattic/mongoose/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Automattic/mongoose/compare/9.5.0...9.6.1)

Updates `nanoid` from 5.1.7 to 5.1.11
- [Release notes](https://github.com/ai/nanoid/releases)
- [Changelog](https://github.com/ai/nanoid/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ai/nanoid/compare/5.1.7...5.1.11)

---
updated-dependencies:
- dependency-name: "@babel/preset-env"
  dependency-version: 7.29.3
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: prod-dependencies
- dependency-name: mongoose
  dependency-version: 9.6.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: prod-dependencies
- dependency-name: nanoid
  dependency-version: 5.1.11
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: prod-dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-05-04 03:27:51 +00:00
Víctor Losada Hernández e2256be4aa Merge pull request #4785 from 5e-Cleric/fix-page-count-regex
Fix page count regex
2026-05-04 00:47:42 +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
Víctor Losada Hernández 4edae9ef5a some cleanup 2026-05-03 18:01:37 +02:00
Víctor Losada Hernández 6faca50a19 simplify 2026-05-03 18:00:15 +02:00
Víctor Losada Hernández d758fc2d20 fix scroll to page not working after switching editors 2026-05-03 17:53:09 +02:00
Víctor Losada Hernández f1bbac6583 Merge branch 'master' of https://github.com/naturalcrit/homebrewery into fix-CM-bugs 2026-05-03 17:18:34 +02:00
Gazook89 a34a5d187b Fix issue with closing brace not highlighting 2026-05-02 15:36:56 -05:00
Gazook89 34d634a349 Fix font snippet "Open Sans"
Previously it was using 'OpenSans' as the font name, when it's actually 'Open Sans'.
2026-05-01 15:17:30 -05:00
Gazook89 137b6bc690 remove unused 300 & 600 font weights
Only 400 and "800" are used in the codebase for Open Sans.  And, we've only ever had up to 700 as available weights, so everything that is set to "800" is actually getting weight 700 (which looks better).
2026-05-01 11:03:52 -05:00
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 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
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
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
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
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
Víctor Losada Hernández 93ce778c0d fix tests and update library 2026-04-22 01:29:37 +02:00
Víctor Losada Hernández db82bd8123 fix darkbrewery 2026-04-22 01:26:34 +02:00
Víctor Losada Hernández 0f5404fef8 lock sync 2026-04-22 01:19:28 +02:00
Víctor Losada Hernández 5c675fe04a update themes 2026-04-22 01:09:48 +02:00
Víctor Losada Hernández e0ee22a8df add important 2026-04-22 00:49:42 +02:00
Víctor Losada Hernández 649f606a0e lets try this 2026-04-22 00:46:12 +02:00