Gazook89
63add047b6
'fit page' zoom button fits two pages in "facing" spread
...
If the 'facing' spread is active, the 'fit to view' zoom button fits two pages side by side in the view, rather than setting only one page in view.
2024-11-06 23:03:24 -06:00
Gazook89
a0e88bb24f
Add comment about future Popover API use
2024-11-06 21:55:30 -06:00
Gazook89
5b14e0e9b5
tweak alignment of spreads
...
the `safe` keyword for `justify-content`, in combo with `center`, means that the content will be centered in the viewport unless there is not enough space for it. If there is not enough space, it aligns it to the *start*/left edge, rather than keeping it centered and clipping the left edge of the page.
2024-11-06 21:55:16 -06:00
Gazook89
274e734135
add displayOptions to dependency array for memo
...
The memoization of the renderPages() method prevents a re-render when something like pageShadows is updated, so displayOptions are added to the dependency array in the memo method.
2024-11-06 21:53:14 -06:00
Gazook89
3818424251
Adjust "next page" button
...
Prior to fix, the "next page" button in the toolbar wouldn't work well if there were multiple pages in view that were in a single 'row'. This is because the logic is to take the pages that are "visible", take the max of those pages, and then scroll to that page. But the issue is that if the 'max' page is in the same row as other pages, the range of visible pages doesn't change....the max will always be the same.
So the change here basically runs the scroll function twice-- if the first run results in the same 'max' page as before the scroll, it runs it again but with the target page being "max + 1", which will bump the target to the next row.
2024-11-06 21:24:18 -06:00
Gazook89
2222550669
Merge branch 'master' into Observer-Master-merge
2024-11-06 21:19:35 -06:00
Trevor Buckner
d0cf6eebbb
Merge pull request #3869 from 5e-Cleric/fix-splitpane-overflowing-page
...
Fix-splitpane-overflowing-page
2024-11-05 16:43:59 -05:00
Gazook89
93b9f1d1da
Merge branch 'Intersection-Observer' into Observer-Master-merge
2024-11-05 14:03:09 -06:00
Trevor Buckner
0ba838f5ae
Merge pull request #3880 from Gazook89/fix-memoization
...
Fix Memoization
2024-11-05 13:51:48 -05:00
Gazook89
172a3eaadf
fix memoization on brewRenderer.jsx
2024-11-05 12:45:41 -06:00
Trevor Buckner
b868ba9406
Merge pull request #3799 from Gazook89/View-Modes
...
View Modes - Single / Facing Pages / "Flow" arrangements
2024-11-04 16:05:53 -05: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
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
Víctor Losada Hernández
626b602a61
last fix
2024-11-01 20:39:45 +01:00
Víctor Losada Hernández
3d7d90104b
revert content deletion
2024-11-01 20:37:28 +01:00
Trevor Buckner
c7c8dafb18
Merge pull request #3816 from G-Ambatte/refactorVersionHistory
...
Refactor version history to use custom store wrapper
2024-10-29 17:10:22 -04:00
G.Ambatte
ea25ae625a
Merge branch 'refactorVersionHistory' of https://github.com/G-Ambatte/homebrewery into refactorVersionHistory
2024-10-30 08:21:56 +13:00
G.Ambatte
ebf900ba24
Remove Proxy version
2024-10-30 08:21:51 +13:00
G.Ambatte
0037c91cc5
Merge branch 'master' into refactorVersionHistory
2024-10-30 08:10:47 +13:00
Trevor Buckner
8a8bf883e6
Merge pull request #3548 from G-Ambatte/fixLinks-#3547
...
Improve HTML sanitization
2024-10-29 14:20:50 -04:00
Trevor Buckner
17539cb80b
Merge branch 'master' into fixLinks-#3547
2024-10-29 14:15:02 -04:00
Trevor Buckner
bb057ba057
Merge pull request #3861 from 5e-Cleric/vault-styles-quickfix
...
Vault styles quickfix
2024-10-29 14:01:57 -04:00
Trevor Buckner
99ad865311
Merge branch 'master' into vault-styles-quickfix
2024-10-29 13:45:30 -04:00
Víctor Losada Hernández
48baaa33e2
linting
2024-10-29 14:22:51 +01:00
Víctor Losada Hernández
6f07d25101
second fix
2024-10-29 14:20:49 +01:00
Víctor Losada Hernández
fec904b4c6
initial commit
2024-10-29 14:16:45 +01:00
G.Ambatte
6fed42198d
Simplify initCustomStore
2024-10-29 19:30:22 +13:00
G.Ambatte
446406758f
Merge branch 'master' into refactorVersionHistory
2024-10-29 19:12:59 +13:00
G.Ambatte
b24c9daa08
Update HTML test
2024-10-29 18:15:46 +13:00
G.Ambatte
f5bc490380
Remove type='submit' attribute
2024-10-29 18:10:25 +13:00
G.Ambatte
4673303bc2
Remove unused JSDom package
2024-10-29 17:41:16 +13:00
G.Ambatte
e550ab4046
Remove eslint override from HTML tests
2024-10-29 17:40:55 +13:00
G.Ambatte
be4ba06081
Removed unused themes.json import
2024-10-29 17:32:31 +13:00
G.Ambatte
0fda0673b2
Simplify logic & reduce nesting
2024-10-29 17:27:59 +13:00
G.Ambatte
9edf65c252
Shift to element.remove()
2024-10-29 16:50:44 +13:00
G.Ambatte
3f8ec30f89
Fix broken check for document existence
2024-10-29 16:50:33 +13:00
G.Ambatte
f1bebe3895
Move import to be adjacent to existing requires
2024-10-29 16:36:49 +13:00
G.Ambatte
f5954b03f2
Add comment to reference vue-html-secure pacakge
2024-10-29 16:34:50 +13:00
G.Ambatte
a265723c57
Merge branch 'master' into fixLinks-#3547
2024-10-29 16:32:23 +13:00
Trevor Buckner
e7c0cdae3d
Merge pull request #3858 from naturalcrit/dependabot/npm_and_yarn/mongoose-8.7.3
...
Bump mongoose from 8.7.2 to 8.7.3
2024-10-28 23:26:25 -04:00
Trevor Buckner
56d024a2e6
Merge branch 'master' into dependabot/npm_and_yarn/mongoose-8.7.3
2024-10-28 23:25:45 -04:00
Trevor Buckner
f6ed348824
Merge pull request #3857 from naturalcrit/dependabot/npm_and_yarn/babel/preset-env-7.26.0
...
Bump @babel/preset-env from 7.25.9 to 7.26.0
2024-10-28 23:25:34 -04:00
Trevor Buckner
a4406d953a
Merge branch 'master' into dependabot/npm_and_yarn/babel/preset-env-7.26.0
2024-10-28 23:25:05 -04:00
Trevor Buckner
1a41252d70
Merge pull request #3856 from naturalcrit/dependabot/npm_and_yarn/babel/core-7.26.0
...
Bump @babel/core from 7.25.9 to 7.26.0
2024-10-28 23:24:54 -04:00
Trevor Buckner
97371be26a
Merge branch 'master' into dependabot/npm_and_yarn/babel/core-7.26.0
2024-10-28 23:23:08 -04:00
Trevor Buckner
994fbd197a
Merge pull request #3855 from 5e-Cleric/refactor-splitpane
...
Refactor splitpane as a functional component
2024-10-28 15:00:39 -04:00
dependabot[bot]
4995aebb93
Bump mongoose from 8.7.2 to 8.7.3
...
Bumps [mongoose](https://github.com/Automattic/mongoose ) from 8.7.2 to 8.7.3.
- [Release notes](https://github.com/Automattic/mongoose/releases )
- [Changelog](https://github.com/Automattic/mongoose/blob/master/CHANGELOG.md )
- [Commits](https://github.com/Automattic/mongoose/compare/8.7.2...8.7.3 )
---
updated-dependencies:
- dependency-name: mongoose
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-10-28 03:24:31 +00:00
dependabot[bot]
782fa3a2a0
Bump @babel/preset-env from 7.25.9 to 7.26.0
...
Bumps [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env ) from 7.25.9 to 7.26.0.
- [Release notes](https://github.com/babel/babel/releases )
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md )
- [Commits](https://github.com/babel/babel/commits/v7.26.0/packages/babel-preset-env )
---
updated-dependencies:
- dependency-name: "@babel/preset-env"
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-10-28 03:24:06 +00:00