0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2025-12-30 13:12:40 +00:00
Commit Graph

2172 Commits

Author SHA1 Message Date
Gazook89
b098d28407 linting 2024-11-04 14:08:06 -06:00
Gazook89
1be1b3b747 small accessibility changes. 2024-11-04 13:55:18 -06:00
Trevor Buckner
f63d2de8f4 Refactor toolbar view options (#2)
* Refactor toolbar view options

* Remove a couple more unused states
2024-11-01 22:19:48 -05:00
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
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
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
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
Gazook89
835305bcf6 Add a title to each button
add a role to the toolbr.
2024-10-11 22:32:53 -05:00
Trevor Buckner
1c47d743d6 Remove 429 error 2024-10-11 23:20:32 -04:00
Trevor Buckner
086d85c08b Remove Error 55 2024-10-11 23:18:03 -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
73504a3386 Setting a padding-top to avoid pages hugging toolbar 2024-10-11 13:51:06 -05:00
Gazook89
c4074d67f5 Merge branch 'master' into View-Modes 2024-10-10 23:34:26 -05:00
G.Ambatte
d534eddb29 Remove unnecessary useEffect import 2024-10-11 13:14:53 +13:00
G.Ambatte
9099db5ea1 Remove obsolete state and event handlers 2024-10-11 11:56:29 +13:00
G.Ambatte
a9a8b4b9bb Shift static height style to LESS file 2024-10-11 11:55:51 +13:00
G.Ambatte
5d29d40c97 Implement suggested change 2024-10-11 11:42:03 +13:00
G.Ambatte
4291284252 Merge branch 'master' into experimentalDeploymentIdentification 2024-10-11 11:10:28 +13:00
Víctor Losada Hernández
c47974cb49 suggested changes 2024-10-10 23:00:39 +02:00
Víctor Losada Hernández
27f939201d Merge branch 'master' of https://github.com/naturalcrit/homebrewery into fix-vulnerability-admin-pages 2024-10-10 22:54:22 +02:00
Víctor Losada Hernández
52e929ee68 remove spaces added 2024-10-10 22:36:59 +02:00
G.Ambatte
ab6861675d Comment out history testing values 2024-10-10 09:07:54 +13:00
G.Ambatte
0deb9073cd Remove obsolete file 2024-10-10 08:57:41 +13:00
G.Ambatte
36674f4cf2 Add explicit guard clause to renderHistoryItems 2024-10-10 08:48:14 +13:00
G.Ambatte
618de544bf Remove unnecessary check 2024-10-10 08:43:38 +13:00
G.Ambatte
8f5b421531 Fix infinite loop 2024-10-10 08:34:24 +13:00
G.Ambatte
8db12739d3 Remove obsolete function 2024-10-10 08:34:15 +13:00
G.Ambatte
dc66d36b2d Simplify history loading 2024-10-09 19:35:48 +13:00
G.Ambatte
0bd3b53dd1 Merge branch 'master' into addIndexedDM-#3763 2024-10-09 19:00:45 +13:00
G.Ambatte
5651c66562 Fix race condition 2024-10-09 18:29:15 +13:00
G.Ambatte
fb2d03f5a2 Change to test values 2024-10-09 17:50:26 +13:00
G.Ambatte
0b44e68a36 Simplify garbage collection 2024-10-09 17:27:33 +13:00
G.Ambatte
aa68762294 Simplify historyCheck logic 2024-10-09 15:59:11 +13:00
G.Ambatte
2a9402634f Remove unnecessary guard clause 2024-10-09 14:58:20 +13:00
G.Ambatte
291e16b124 Revert to use local consts instead of config vars 2024-10-09 14:57:04 +13:00
G.Ambatte
e75eb72d3f Remove obsolete function 2024-10-09 14:54:23 +13:00
Gazook89
a6efaf0e8b Remove unused Nav components 2024-10-08 10:12:53 -05:00
G.Ambatte
7e165c6e61 Remove unnecessary key check 2024-10-07 21:53:24 +13:00
G.Ambatte
5d9ef3fa6c Add custom IDB store 2024-10-07 21:53:05 +13:00
G.Ambatte
24bffacaeb GC functional, config values now actually used 2024-10-07 20:53:32 +13:00
G.Ambatte
1e38ed8d1f Bump max-lines 2024-10-07 20:53:05 +13:00