David Bolack
e252a39bd2
Implement Gazook89's suggested fix
2024-12-01 11:41:29 -06:00
Trevor Buckner
fb9148ada5
Site runs and all tests pass
2024-11-20 16:21:35 -05:00
David Bolack
4e4463fe4d
Fix Issue 3718 by bounds checking prerender.
2024-11-11 11:17:00 -06:00
Gazook89
172a3eaadf
fix memoization on brewRenderer.jsx
2024-11-05 12:45:41 -06:00
Gazook89
89a16956b9
Merge branch 'master' into View-Modes
2024-11-04 14:22:54 -06:00
Gazook89
b098d28407
linting
2024-11-04 14:08:06 -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
G.Ambatte
be4ba06081
Removed unused themes.json import
2024-10-29 17:32:31 +13:00
G.Ambatte
f1bebe3895
Move import to be adjacent to existing requires
2024-10-29 16:36:49 +13:00
G.Ambatte
a265723c57
Merge branch 'master' into fixLinks-#3547
2024-10-29 16:32:23 +13:00
Trevor Buckner
6373c398bc
Fix scroll PR when no hash
2024-10-23 13:45:10 -04:00
Trevor Buckner
d5f498cbf9
Merge branch 'master' into scroll-to-element
2024-10-22 14:09:49 -04:00
Trevor Buckner
5040b9528f
cleanup
2024-10-22 14:08:20 -04:00
Trevor Buckner
83a48b8d0c
Simplify observer
2024-10-22 13:58:35 -04:00
Trevor Buckner
9fbdd24d01
Cleanup
2024-10-22 13:52:34 -04:00
Trevor Buckner
5b136f651c
Call scrollToHash from our existing "frameDidMount`
...
`frameDidMount` is equivalent to using iframe.addEventListener('load');
Let's not add a new listener and just use the existing event we already have. Functionality still works.
2024-10-22 13:03:12 -04:00
Trevor Buckner
ac766f3b37
Update brewRenderer.jsx
2024-10-18 10:23:56 -04:00
Víctor Losada Hernández
d872a496a7
fix mutation observer integration
2024-10-17 23:38:11 +02:00
Víctor Losada Hernández
9a4473526a
move around 2
2024-10-17 22:59:29 +02:00
Víctor Losada Hernández
5077fda3f6
move stuff around for minimal changes
2024-10-17 22:58:14 +02:00
Víctor Losada Hernández
397ae31f56
remove stale changes
2024-10-17 22:56:58 +02:00
Víctor Losada Hernández
87915ef0ef
remove unnecessary changes
2024-10-17 22:42:55 +02:00
Víctor Losada Hernández
ccfd5578cf
Merge branch 'master' of https://github.com/naturalcrit/homebrewery into scroll-to-element
2024-10-17 22:39:28 +02:00
Trevor Buckner
7888bfa878
Merge branch 'master' into tweakBrewRendererBackgroundStyle
2024-10-16 16:23:47 -04:00
Trevor Buckner
2aa60f793d
Fix /new
...
/new starts with no `text` so it will crash without `?.`
2024-10-15 22:39:13 -04:00
Trevor Buckner
321bbba4b8
Rearrange
2024-10-15 22:07:41 -04:00
Trevor Buckner
36af1cdb7f
Update brewRenderer.jsx
2024-10-15 21:47:27 -04: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
Gazook89
0855c5c181
remove errant console.log
2024-10-12 23:12:37 -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
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
G.Ambatte
bec830c3b8
Tweak color of Brew Renderer background text
2024-10-12 08:09:51 +13: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
6456c22c61
testing mutation Observer, don't review this yet
2024-10-09 21:33:26 +02:00
Gazook89
d6d6cc1e29
Add View Mode Options
...
Adds a new AnchoredBox component that is functionally a clone of the "saving error" notifications, but drops a lot of the JS in favor of the new (chrome-only!) CSS Anchor Positioning API. In subsequent commits, either alternate styling or a polyfill will be added non-supported browsers.
The box contains a few inputs that modify the CSS applied to `.pages`, most critically a "start on right" toggle for the Facing Pages mode.
2024-10-06 21:51:44 -05:00
Trevor Buckner
ae123a8310
Change the other page number values as well
2024-09-27 11:35:01 -04:00
G.Ambatte
1f047890ab
Change default value of currentEditorCursorPageNum
2024-09-27 23:32:19 +12:00
Víctor Losada Hernández
2e5ebb861e
simplify logic
2024-09-17 19:50:39 +02:00
Víctor Losada Hernández
e92c169e71
Merge branch 'master' of https://github.com/naturalcrit/homebrewery into scroll-to-element
2024-09-16 23:01:40 +02:00
Trevor Buckner
c07c02f1d9
Remove unused variable
2024-09-15 21:44:02 -04:00
Trevor Buckner
85401ba71b
Fix BrewRenderer scrolling to 0
2024-09-15 21:26:49 -04:00
Víctor Losada Hernández
e213eb0a78
"Refactor BrewRenderer: removed iframe load event listener, simplified page scrolling logic, and inlined getPageContainingElement functionality"
2024-09-15 18:37:27 +02:00
Víctor Losada Hernández
422829cbd8
Merge branch 'master' of https://github.com/naturalcrit/homebrewery into scroll-to-element
2024-09-15 16:52:12 +02:00
Trevor Buckner
d4fa5d55d0
Merge branch 'master' into pr/3484
2024-09-14 19:15:12 -04:00
Trevor Buckner
76c9f2ee71
Lint
2024-09-14 18:58:23 -04:00