0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2025-12-29 17:42:38 +00:00
Commit Graph

7824 Commits

Author SHA1 Message Date
G.Ambatte
df5ed5190a Merge branch 'master' into experimentalHeaderNavigation 2024-08-27 09:59:18 +12:00
Trevor Buckner
a6a1d70abc Merge pull request #3669 from naturalcrit/dependabot/npm_and_yarn/eslint-9.9.1
Bump eslint from 9.9.0 to 9.9.1
2024-08-26 17:39:44 -04:00
dependabot[bot]
73461d6372 Bump eslint from 9.9.0 to 9.9.1
Bumps [eslint](https://github.com/eslint/eslint) from 9.9.0 to 9.9.1.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v9.9.0...v9.9.1)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-26 21:35:52 +00:00
Trevor Buckner
e56c6a5085 Merge pull request #3668 from naturalcrit/dependabot/npm_and_yarn/superagent-10.1.0
Bump superagent from 9.0.2 to 10.1.0
2024-08-26 17:34:39 -04:00
Trevor Buckner
f8f0280f8c Merge branch 'master' into dependabot/npm_and_yarn/superagent-10.1.0 2024-08-26 17:27:58 -04:00
Trevor Buckner
4e393779ac Merge pull request #3644 from G-Ambatte/fixEmojiFolding-#3604
Prevent styling of lines inside folded sections
2024-08-26 17:26:01 -04:00
Trevor Buckner
5671728c97 Change filter to some
`some` stops once it finds a true case; `filter` has to process the whole list of folds first.
2024-08-26 17:23:44 -04:00
Gazook89
e06611a90f set all zoom buttons to use handleZoomButton
All zoom buttons run through same handler now.

They no longer take only the delta of the current zoom and desired zoom-- they take the actual desired zoom.

calculateZoom is now calculateChange, to help get the desired delta.
2024-08-26 16:16:13 -05:00
Gazook89
7b767368df Change icons to mask-image
Removes icons as components, uses mask-image instead.

Sets a size on the .fac icons to 1em so by default they are 1em and retain their aspect ratio.

rename the icon files for consistency.
2024-08-26 15:51:35 -05:00
Trevor Buckner
d59c6be359 Merge branch 'master' into fixEmojiFolding-#3604 2024-08-26 16:34:06 -04:00
G.Ambatte
30dac3a73c Revert toolBar.less change 2024-08-26 21:53:15 +12:00
G.Ambatte
ba4c9745a2 Tweak styling for recent changes 2024-08-26 21:27:41 +12:00
G.Ambatte
a1c275479f Change toolbar to relative positioning 2024-08-26 21:27:09 +12:00
G.Ambatte
708cbdc9e5 Change to list items 2024-08-26 21:26:30 +12:00
G.Ambatte
b0585e28ad Merge branch 'experimentalHeaderNavigation' of https://github.com/G-Ambatte/homebrewery into experimentalHeaderNavigation 2024-08-26 16:14:13 +12:00
G.Ambatte
575aa447e0 Merge branch 'master' into experimentalHeaderNavigation 2024-08-26 16:12:50 +12:00
G.Ambatte
e57b88a019 Limit max width of header navigation 2024-08-26 16:06:11 +12:00
G.Ambatte
380c1444ca Tweak position to account for new toolbar 2024-08-26 16:01:12 +12:00
dependabot[bot]
0d564dd0bf Bump superagent from 9.0.2 to 10.1.0
Bumps [superagent](https://github.com/ladjs/superagent) from 9.0.2 to 10.1.0.
- [Release notes](https://github.com/ladjs/superagent/releases)
- [Changelog](https://github.com/ladjs/superagent/blob/master/HISTORY.md)
- [Commits](https://github.com/ladjs/superagent/compare/v9.0.2...v10.1.0)

---
updated-dependencies:
- dependency-name: superagent
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-26 03:57:55 +00:00
Trevor Buckner
ef6e1e1782 Merge pull request #3667 from naturalcrit/dependabot/npm_and_yarn/mongoose-8.5.4
Bump mongoose from 8.5.3 to 8.5.4
2024-08-25 23:56:46 -04:00
dependabot[bot]
b2f5e39256 Bump mongoose from 8.5.3 to 8.5.4
Bumps [mongoose](https://github.com/Automattic/mongoose) from 8.5.3 to 8.5.4.
- [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.5.3...8.5.4)

---
updated-dependencies:
- dependency-name: mongoose
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-26 03:55:31 +00:00
G.Ambatte
a59135430c Fix missing comma 2024-08-26 15:30:58 +12:00
G.Ambatte
bdf2c97942 Merge branch 'master' into experimentalHeaderNavigation 2024-08-26 15:28:46 +12:00
David Bolack
a3c01305df Revert "Move Page styles ( cover Page, etc ) to Blank from 5ePHB"
This reverts commit ad1dfc8e2b.
2024-08-25 19:15:57 -05:00
Víctor Losada Hernández
762de62aa6 Merge branch 'master' into addCSSRoute-#1097 2024-08-25 13:21:37 +02:00
Trevor Buckner
d4d27aab6a Merge branch 'master' into Fill-Pane-Buttons 2024-08-24 23:59:19 -04:00
Trevor Buckner
1803c89a23 Merge pull request #3499 from 5e-Cleric/pdf-tools
Viewer tools
2024-08-24 23:58:10 -04:00
Trevor Buckner
4b0b56dd35 Lint the jsx files 2024-08-24 23:55:17 -04:00
Trevor Buckner
bf6eae7b3c Simplify some logic in Toolbar 2024-08-24 23:54:09 -04:00
Trevor Buckner
3377d6645d Tidy up brewRenderer 2024-08-24 23:53:44 -04:00
Trevor Buckner
5069eadd0a Manual tidying of .less files 2024-08-24 23:53:07 -04:00
Trevor Buckner
7a5b0b32c4 restore deleted line from helpers.js 2024-08-24 23:26:45 -04:00
Gazook89
2b79583e8c Merge branch 'pr/3499' into View-Modes 2024-08-24 22:03:06 -05:00
Gazook89
35a0a12f16 Merge branch 'pr/3499' into Fill-Pane-Buttons 2024-08-24 22:02:56 -05:00
Gazook89
504bb78a8d switching padding to margin
using `padding-top` was breaking the navbar dropdowns (they would lose focus).
2024-08-24 22:02:43 -05:00
Gazook89
609b40e84c Merge branch 'pr/3499' into View-Modes 2024-08-24 21:28:39 -05:00
Gazook89
94ae33d328 Merge branch 'pr/3499' into Fill-Pane-Buttons 2024-08-24 21:28:13 -05:00
Gazook89
690c683943 select text when clicking into page input 2024-08-24 09:08:19 -05:00
Gazook89
3acf90dfdb Add handlePageChange() to control input
Reintroducing handlePageChange() method to handle the page input separately from the scroll function.  It tests the regex pattern on the string, parses to integer, and sets pageNum state.

scrollToPage also now sets the pageNum state after performing the scroll so the input box matches the new current page.
2024-08-24 09:05:43 -05:00
David Bolack
f24e47785c Merge branch 'master' into Issue_241_Part_II 2024-08-24 00:48:52 -05:00
David Bolack
e27e61aaca Bind livescrolling when done via scrollbars. 2024-08-24 00:47:06 -05:00
Gazook89
07c574fa42 Merge branch 'Fill-Pane-Buttons' into View-Modes 2024-08-23 23:26:24 -05:00
Gazook89
6bb5d04f07 round the calculated zoom level 2024-08-23 23:02:04 -05:00
Gazook89
b0b1f7fd0b update method calls for zoom buttons
update method names in onClick events to match latest changes to the branch this builds from.
2024-08-23 22:58:43 -05:00
Gazook89
c25bf95a66 Merge branch 'pr/3499' into Fill-Pane-Buttons 2024-08-23 22:56:37 -05:00
Gazook89
370c480670 Merge branch 'master' into pr/3499 2024-08-23 22:55:13 -05:00
Gazook89
a351013359 remove some odd if statement in onChange 2024-08-23 22:54:29 -05:00
Gazook89
1f86b4c3d0 add mainRef back in
This was previously in the .pageInfo widget, probably not for any good reason, but I'm moving it to the popups div for probably not a good reason.

It's used to get the parent .pane div, and pull its `height` value which is then passed to the `.brewRenderer` div to set the height.

I tried alternate methods that would make this obsolete (CSS methods mostly), but due to some complexity am just ditching those alternatives and popping this sucker into `.popups` for now.
2024-08-23 22:41:12 -05:00
Gazook89
627a6a732b remove .ppr_msg styling
This message doesn't exist anymore (i'm pretty sure), so this is just unused styling.  Unrleated to the PR, but just minor.
2024-08-23 19:26:41 -05:00
Gazook89
77421c2950 remove .pageInfo widget in bottom of preview
page counter function is in toolbar now, so this isn't necessary.
2024-08-23 19:25:49 -05:00