Commit Graph
3539 Commits
Author SHA1 Message Date
Víctor Losada Hernández ac30edffd6 lint 2026-08-23 20:16:10 +02:00
Víctor Losada Hernández b655454348 remove rerenderparent hook 2026-08-23 20:14:12 +02:00
Víctor Losada Hernández f53ed8c8e7 this is mostly working 2026-08-23 19:52:11 +02:00
Víctor Losada Hernández 921293d39f Merge branch 'master' of https://github.com/naturalcrit/homebrewery into Accessible-Dropdowns 2026-08-16 10:41:40 +02:00
Víctor Losada Hernández 3442c877f8 final touches to snippetbar breakpoints 2026-08-16 10:41:27 +02:00
Gazook89 eddc1421b2 Merge branch 'master' into Accessible-Dropdowns 2026-08-15 12:05:00 -05:00
Gazook89 88720aadce add initial-value 2026-08-15 12:02:58 -05:00
Gazook89 480c5c3eb6 update div to button.
conflict resolution with #4932-- preserves the intention of that PR, but with new structure of this PR.
2026-08-15 10:36:15 -05:00
Gazook89 1cf338b3e1 Merge branch 'master' into Nav.jsx-To-Functional-Component 2026-08-15 10:21:52 -05:00
durstann 5ddc0373b7 Fix a11y issues on the brew item card so screen reader users and keyboard navigators can use it. 2026-08-05 15:28:27 -07:00
Víctor Losada Hernández d15daa7ad2 Merge branch 'master' into labels 2026-08-04 16:04:07 +02:00
G.Ambatte c1ad9209a0 Merge branch 'master' into fixSafeHTML 2026-08-01 16:53:50 +12:00
Víctor Losada Hernández 98d579fc8a Merge branch 'master' into Accessible-Dropdowns 2026-07-29 18:38:57 +02:00
Víctor Losada Hernández 5d9497e387 Merge branch 'master' into fix-editor-theme-saving-incorrectly 2026-07-28 23:48:13 +02:00
durstann 2febc01ff4 add aria labels to toolbar elements 2026-07-28 01:26:00 -07:00
Gazook89 caeeabc735 fixes to colors, and editor wrapping breakpoint. 2026-07-27 21:47:58 -05:00
durstann 3628d1d57d Add nav buttons to the tab order and use semantic buttons so they are interactable with the keyboard 2026-07-26 23:47:10 -07:00
Víctor Losada Hernández 702fa6fe5c simple fix 2026-07-26 20:44:50 +02:00
Víctor Losada Hernández 5dff482920 Merge branch 'master' into add-back-selection-tabbing 2026-07-26 11:07:21 +02:00
G.Ambatte 341b3c24a4 Merge branch 'master' into fixSafeHTML 2026-07-26 11:08:44 +12:00
Víctor Losada Hernández 16ec16c6b8 small changes 2026-07-26 01:05:13 +02:00
Víctor Losada Hernández 2a6e77731b Merge branch 'master' of https://github.com/naturalcrit/homebrewery into add-remove-author-if-owner 2026-07-26 00:22:32 +02:00
G.Ambatte cd8df1c4b3 Merge branch 'master' into sandbox-renderer-iframe 2026-07-26 09:48:31 +12:00
Víctor Losada Hernández 71c13a89a8 Merge branch 'master' into render_a11y_squash 2026-07-25 23:44:49 +02:00
durstann 7d434fe939 Revert linter change 2026-07-23 18:57:01 -07:00
ReinaSweet 5fa7b95e19 Add a sandbox property to the renderer iframe to prevent any script execution
But still allow for print (via allow-modals), same-origin downloads, and top navigation (so that links work).
2026-07-18 03:02:41 -07:00
G.Ambatte e078f1f6fa Change safeHTML attribute check 2026-07-15 21:25:28 +12:00
Gazook89 4e5e5986cd refactor nav.jsx into functional component
Mostly a straightforward change to a functional component.  Smaller refactors include removing `_.omit` which isn't needed.
2026-07-13 22:41:42 -05:00
Gazook89 fd6fd98fdc Add @components aliases to vite config
And update all the files to point to that directory to use the alias.
2026-07-11 17:41:49 -05:00
Gazook89 fe297a47b2 cleanup extra css
Remove some unused css rules that weren't cut before, and a little bit of rearranging to group "dropdown" stuff together and "tools" together.
2026-07-09 14:14:21 -05:00
Gazook89 5d67d48436 Add custom properties to dropdown.less
Adds registered custom properties to the dropdown menus, which can be set in another stylesheet at any level (either on the direct element or on an ancestor) or use the default values given.
2026-07-09 14:13:22 -05:00
Gazook89 794c2fa09d add disabled attribute to items. beta to status
Adds the `disabled` attribute to a menu-item button if it's disabled, not just as a className.  Styling changes centered on that as well.

Also changes the `beta` class to `status` because it is used for both `beta` and `disabled` indicators.  Styling changes for that.
2026-07-09 14:10:49 -05:00
Gazook89 c5db25f076 set a relative color on menu triggers when open 2026-07-08 23:36:08 -05:00
Gazook89 6f1ad35492 add aria labels to items 2026-07-08 23:35:45 -05:00
Gazook89 5c4d498a99 add contain: content
tiny change for tiny performance
2026-07-08 22:26:37 -05:00
Gazook89 2e3f69b478 Remove unnecessary styling on .menu-wrapper
The styling in the dropdown.less file targeting `.menu-wrapper` was not doing anything.  Double checked on old firefox, too, in case it was needed for oddbird polyfill.
2026-07-08 22:09:25 -05:00
Gazook89 8e720d1c60 Set html structure to ul/li. Set roles.
The snippets are a `menubar` in terms of role, and is a list of items (`menitem`, `li`).

Note for myself:  submenus are `menu` roles that immediately follow their triggering `menuitem` and are direct children of the parent `menu`, per WCAG.  This is done in this commit.
2026-07-08 22:06:00 -05:00
Gazook89 f67ab5bb16 update brewRenderer.jsx 2026-07-04 20:25:01 -05:00
Gazook89 9048253c9c revert some unintended changes from an earlier merge
commit e02ce4f898 unintentionally undid some changes for v4 by dbolack, I'm not really sure how.  It's evidently not possible to directly "revert" those changes without having a conflicted file, i think something was borked in the process.

manually reverting the changes here, hopefully it works out.
2026-07-04 20:16:02 -05:00
Gazook89 416161e617 fix to previous commit. 2026-07-02 23:44:19 -05:00
Gazook89 3836150e42 hide arrows on snippetbar triggers, improve spacing
to decrease the width used for the snippet bar triggers, removed the down arrows (for the top level triggers only).  And, reduced the padding on the icons in the snippetbar while retaining it inside the menus.

The icons still align between the menu list and the menu trigger, but the text labels do not.
2026-07-02 23:40:01 -05:00
Gazook89 5c50f35570 Merge branch 'master' into Better-Dropdowns 2026-07-02 23:08:37 -05:00
Gazook89 b791bcefdb revert the work done in earlier commit with anchor properties
revert commit 1fe19578c2 which changed `anchor()` values to `position-area`.

I'm not sure what compelled me to do that change initially, except the easier to understand syntax.  Hopefully it wasn't important.

But oddbird polyfill expects `anchor()` values, which it converts to pixel values for positioning.
2026-07-02 22:53:33 -05:00
durstann 8c77da246c Don't add lang tag to iframe content. It's not strictly necessary since the brew content will set it's own language later in the DOM. 2026-06-19 14:38:49 -07:00
durstann 487d7956e9 Accessibility: Add lang and title to the brew render iframe. 2026-06-18 12:58:11 -07:00
Víctor Losada Hernández 0d1e57d393 Merge branch 'master' of https://github.com/naturalcrit/homebrewery into add-cleaning-tool-to-admin 2026-06-17 16:23:16 +02:00
Víctor Losada Hernández edf5a6f9e8 a few touches as gazook requested 2026-06-17 16:22:03 +02:00
Víctor Losada Hernández c9da8742eb adding comments, removing leftover code, renaming constant 2026-06-16 10:23:58 +02:00
G.Ambatte 1e69cf2e13 Merge branch 'master' into fixDividerBug 2026-06-14 22:46:22 +12:00
G.Ambatte e7ec8a2174 Initial attempt at bug fix 2026-06-14 22:34:07 +12:00