durstann
7d434fe939
Revert linter change
2026-07-23 18:57:01 -07:00
G.Ambatte
b49252f333
Update safeHTML tests
2026-07-19 12:45:53 +12: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
David Bolack
1472e39bc8
Reduce unnecessary linespacing and comments.
2026-07-17 20:19:16 -05:00
David Bolack
4f7c7e1c4b
Remove extra failover values.
2026-07-17 20:15:06 -05:00
David Bolack
6d40525286
Remove relocate failover defaults to brewDefaults
2026-07-17 20:09:26 -05:00
David Bolack
7cc3611e4c
Directly access metadata attributes instead of _.picking the object.
2026-07-17 20:01:29 -05:00
David Bolack
5f29adbd9b
Merge branch 'master' into v4Metadata
2026-07-17 19:58:44 -05: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
Trevor Buckner
2eb246ab0d
Merge pull request #4899 from Gazook89/Add-Components-to-aliased-directories
...
Add `@components` aliases to vite config
2026-07-12 16:51:21 -04: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
Trevor Buckner
5bd3b81099
Merge pull request #4891 from dbolack-ab/normalizeNodeVersions
...
Normalize config files for containers to Node 26.4
2026-07-08 15:31:38 -04:00
Trevor Buckner
4ea4c74783
Merge branch 'master' into normalizeNodeVersions
2026-07-08 15:28:16 -04:00
Trevor Buckner
d25e572ab2
Merge pull request #4769 from Gazook89/Better-Dropdowns
...
Better dropdowns
2026-07-07 22:06:12 -04:00
Gazook89
f6f4faba27
remove tests
2026-07-07 20:44:01 -05:00
David Bolack
25ba58ffa7
Circle ci does not alias a latest. Pin to 26.4.0
2026-07-05 17:58:43 -05:00
David Bolack
54968de248
move to 26
2026-07-05 17:45:54 -05:00
David Bolack
5a52b088ea
Push everything to node 25
2026-07-05 17:40:11 -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
David Bolack
f25c5a182d
Fix Tests, YAML order
2026-07-04 15:24:01 -05:00
David Bolack
ecc90b376e
Merge branch 'master' into v4Metadata
2026-07-04 15:13:39 -05:00
David Bolack
1789c2361f
Normalize config files for conatiners to 20.18 based on circleci testing.
2026-07-04 14:55:11 -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
b62dc7e5c9
Update package-lock.json
2026-07-02 23:15:08 -05:00
Gazook89
5c50f35570
Merge branch 'master' into Better-Dropdowns
2026-07-02 23:08:37 -05:00
Gazook89
2164f7ae9d
Merge remote-tracking branch 'upstream/master'
2026-07-02 23:08:22 -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
David Bolack
1e2d76885f
Missed references fixed
2026-06-27 16:08:07 -05:00
David Bolack
f0dc66bf2b
Bleed should follow safetySpace dimension names ( inner/outer vs left/right )
2026-06-27 16:03:10 -05:00
Víctor Losada Hernández
db572c8fea
small changes to single line formatting
2026-06-24 18:44:29 +02:00
G.Ambatte
7bd0407e70
Change calculation of isDev
2026-06-21 15:03:33 +12: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
e554687392
Merge branch 'master' of https://github.com/naturalcrit/homebrewery into add-cm-features
2026-06-17 18:57:58 +02:00
Víctor Losada Hernández
13d1780180
Merge pull request #4837 from 5e-Cleric/add-cleaning-tool-to-admin
...
[ADMIN]: Proper cleanup function
2026-06-17 16:41:48 +02: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
515a59c9de
updated fields to have proper data
2026-06-17 15:59:42 +02:00
Víctor Losada Hernández
a645b61464
update comments
2026-06-17 15:50:21 +02:00