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

9468 Commits

Author SHA1 Message Date
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
Trevor Buckner 42455bc5e5 Merge pull request #4815 from G-Ambatte/increasePatchLogging
Add logging of failed patches
2026-05-14 10:52:51 -04:00
G.Ambatte eec4cf8167 Comment out excessive logging items 2026-05-14 21:17:18 +12:00
Víctor Losada Hernández 16948f451f add a comment 2026-05-14 11:08:09 +02:00
G.Ambatte 26ef5b10a0 Check for failed patches 2026-05-14 20:36:44 +12: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