Gazook89
41fdf48ad3
Setup Intersection Observers & more...
...
Bad commit here with too much stuff. I apologize.
This sets up two Intersection Observers: the first captures every page that is at least 30% visible inside the `.pages` container, and the second captures every page that has at least one pixel on the horizontal center line of `.pages`. Both can be arrays of integers (page index).
The "visiblePages" array is duplicated and formatted into a "formattedPages" state, which gets displayed in the toolbar.
The toolbar displays that, unless the user clicks into the page input and enters their own integer (only a single integer, no range), which can then jump the preview to that page on Enter or blur().
The Arrow 'change page' buttons jump the preview back and forth by a 'full set'.
If one page is viewed at a time, this is moved on page a time, and if 10 pages are viewed at a time it jumps the pages by 10.
Left to do: adapt the "jump editor to match preview" divider button to work with new "centerPage".
2024-10-21 00:30:45 -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
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
47f2703388
remove unrelated change
2024-10-10 22:38:50 +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
d5cda45d4d
Merge branch 'master' into addIndexedDM-#3763
2024-10-10 08:50:39 +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
Trevor Buckner
e873dcf3a8
Fix error messages crashing page
2024-10-09 14:35:16 -04:00
Trevor Buckner
269dd6107c
Merge branch 'master' into experimentalNotificationDB
2024-10-09 11:12:23 -04: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
G.Ambatte
25ce1aa00c
Functional history menu
2024-10-07 19:36:17 +13:00
G.Ambatte
97f8493319
Merge branch 'master' into addIndexedDM-#3763
2024-10-07 18:32:05 +13:00
G.Ambatte
c9241e3091
WIP Update
2024-10-07 18:22:06 +13:00
Trevor Buckner
f3332fb95b
Merge branch 'master' into fix-wrong-brew-id-links-generated
2024-10-06 15:54:37 -04:00
Víctor Losada Hernández
487a574f50
initital fix
2024-10-06 00:05:12 -04:00
Víctor Losada Hernández
a4e0f1fc0f
initital fix
2024-10-04 22:18:11 +02:00
Trevor Buckner
1a325fb3c5
New notification
2024-10-01 22:25:17 -04:00
Víctor Losada Hernández
df06d8fcd3
update error index
2024-10-01 21:58:52 +02:00
G.Ambatte
77f162f7a4
Initial IDB functionality pass
2024-10-01 23:53:35 +13:00
Trevor Buckner
8a63859546
Merge pull request #3778 from 5e-Cleric/fix-lang-on-share
...
fix lang on share page
2024-09-30 13:51:50 -04:00
Trevor Buckner
313f18c74c
Merge branch 'master' into fixToolbarZoomInPrint-#3744
2024-09-30 13:50:00 -04:00
Trevor Buckner
db6c689914
Merge branch 'master' into fix-lang-on-share
2024-09-30 13:48:20 -04:00
Víctor Losada Hernández
d4970ed119
initial commit
2024-09-30 17:48:07 +02:00