0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2025-12-27 05:02:43 +00:00
Commit Graph

7562 Commits

Author SHA1 Message Date
Gazook89
810c2140c9 move some toolbar specific styling to toolbar.less 2024-10-13 20:45:05 -05:00
Gazook89
c4fbc8d827 Merge branch 'master' into View-Modes 2024-10-13 09:40:05 -05:00
Gazook89
96ae07a456 Small style change on checkbox inputs 2024-10-13 09:39:41 -05:00
G.Ambatte
0d1291a713 Merge branch 'master' into addAdminFixScriptTool-#3801 2024-10-13 22:47:32 +13:00
Víctor Losada Hernández
3c66907a86 Merge branch 'master' of https://github.com/naturalcrit/homebrewery into scroll-to-element 2024-10-13 11:15:15 +02:00
Víctor Losada Hernández
0663e82fa1 remove unnecessary space in homepage markdown 2024-10-13 10:58:24 +02:00
Víctor Losada Hernández
6e241c5bcd remove splitpane parent 2024-10-13 10:53:05 +02:00
Víctor Losada Hernández
ebe5dca7a9 remove unnecessary child in nav 2024-10-13 10:51:06 +02:00
Gazook89
b33d9264d3 unify terms to 'spreads'
This commit only renames things, changes no logic.  Any mention of "book", "view", or "mode" is renamed in relation to "spreads".

The AnchoredBox.jsx file is renamed to Anchored.jsx

Extra icons are deleted, and the remaining ones are renamed.
2024-10-12 23:25:14 -05:00
Gazook89
0855c5c181 remove errant console.log 2024-10-12 23:12:37 -05:00
Gazook89
1741abc3fe Refactor AnchoredBox for greater flexibility
Big change to how the AnchoredBox component is structured so that it can be used in more than just one spot.  Now composed of the wrapper Anchored, with two children AnchoredTrigger and AnchoredBox, each of which can have their own arbitrary children.

Next steps will involve renaming the component file to Anchored.jsx, moving most styling out of the attached stylesheet (and into brewRenderer.less), and adding props to pass in Anchor Positioning properties.
2024-10-12 23:12:27 -05:00
Trevor Buckner
f1af87ee7e Merge pull request #3821 from naturalcrit/v3.16.0 v3.16.0 2024-10-12 23:21:01 -04:00
Trevor Buckner
7dcceb983e Update changelog to v3.16.0 2024-10-12 23:10:13 -04:00
G.Ambatte
63f4104f81 Add UI to Admin page 2024-10-13 13:45:24 +13:00
G.Ambatte
6bc865144a Add cleaning function to API 2024-10-13 13:45:11 +13:00
G.Ambatte
ccafee7a21 Get text from textBin in brew object 2024-10-13 13:44:33 +13:00
G.Ambatte
033a089fd8 Merge branch 'master' into refactorVersionHistory 2024-10-13 12:17:27 +13:00
Gazook89
27f471791d Small change in title phrasing 2024-10-12 13:28:25 -05:00
Gazook89
ae11da2bc7 Fix the styles overriding previous styles
If there were two inputs sending styles to the same target (ie row and column gap), they would override each other.

This change fixes that by deepening the merges.  Admittedly, I turned to cGPT to help me with this as the nesting was throwing me for a loop.  It works, though, and I understand it now that I can read it.
2024-10-12 11:53:52 -05:00
Gazook89
b58b9ca8f0 Merge branch 'View-Modes-Radio-Options' into View-Modes 2024-10-12 11:06:09 -05:00
Gazook89
ba0b3e7d93 Add toggle for Page Shadows
Reworks the pagesStyles to a broader object previewStyles.  This new object has this structure:

```
{
  targetElement : { cssProperty: value }
}
```
2024-10-12 11:05:23 -05:00
Trevor Buckner
6d4b1843ae Fix missed lines from 3.15.2 branch 2024-10-12 00:10:43 -04:00
Gazook89
6fca21b6ed set defaultValue of gap sliders
defaultValue matches the normal styled values of the gap property on the .pages element.

removed the "tooltip" that showed the current value from the range sliders inside the anchoredbox (the gap sliders).
2024-10-11 22:53:38 -05:00
Trevor Buckner
35856ad01e Merge branch 'master' into adress-small-accessibility-concerns 2024-10-11 23:50:39 -04:00
Trevor Buckner
76d6679002 Fix line endings on app.js 2024-10-11 23:50:08 -04:00
Trevor Buckner
4efa1b10f3 Merge pull request #3808 from naturalcrit/v3.15.2 2024-10-11 23:48:34 -04:00
Trevor Buckner
b9e15746c3 Update app.js 2024-10-11 23:47:45 -04:00
Trevor Buckner
1fff75cc5e Update homebrew.api.js 2024-10-11 23:42:20 -04:00
Trevor Buckner
9037cf1750 Update homebrew.api.js 2024-10-11 23:41:54 -04:00
Trevor Buckner
dfe26280d2 Update app.js 2024-10-11 23:38:00 -04:00
Trevor Buckner
7894d9fbec Update app.js 2024-10-11 23:35:15 -04:00
Gazook89
a3dbaf9e6a refactor anchoredBox to handle focus
Refactoring the AnchoredBox component because I wanted to set focus on the trigger button when the expanded box was closed.  Wrapping the trigger into it's own component, with forwardRef, allows for passing the `ref` to the actual DOM node.  Then the `.focus()` method will work on it.
2024-10-11 22:34:40 -05:00
Gazook89
835305bcf6 Add a title to each button
add a role to the toolbr.
2024-10-11 22:32:53 -05:00
Trevor Buckner
c3173d2e14 Update homebrew.api.js 2024-10-11 23:25:55 -04:00
Trevor Buckner
4859756ef8 Update homebrew.api.js 2024-10-11 23:23:56 -04:00
Trevor Buckner
1c47d743d6 Remove 429 error 2024-10-11 23:20:32 -04:00
Trevor Buckner
bfbbbe9e86 Update package.json 2024-10-11 23:19:44 -04:00
Trevor Buckner
1aaa146412 Update package-lock.json 2024-10-11 23:19:17 -04:00
Trevor Buckner
086d85c08b Remove Error 55 2024-10-11 23:18:03 -04:00
Trevor Buckner
134fe7d372 Remove /ip path 2024-10-11 23:15:56 -04:00
Trevor Buckner
836dfbade2 SetSaveDelayTo10s 2024-10-11 23:15:03 -04:00
Trevor Buckner
52a7ce9866 Merge branch 'master' into v3.15.2 2024-10-11 23:08:41 -04:00
Gazook89
395f2d16fa change view mode toggles to indiv buttons
Rather than a single button with three states, it is three buttons.  Went with buttons with `role='radio'` rather than true radios mostly because that is what Radix does.
2024-10-11 22:06:41 -05:00
Gazook89
6cabdc0a67 add alternative icons in
the `-alt` icons have better sizing/readability than the originals.  The originals likely will be removed.

Also adds back in 'fit-width' icon which was mistakenly overwritten earlier.
2024-10-11 22:05:18 -05:00
G.Ambatte
f64e7d3fd7 Shift grabage collection to use delMany instead of a looped del 2024-10-12 10:57:01 +13:00
G.Ambatte
cdbb2fa26a Add IDB custom store wrapper 2024-10-12 10:55:02 +13:00
G.Ambatte
bec830c3b8 Tweak color of Brew Renderer background text 2024-10-12 08:09:51 +13:00
Gazook89
e80588b234 Add icons 2024-10-11 13:51:41 -05:00
Gazook89
73504a3386 Setting a padding-top to avoid pages hugging toolbar 2024-10-11 13:51:06 -05:00
Gazook89
9c4b936ddd bump node to avoid experimental flag issues from another merge 2024-10-11 13:50:40 -05:00