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

263 Commits

Author SHA1 Message Date
Víctor Losada Hernández 9c0eb5f3a9 Merge branch 'master' of https://github.com/naturalcrit/homebrewery into add-cm-features 2026-07-26 11:20:38 +02:00
Víctor Losada Hernández 5dff482920 Merge branch 'master' into add-back-selection-tabbing 2026-07-26 11:07:21 +02: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
Víctor Losada Hernández db572c8fea small changes to single line formatting 2026-06-24 18:44:29 +02: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 c9da8742eb adding comments, removing leftover code, renaming constant 2026-06-16 10:23:58 +02:00
Víctor Losada Hernández 2ab7c63853 add clarification comment 2026-06-15 23:18:00 +02:00
Víctor Losada Hernández fd86561c7f putting the animation under a @media query 2026-06-15 23:17:45 +02:00
G.Ambatte e7ec8a2174 Initial attempt at bug fix 2026-06-14 22:34:07 +12:00
Gazook89 1fe19578c2 change anchor method
This updates the position try results by using a different method of setting the area of the anchored element.  Rather than using the inset properties with `anchor()`, it uses `position-area`.
2026-06-10 16:28:34 -05:00
Víctor Losada Hernández 1558a14a91 add formatting options plus single delcaration rule encapsulating 2026-06-02 15:40:40 +02:00
Víctor Losada Hernández 0335767afa remove logs 2026-06-02 15:17:14 +02:00
Víctor Losada Hernández 6a51116844 format 2026-06-02 15:17:03 +02:00
Víctor Losada Hernández d440c7c651 propert tab behavior this time(i hope) 2026-06-02 15:15:51 +02: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 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 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 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 823786f865 add secondary keybind 2026-05-23 11:52:44 +02:00
Víctor Losada Hernández 0661dac099 uh oh forgot this 2026-05-23 11:47:47 +02:00
Víctor Losada Hernández 2078ba70bd lint 2026-05-23 11:45:44 +02:00
Víctor Losada Hernández 03564b310f Merge branches 'add-cm-features' and 'master' of https://github.com/naturalcrit/homebrewery into add-cm-features 2026-05-23 11:44:33 +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 21bd824bce undo conflict resolution 2026-05-23 08:57:09 +02:00
Víctor Losada Hernández 82a78f227d revert conflict resolution 2026-05-23 08:56:36 +02:00
Víctor Losada Hernández 5b1c694447 Merge branch 'master' of https://github.com/naturalcrit/homebrewery into add-cm-features 2026-05-21 00:37:33 +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
Víctor Losada Hernández 15db3c9f66 lint client 2026-05-18 16:21:57 +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 16948f451f add a comment 2026-05-14 11:08:09 +02:00
Víctor Losada Hernández 72dc1a6b46 format selection if selected 2026-05-13 22:57:06 +02:00
Víctor Losada Hernández 0540479e09 crude basic animation and button 2026-05-13 21:55:53 +02:00
Víctor Losada Hernández 7c30380ca6 fix keybind to ctrl f 2026-05-13 21:22:36 +02:00
Víctor Losada Hernández ef9c3c1eb6 Merge branch 'master' of https://github.com/naturalcrit/homebrewery into add-cm-features 2026-05-13 21:02:54 +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
Víctor Losada Hernández 0f7aa0ad49 change tok for token 2026-05-13 11:49:41 +02:00
Víctor Losada Hernández 2971fe0679 add transition delay 2026-05-13 11:47:00 +02:00
Víctor Losada Hernández b39502d806 lint more 2026-05-10 19:42:02 +02:00
Víctor Losada Hernández aac384390b lint 2026-05-10 19:41:11 +02:00