0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-05-07 16:38:38 +00:00
Commit Graph

9334 Commits

Author SHA1 Message Date
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 3978c4ae1e Merge pull request #4781 from Gazook89/Tweak-Injection-highlighting
Fix issue with closing brace not highlighting
2026-05-04 16:15:50 +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 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
Gazook89 a34a5d187b Fix issue with closing brace not highlighting 2026-05-02 15:36:56 -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
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
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 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
Víctor Losada Hernández a46c776398 proper selection highlight 2026-04-22 00:38:57 +02:00
Víctor Losada Hernández 7d19c4bcd7 fix cm error 2026-04-22 00:03:29 +02:00
Víctor Losada Hernández f59d8f9b05 add back things we had 2026-04-21 23:57:32 +02:00
Víctor Losada Hernández a253e5d85a restore two keybinds 2026-04-21 23:50:28 +02:00
Víctor Losada Hernández cd946bffaf remove old cm themes library 2026-04-21 23:19:02 +02:00
Víctor Losada Hernández 21cb91e0c6 update cm theme library 2026-04-21 23:10:32 +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
Víctor Losada Hernández 0ed772b054 add back cm5-themes 2026-04-21 20:50:04 +02:00
Trevor Buckner 1c6b47c5f2 Merge pull request #4746 from naturalcrit/fix-CM-bugs
fix newpage keybind
2026-04-20 21:57:31 -04:00
Víctor Losada Hernández 710ddbdd38 foldAll now folds pages only 2026-04-20 23:02:02 +02:00
Víctor Losada Hernández c856439191 fix newpage keybind 2026-04-20 21:54:11 +02:00
Trevor Buckner b41d4715e3 Merge pull request #4744 from naturalcrit/v3.22.0
Up to v3.22.0 and changelog
2026-04-20 09:58:27 -04:00
Trevor Buckner b5c60b3180 Up to v3.22.0 and changelog 2026-04-20 09:57:44 -04:00
Trevor Buckner c199d2d749 Merge pull request #4689 from naturalcrit/update-Codemirror
Update Codemirror
2026-04-19 22:43:21 -04:00