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

9487 Commits

Author SHA1 Message Date
Gazook89 80e14898be Update package-lock.json 2026-06-10 12:31:29 -05:00
Gazook89 e02ce4f898 Merge remote-tracking branch 'upstream/master' 2026-06-10 12:30:33 -05:00
Víctor Losada Hernández 70ca2a0bb8 Merge pull request #4863 from naturalcrit/dependabot/npm_and_yarn/prod-dependencies-45b30eb613
Bump the prod-dependencies group across 1 directory with 4 updates
2026-06-10 08:47:40 +02:00
dependabot[bot] c67ac53447 Bump the prod-dependencies group across 1 directory with 4 updates
Bumps the prod-dependencies group with 4 updates in the / directory: [@codemirror/autocomplete](https://github.com/codemirror/autocomplete), [@codemirror/view](https://github.com/codemirror/view), [mongoose](https://github.com/Automattic/mongoose) and [react-router](https://github.com/remix-run/react-router/tree/HEAD/packages/react-router).


Updates `@codemirror/autocomplete` from 6.20.2 to 6.20.3
- [Changelog](https://github.com/codemirror/autocomplete/blob/main/CHANGELOG.md)
- [Commits](https://github.com/codemirror/autocomplete/commits)

Updates `@codemirror/view` from 6.43.0 to 6.43.1
- [Changelog](https://github.com/codemirror/view/blob/main/CHANGELOG.md)
- [Commits](https://github.com/codemirror/view/commits)

Updates `mongoose` from 9.6.3 to 9.7.0
- [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.6.3...9.7.0)

Updates `react-router` from 7.16.0 to 7.17.0
- [Release notes](https://github.com/remix-run/react-router/releases)
- [Changelog](https://github.com/remix-run/react-router/blob/main/packages/react-router/CHANGELOG.md)
- [Commits](https://github.com/remix-run/react-router/commits/react-router@7.17.0/packages/react-router)

---
updated-dependencies:
- dependency-name: "@codemirror/autocomplete"
  dependency-version: 6.20.3
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: prod-dependencies
- dependency-name: "@codemirror/view"
  dependency-version: 6.43.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: prod-dependencies
- dependency-name: mongoose
  dependency-version: 9.7.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: prod-dependencies
- dependency-name: react-router
  dependency-version: 7.17.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: prod-dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-06-10 03:23:50 +00:00
Gazook89 1861d036b9 add key to dropdown menuitem 2026-06-09 06:25:31 -05:00
Víctor Losada Hernández e06626e1b4 Merge pull request #4851 from naturalcrit/dependabot/npm_and_yarn/prod-dependencies-5933c7efe7
Bump the prod-dependencies group across 1 directory with 12 updates
2026-06-02 18:06:53 +02:00
dependabot[bot] 0c0579a9d3 Bump the prod-dependencies group across 1 directory with 12 updates
Bumps the prod-dependencies group with 12 updates in the / directory:

| Package | From | To |
| --- | --- | --- |
| [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) | `7.29.0` | `7.29.7` |
| [@babel/plugin-transform-runtime](https://github.com/babel/babel/tree/HEAD/packages/babel-plugin-transform-runtime) | `7.29.0` | `7.29.7` |
| [@babel/preset-react](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-react) | `7.28.5` | `7.29.7` |
| [@googleapis/drive](https://github.com/googleapis/google-api-nodejs-client) | `20.1.0` | `20.2.0` |
| [dedent](https://github.com/dmnd/dedent) | `1.7.1` | `1.7.2` |
| [fflate](https://github.com/101arrowz/fflate) | `0.8.2` | `0.8.3` |
| [idb-keyval](https://github.com/jakearchibald/idb-keyval) | `6.2.2` | `6.2.5` |
| [js-yaml](https://github.com/nodeca/js-yaml) | `4.1.1` | `4.2.0` |
| [marked-emoji](https://github.com/UziTech/marked-emoji) | `2.0.2` | `2.0.3` |
| [marked-gfm-heading-id](https://github.com/markedjs/marked-gfm-heading-id) | `4.1.3` | `4.1.4` |
| [react](https://github.com/facebook/react/tree/HEAD/packages/react) | `19.2.6` | `19.2.7` |
| [react-dom](https://github.com/facebook/react/tree/HEAD/packages/react-dom) | `19.2.6` | `19.2.7` |



Updates `@babel/core` from 7.29.0 to 7.29.7
- [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.7/packages/babel-core)

Updates `@babel/plugin-transform-runtime` from 7.29.0 to 7.29.7
- [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.7/packages/babel-plugin-transform-runtime)

Updates `@babel/preset-react` from 7.28.5 to 7.29.7
- [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.7/packages/babel-preset-react)

Updates `@googleapis/drive` from 20.1.0 to 20.2.0
- [Release notes](https://github.com/googleapis/google-api-nodejs-client/releases)
- [Changelog](https://github.com/googleapis/google-api-nodejs-client/blob/20.2.0/CHANGELOG.md)
- [Commits](https://github.com/googleapis/google-api-nodejs-client/compare/20.1.0...20.2.0)

Updates `dedent` from 1.7.1 to 1.7.2
- [Release notes](https://github.com/dmnd/dedent/releases)
- [Changelog](https://github.com/dmnd/dedent/blob/main/CHANGELOG.md)
- [Commits](https://github.com/dmnd/dedent/compare/v1.7.1...v1.7.2)

Updates `fflate` from 0.8.2 to 0.8.3
- [Release notes](https://github.com/101arrowz/fflate/releases)
- [Changelog](https://github.com/101arrowz/fflate/blob/master/CHANGELOG.md)
- [Commits](https://github.com/101arrowz/fflate/compare/v0.8.2...v0.8.3)

Updates `idb-keyval` from 6.2.2 to 6.2.5
- [Changelog](https://github.com/jakearchibald/idb-keyval/blob/main/CHANGELOG.md)
- [Commits](https://github.com/jakearchibald/idb-keyval/compare/v6.2.2...v6.2.5)

Updates `js-yaml` from 4.1.1 to 4.2.0
- [Changelog](https://github.com/nodeca/js-yaml/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nodeca/js-yaml/commits)

Updates `marked-emoji` from 2.0.2 to 2.0.3
- [Release notes](https://github.com/UziTech/marked-emoji/releases)
- [Changelog](https://github.com/UziTech/marked-emoji/blob/main/release.config.cjs)
- [Commits](https://github.com/UziTech/marked-emoji/compare/v2.0.2...v2.0.3)

Updates `marked-gfm-heading-id` from 4.1.3 to 4.1.4
- [Release notes](https://github.com/markedjs/marked-gfm-heading-id/releases)
- [Changelog](https://github.com/markedjs/marked-gfm-heading-id/blob/main/release.config.cjs)
- [Commits](https://github.com/markedjs/marked-gfm-heading-id/compare/v4.1.3...v4.1.4)

Updates `react` from 19.2.6 to 19.2.7
- [Release notes](https://github.com/facebook/react/releases)
- [Changelog](https://github.com/facebook/react/blob/main/CHANGELOG.md)
- [Commits](https://github.com/facebook/react/commits/v19.2.7/packages/react)

Updates `react-dom` from 19.2.6 to 19.2.7
- [Release notes](https://github.com/facebook/react/releases)
- [Changelog](https://github.com/facebook/react/blob/main/CHANGELOG.md)
- [Commits](https://github.com/facebook/react/commits/v19.2.7/packages/react-dom)

---
updated-dependencies:
- dependency-name: "@babel/core"
  dependency-version: 7.29.7
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: prod-dependencies
- dependency-name: "@babel/plugin-transform-runtime"
  dependency-version: 7.29.7
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: prod-dependencies
- dependency-name: "@babel/preset-react"
  dependency-version: 7.29.7
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: prod-dependencies
- dependency-name: "@googleapis/drive"
  dependency-version: 20.2.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: prod-dependencies
- dependency-name: dedent
  dependency-version: 1.7.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: prod-dependencies
- dependency-name: fflate
  dependency-version: 0.8.3
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: prod-dependencies
- dependency-name: idb-keyval
  dependency-version: 6.2.5
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: prod-dependencies
- dependency-name: js-yaml
  dependency-version: 4.2.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: prod-dependencies
- dependency-name: marked-emoji
  dependency-version: 2.0.3
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: prod-dependencies
- dependency-name: marked-gfm-heading-id
  dependency-version: 4.1.4
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: prod-dependencies
- dependency-name: react
  dependency-version: 19.2.7
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: prod-dependencies
- dependency-name: react-dom
  dependency-version: 19.2.7
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: prod-dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-06-02 14:33:00 +00:00
Víctor Losada Hernández c1c3c1ee16 Merge pull request #4593 from dbolack-ab/V4_Persistant_Templates
Template class persistence
2026-06-02 16:28:01 +02:00
David Bolack 36ae3734fb Merge branch 'master' into V4_Persistant_Templates
Change enable_v4 to enableV4 to shut up linter.
2026-05-29 21:06:55 -05:00
Gazook89 a3469a172a Move tests to tests/components directory 2026-05-29 15:58:00 -05:00
Gazook89 cf8f809eec Cleanup some loose ends. 2026-05-29 15:57:41 -05:00
Gazook89 03890fd329 Update package-lock.json 2026-05-29 13:03:40 -05:00
Gazook89 9c21e6dc8e update the reset to better vertically align icons 2026-05-29 11:38:14 -05:00
Gazook89 fa07af2d82 Add tests for the Dropdown structure and behavior
Largely this is written by an LLM after I provided the targets, and I've looked through the tests themselves to confirm they are accurate.  There may be improvements in how to actually *set up* the tests, though, as I am less familiar with those.

This has two test suites:  the first for html structure, the second for behavior.  Each of them calls another script that provides helper functions for setting things up and taking them down.  This keeps the test suites themselves fairly lean.
2026-05-29 11:08:05 -05:00
Gazook89 f716c390b9 Add some defaults to dropdown 2026-05-29 10:54:58 -05:00
Gazook89 e7df5d1160 remove experimental/beta tags on snippets. 2026-05-28 21:28:52 -05:00
Gazook89 bb3f6fe642 remove nonexistent icons. 2026-05-28 21:05:12 -05:00
Gazook89 af0804fd6f Remove non-existent icons 2026-05-28 11:46:12 -05:00
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 2812f30ac1 Merge remote-tracking branch 'upstream/master' 2026-05-27 22:21:54 -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 8ea954d4cf Merge pull request #4836 from 5e-Cleric/add-cleaning-tool-to-admin
brewCleanup to functional component
2026-05-27 20:38:08 +02: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 b16b3110f3 Merge pull request #4770 from 5e-Cleric/add-image-preview
Add image preview
2026-05-23 11:41:21 +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 908ec04c14 Merge pull request #4780 from Gazook89/Open-Sans---Installed-vs-Google-Fonts
Open Sans: Replace Google Fonts with Installed Fonts
2026-05-22 22:51:19 +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
Víctor Losada Hernández 63d918a428 Merge pull request #4776 from Gazook89/Lazy-Load-Images
Lazy Load Images
2026-05-22 22:47:44 +02:00
Gazook89 029d2c9f33 Merge branch 'master' into Lazy-Load-Images 2026-05-22 15:04:17 -05:00
Víctor Losada Hernández 2322999099 Merge pull request #4740 from dbolack-ab/preloadVars
Preload Marked Variables
2026-05-21 22:19:29 +02: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 bd96b4850e Merge pull request #4822 from naturalcrit/lint
Lint repository
2026-05-18 16:32:19 +02:00
Víctor Losada Hernández 8bc670b9be Merge branch 'master' of https://github.com/naturalcrit/homebrewery into lint 2026-05-18 16:28:30 +02:00
Víctor Losada Hernández 34b26107c6 lint server 2026-05-18 16:22:03 +02:00
Víctor Losada Hernández 15db3c9f66 lint client 2026-05-18 16:21:57 +02:00
Víctor Losada Hernández 4a565b929b lint themes 2026-05-18 16:21:46 +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 a220dad1eb Merge pull request #4816 from naturalcrit/dependabot/npm_and_yarn/dev-dependencies-eb4237a4f0
Bump stylelint from 17.11.0 to 17.11.1 in the dev-dependencies group across 1 directory
2026-05-15 12:39:53 +02:00
dependabot[bot] cd74792402 Bump stylelint in the dev-dependencies group across 1 directory
Bumps the dev-dependencies group with 1 update in the / directory: [stylelint](https://github.com/stylelint/stylelint).


Updates `stylelint` from 17.11.0 to 17.11.1
- [Release notes](https://github.com/stylelint/stylelint/releases)
- [Changelog](https://github.com/stylelint/stylelint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/stylelint/stylelint/compare/17.11.0...17.11.1)

---
updated-dependencies:
- dependency-name: stylelint
  dependency-version: 17.11.1
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: dev-dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-05-15 10:28:19 +00:00
Víctor Losada Hernández f1c2198514 Merge pull request #4817 from naturalcrit/dependabot/npm_and_yarn/prod-dependencies-0f7a747189
Bump the prod-dependencies group with 2 updates
2026-05-15 12:25:54 +02:00
dependabot[bot] fd9df5f6ae Bump the prod-dependencies group with 2 updates
Bumps the prod-dependencies group with 2 updates: [@codemirror/view](https://github.com/codemirror/view) and [react-router](https://github.com/remix-run/react-router/tree/HEAD/packages/react-router).


Updates `@codemirror/view` from 6.42.1 to 6.43.0
- [Changelog](https://github.com/codemirror/view/blob/main/CHANGELOG.md)
- [Commits](https://github.com/codemirror/view/commits)

Updates `react-router` from 7.15.0 to 7.15.1
- [Release notes](https://github.com/remix-run/react-router/releases)
- [Changelog](https://github.com/remix-run/react-router/blob/main/packages/react-router/CHANGELOG.md)
- [Commits](https://github.com/remix-run/react-router/commits/react-router@7.15.1/packages/react-router)

---
updated-dependencies:
- dependency-name: "@codemirror/view"
  dependency-version: 6.43.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: prod-dependencies
- dependency-name: react-router
  dependency-version: 7.15.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: prod-dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-05-15 03:23:59 +00:00