Trevor Buckner
a31f1da4dc
Merge branch 'master' into v3.15.1
2024-09-30 00:23:04 -04:00
Trevor Buckner
3ec3cf8df8
Merge pull request #3741 from naturalcrit/dependabot/npm_and_yarn/stylistic/stylelint-plugin-3.1.0
2024-09-30 00:22:49 -04:00
dependabot[bot]
4d6d8a5e5a
Bump @stylistic/stylelint-plugin from 3.0.1 to 3.1.0
...
Bumps [@stylistic/stylelint-plugin](https://github.com/stylelint-stylistic/stylelint-stylistic ) from 3.0.1 to 3.1.0.
- [Release notes](https://github.com/stylelint-stylistic/stylelint-stylistic/releases )
- [Changelog](https://github.com/stylelint-stylistic/stylelint-stylistic/blob/main/CHANGELOG.md )
- [Commits](https://github.com/stylelint-stylistic/stylelint-stylistic/compare/v3.0.1...v3.1.0 )
---
updated-dependencies:
- dependency-name: "@stylistic/stylelint-plugin"
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-09-30 01:54:47 +00:00
Trevor Buckner
96acd334a0
Merge pull request #3742 from naturalcrit/dependabot/npm_and_yarn/eslint-9.11.1
2024-09-29 21:53:36 -04:00
dependabot[bot]
a0aa975d07
Bump eslint from 9.11.0 to 9.11.1
...
Bumps [eslint](https://github.com/eslint/eslint ) from 9.11.0 to 9.11.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.11.0...v9.11.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-09-29 18:24:55 +00:00
Trevor Buckner
8a06257a50
Merge pull request #3766 from naturalcrit/dependabot/npm_and_yarn/mongoose-8.7.0
2024-09-29 14:23:41 -04:00
Trevor Buckner
aaa0acdfea
Merge branch 'master' into v3.15.1
2024-09-28 23:40:25 -04:00
dependabot[bot]
6d904111f7
Bump mongoose from 8.6.3 to 8.7.0
...
Bumps [mongoose](https://github.com/Automattic/mongoose ) from 8.6.3 to 8.7.0.
- [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.6.3...8.7.0 )
---
updated-dependencies:
- dependency-name: mongoose
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-09-27 19:16:48 +00:00
Trevor Buckner
f1f686d8c7
Merge pull request #3760 from naturalcrit/dependabot/npm_and_yarn/dompurify-3.1.7
2024-09-27 15:15:43 -04:00
Trevor Buckner
6e120c2d05
Merge pull request #3765 from G-Ambatte/fixLegacyBrewRenders-#3764
2024-09-27 15:15:26 -04:00
Trevor Buckner
9b58db9f1e
Let sharepage update page numbers
2024-09-27 15:03:29 -04: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
Trevor Buckner
58b0e12fcc
Update app.js
2024-09-27 00:34:35 -04:00
Trevor Buckner
51f4c83ec0
Update app.js
2024-09-27 00:34:12 -04:00
Trevor Buckner
9decaf73f7
Update app.js
2024-09-27 00:19:08 -04:00
Trevor Buckner
15fde76209
Merge branch 'master' into v3.15.1
2024-09-27 00:13:32 -04:00
Trevor Buckner
2ba160fe65
Re-remove extra error log for new google brews.
2024-09-27 00:08:23 -04:00
dependabot[bot]
606af87e0f
Bump dompurify from 3.1.6 to 3.1.7
...
Bumps [dompurify](https://github.com/cure53/DOMPurify ) from 3.1.6 to 3.1.7.
- [Release notes](https://github.com/cure53/DOMPurify/releases )
- [Commits](https://github.com/cure53/DOMPurify/compare/3.1.6...3.1.7 )
---
updated-dependencies:
- dependency-name: dompurify
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-09-27 03:53:15 +00:00
Trevor Buckner
05ad8e17a7
Merge pull request #3755 from naturalcrit/RaiseAutoSaveDelay
2024-09-26 19:17:51 -04:00
Trevor Buckner
bf87225415
Merge branch 'v3.15.1' into RaiseAutoSaveDelay
2024-09-26 19:17:35 -04:00
Trevor Buckner
8b61e69b77
Merge pull request #3754 from naturalcrit/RemoveDoubleGoogleDriveLogs
2024-09-26 19:15:46 -04:00
Trevor Buckner
e260eb0911
Raise timeout to 10 s.
...
No need to be stingy here... Can lower back down if this works.
2024-09-26 19:14:16 -04:00
Trevor Buckner
c8424e0b10
Remove test that no longer applies
2024-09-26 19:12:19 -04:00
Trevor Buckner
ff9a75f6b6
Remove duplicate error logs for google drive update / new
...
Errors are now logged once in the central error handler in app.js
2024-09-26 19:00:07 -04:00
Trevor Buckner
cd0bf9c947
Merge pull request #3740 from naturalcrit/dependabot/npm_and_yarn/stylelint-config-recess-order-5.1.1
...
Bump stylelint-config-recess-order from 5.1.0 to 5.1.1
2024-09-23 15:20:43 -04:00
dependabot[bot]
c039a90624
Bump stylelint-config-recess-order from 5.1.0 to 5.1.1
...
Bumps [stylelint-config-recess-order](https://github.com/stormwarning/stylelint-config-recess-order ) from 5.1.0 to 5.1.1.
- [Release notes](https://github.com/stormwarning/stylelint-config-recess-order/releases )
- [Changelog](https://github.com/stormwarning/stylelint-config-recess-order/blob/main/CHANGELOG.md )
- [Commits](https://github.com/stormwarning/stylelint-config-recess-order/compare/v5.1.0...v5.1.1 )
---
updated-dependencies:
- dependency-name: stylelint-config-recess-order
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-09-23 15:17:32 +00:00
Trevor Buckner
0e8387ec0d
Merge pull request #3734 from naturalcrit/dependabot/npm_and_yarn/mongoose-8.6.3
...
Bump mongoose from 8.6.2 to 8.6.3
2024-09-23 11:16:08 -04:00
dependabot[bot]
1347374ff7
Bump mongoose from 8.6.2 to 8.6.3
...
Bumps [mongoose](https://github.com/Automattic/mongoose ) from 8.6.2 to 8.6.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.6.2...8.6.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-09-23 13:54:45 +00:00
Trevor Buckner
9419186e78
Merge pull request #3739 from naturalcrit/dependabot/npm_and_yarn/eslint-9.11.0
...
Bump eslint from 9.10.0 to 9.11.0
2024-09-23 09:53:30 -04:00
dependabot[bot]
58c6e6a446
Bump eslint from 9.10.0 to 9.11.0
...
Bumps [eslint](https://github.com/eslint/eslint ) from 9.10.0 to 9.11.0.
- [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.10.0...v9.11.0 )
---
updated-dependencies:
- dependency-name: eslint
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-09-23 03:35:10 +00:00
Trevor Buckner
6e2bc1cabe
Merge pull request #3723 from naturalcrit/sort-in-vault
...
Add sorting options to Vault Page
2024-09-20 16:03:17 -04:00
Trevor Buckner
971be6375e
lint
2024-09-20 16:02:09 -04:00
Trevor Buckner
4353c01032
Update server/vault.api.js
2024-09-20 16:01:29 -04:00
Víctor Losada Hernández
d09cecedd7
Merge branch 'master' of https://github.com/naturalcrit/homebrewery into sort-in-vault
2024-09-20 20:54:14 +02:00
Víctor Losada Hernández
235e3f484f
last changes, linted
2024-09-20 20:52:30 +02:00
Víctor Losada Hernández
b53b279241
fix pagination not applying sort
2024-09-20 20:38:54 +02:00
Víctor Losada Hernández
4fd358771a
fix class by suggestion
2024-09-20 20:25:33 +02:00
Víctor Losada Hernández
02147411e3
fix sort and dir props
2024-09-20 20:23:58 +02:00
Víctor Losada Hernández
5d68cddd18
update state when necessary
2024-09-20 15:43:19 +02:00
Víctor Losada Hernández
74a065e747
minor css fix
2024-09-20 15:31:19 +02:00
Trevor Buckner
87c6343f30
Merge pull request #3736 from Gazook89/metadataEditor-tweaks
2024-09-19 16:51:37 -04:00
Gazook89
544f4c6103
tweak headers
2024-09-19 15:29:35 -05:00
Gazook89
a6ac6b98c2
some fixes and updates
...
This fixes something i broke with last commit, but should be final commit.
2024-09-19 11:09:22 -05:00
Gazook89
2336f8508b
Rearrange CSS and small HTML changes
...
Simplified and unified some font-size declarations, adjusted the "descriptions" for various inputs to be similar structure and appearance, change the components h1 label from "Brew" to "Properties Editor", updated the comment about Publishing.
2024-09-19 10:57:55 -05:00
Trevor Buckner
a8e5a96c98
Merge pull request #3733 from naturalcrit/fix-history-state-snippetbar-error
...
fix
2024-09-17 15:33:57 -04:00
Víctor Losada Hernández
61d77b4d2d
fix
2024-09-17 19:55:50 +02:00
Víctor Losada Hernández
30e042635c
Merge pull request #3724 from dbolack-ab/Pagella
...
Add Pagella Font family to Blank
2024-09-17 08:11:13 +02:00
David Bolack
3c04d491e6
Merge branch 'master' into Pagella
2024-09-16 18:34:07 -05:00
David Bolack
41e08831c6
Update font format.
2024-09-16 18:30:59 -05:00
Trevor Buckner
32c583ece8
Merge pull request #3634 from naturalcrit/nav-wrapping
2024-09-16 19:29:51 -04:00
Víctor Losada Hernández
a92b44427d
lint
2024-09-16 23:17:12 +02:00
Víctor Losada Hernández
5961e9042a
merge from master
2024-09-16 23:11:27 +02:00
Trevor Buckner
471de9df9f
Merge pull request #3692 from 5e-Cleric/more-style-snippets
...
Style snippets, more page sizes, A3, A5, Card
2024-09-16 16:55:58 -04:00
Trevor Buckner
398e6ef6f2
Slight rearranging
2024-09-16 16:53:55 -04:00
Víctor Losada Hernández
bb59f0bbae
moving page sizes around
2024-09-16 22:38:58 +02:00
Víctor Losada Hernández
c50ffe0723
linting
2024-09-16 22:38:08 +02:00
Víctor Losada Hernández
9bb21ddd04
Merge branch 'more-style-snippets' of https://github.com/5e-Cleric/homebrewery into more-style-snippets
2024-09-16 22:20:54 +02:00
Víctor Losada Hernández
746cd34087
suggested changes
2024-09-16 22:20:51 +02:00
Víctor Losada Hernández
313727035b
suggested changes
2024-09-16 22:18:13 +02:00
Trevor Buckner
1a8611c528
Merge branch 'master' into more-style-snippets
2024-09-16 16:07:47 -04:00
Trevor Buckner
f7aa9346e9
Merge pull request #3711 from G-Ambatte/experimentalLocalStorageHistory
...
Store limited Brew History in Local Storage
2024-09-16 16:05:28 -04:00
G.Ambatte
83a7636b6f
Simplify historyExists state logic
2024-09-17 07:41:34 +12:00
G.Ambatte
53c05a3ef6
Remove unused default item
2024-09-17 07:27:52 +12:00
Trevor Buckner
e20e681888
Merge branch 'master' into experimentalLocalStorageHistory
2024-09-16 11:10:45 -04:00
Trevor Buckner
f8fef1187c
Merge pull request #3689 from dbolack-ab/GlobalToCToggles
...
Add Style Tab Snippets for Globally toggling additional header inclusion
2024-09-16 11:06:21 -04:00
Trevor Buckner
a866b45c55
Merge branch 'master' into GlobalToCToggles
2024-09-16 09:45:35 -04:00
G.Ambatte
8ceb422156
Separate bundled setState calls
2024-09-16 19:40:11 +12:00
G.Ambatte
8315df33ae
Change empty slot logic
2024-09-16 19:39:51 +12:00
G.Ambatte
59f6f40ace
Add seconds to display options
2024-09-16 19:24:39 +12:00
G.Ambatte
91f9a76af2
Remove spaces from code indentation
2024-09-16 19:20:14 +12:00
G.Ambatte
ae7404eb1f
Remove comments
2024-09-16 19:15:16 +12:00
G.Ambatte
7a2fecf502
Set archiveBrew object directly
...
Co-authored-by: Trevor Buckner <calculuschild@gmail.com >
2024-09-16 19:07:42 +12:00
Trevor Buckner
dfd3b99232
Merge branch 'master' into experimentalLocalStorageHistory
2024-09-16 01:50:54 -04:00
Trevor Buckner
a953bf0555
Merge pull request #3731 from naturalcrit/dependabot/npm_and_yarn/express-static-gzip-2.1.8
2024-09-16 01:44:48 -04:00
Trevor Buckner
88ff10d229
Merge pull request #3732 from naturalcrit/Linting
2024-09-16 01:44:34 -04:00
Trevor Buckner
8d479b8cd1
Lint whitespace changes
2024-09-16 01:42:44 -04:00
Trevor Buckner
63675a46e0
Lint more things
2024-09-16 01:42:21 -04:00
Trevor Buckner
5cc5eec619
Lint toolbar and snippetbar
2024-09-16 01:41:46 -04:00
Trevor Buckner
b5490e3a53
Lint editor.jsx
2024-09-16 01:40:21 -04:00
Trevor Buckner
1645a5acf4
Lint App.js
...
Just whitespace changes
2024-09-16 01:39:44 -04:00
Trevor Buckner
98c5b798a7
Merge branch 'master' into experimentalLocalStorageHistory
2024-09-16 01:03:29 -04:00
Trevor Buckner
295d878c3d
Merge branch 'master' into dependabot/npm_and_yarn/express-static-gzip-2.1.8
2024-09-16 01:02:24 -04:00
Trevor Buckner
a283438b28
Merge pull request #3484 from dbolack-ab/Issue_241_Part_II
2024-09-16 00:51:04 -04:00
Trevor Buckner
48bdc417fa
More logic simplification
2024-09-16 00:39:04 -04:00
dependabot[bot]
d2117259eb
Bump express-static-gzip from 2.1.7 to 2.1.8
...
Bumps [express-static-gzip](https://github.com/tkoenig89/express-static-gzip ) from 2.1.7 to 2.1.8.
- [Release notes](https://github.com/tkoenig89/express-static-gzip/releases )
- [Commits](https://github.com/tkoenig89/express-static-gzip/compare/v2.1.7...v2.1.8 )
---
updated-dependencies:
- dependency-name: express-static-gzip
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-09-16 03:50:51 +00:00
Trevor Buckner
25a40e31c5
Remove console logs
2024-09-15 22:31:29 -04:00
Trevor Buckner
a353425d07
More cleanup
2024-09-15 22:13:41 -04:00
Trevor Buckner
c07c02f1d9
Remove unused variable
2024-09-15 21:44:02 -04:00
Trevor Buckner
81ab9417d3
Clean up unused code
2024-09-15 21:42:55 -04:00
Trevor Buckner
85401ba71b
Fix BrewRenderer scrolling to 0
2024-09-15 21:26:49 -04:00
David Bolack
3ad0755c36
Correct ToC Global toggles subsnippets
...
The snippets incorrectedly reflected their previous incarnation as part of the Styles tab menus.
2024-09-15 18:33:14 -05:00
David Bolack
3388fccad7
Merge branch 'master' into Issue_241_Part_II
2024-09-15 18:11:38 -05:00
David Bolack
98cc79df92
Merge branch 'master' into Pagella
2024-09-15 18:03:51 -05:00
David Bolack
189363ec76
Merge branch 'master' into GlobalToCToggles
2024-09-15 18:03:16 -05:00
David Bolack
dbe56abb24
Merge branch 'master' of github.com:naturalcrit/homebrewery
2024-09-15 17:50:14 -05:00
Trevor Buckner
84c0242eee
Put page jump checks in componentDidUpdate
...
Jump when the current page for brew or editor changes
2024-09-15 00:13:49 -04:00
G.Ambatte
eddc81d051
Merge branch 'master' into experimentalLocalStorageHistory
2024-09-15 14:23:14 +12:00
G.Ambatte
2f392a7517
Lint fixes
2024-09-15 14:19:32 +12:00
G.Ambatte
531e6efa5e
Get configuration from config files
2024-09-15 14:19:24 +12:00
G.Ambatte
72257dc71b
Lint fixes
2024-09-15 14:09:56 +12:00
G.Ambatte
b456bb955a
Initial UI functionality
2024-09-15 14:09:47 +12:00
Trevor Buckner
181c6bf65a
Update editor.jsx
2024-09-14 19:15:39 -04:00
Trevor Buckner
d4fa5d55d0
Merge branch 'master' into pr/3484
2024-09-14 19:15:12 -04:00
Trevor Buckner
5a932b781b
Merge pull request #3729 from naturalcrit/LiftRendererPageStateUp
2024-09-14 19:06:02 -04:00
Trevor Buckner
eebf24e1ba
Merge branch 'LiftRendererPageStateUp' of https://github.com/naturalcrit/homebrewery into LiftRendererPageStateUp
2024-09-14 19:03:06 -04:00
Trevor Buckner
26a126859d
Lint
2024-09-14 19:02:55 -04:00
Trevor Buckner
41b9a570b5
Merge branch 'master' into LiftRendererPageStateUp
2024-09-14 19:01:10 -04:00
Trevor Buckner
76c9f2ee71
Lint
2024-09-14 18:58:23 -04:00
Trevor Buckner
5c2acf3183
Let Editor pass changes up and inherit values down
2024-09-14 18:52:13 -04:00
Trevor Buckner
fa2874b18f
Let brewRenderer pass changes up, and inherit values down
2024-09-14 18:50:38 -04:00
Trevor Buckner
7e776df4d4
Add Current Page states up into editor components, pass down to children
2024-09-14 18:50:09 -04:00
G.Ambatte
7009ef4441
Remove unneeded brew.shareId reference
2024-09-15 00:47:54 +12:00
G.Ambatte
ff19e3875e
Shift GC to use savedAt time
2024-09-14 23:43:44 +12:00
G.Ambatte
7ec2558eef
Add guard clause for history UI items
2024-09-14 23:43:26 +12:00
G.Ambatte
a7cf49557a
Tweak dropdown padding
2024-09-14 23:04:18 +12:00
G.Ambatte
c4c5ffff9b
Tweak UI styling
2024-09-14 22:49:53 +12:00
G.Ambatte
719cc0c485
Remove onClick from UI
2024-09-14 22:49:39 +12:00
G.Ambatte
d01548feb6
Add getHistoryItems function
2024-09-14 21:20:31 +12:00
G.Ambatte
48eb42862a
Add History styling
2024-09-14 17:32:20 +12:00
G.Ambatte
ace790739f
Stub out History function on Editor Nav Bar
2024-09-14 17:32:07 +12:00
G.Ambatte
c77d6e5fae
Simplify logic
2024-09-14 16:50:36 +12:00
G.Ambatte
b6bbed0e1b
Merge branch 'master' into experimentalLocalStorageHistory
2024-09-14 13:59:14 +12:00
Trevor Buckner
4a9fe1dbdb
Merge pull request #3727 from naturalcrit/dependabot/npm_and_yarn/eslint-plugin-react-7.36.1
...
Bump eslint-plugin-react from 7.35.2 to 7.36.1
2024-09-13 11:50:16 -04:00
dependabot[bot]
0ce0ae771b
Bump eslint-plugin-react from 7.35.2 to 7.36.1
...
Bumps [eslint-plugin-react](https://github.com/jsx-eslint/eslint-plugin-react ) from 7.35.2 to 7.36.1.
- [Release notes](https://github.com/jsx-eslint/eslint-plugin-react/releases )
- [Changelog](https://github.com/jsx-eslint/eslint-plugin-react/blob/master/CHANGELOG.md )
- [Commits](https://github.com/jsx-eslint/eslint-plugin-react/compare/v7.35.2...v7.36.1 )
---
updated-dependencies:
- dependency-name: eslint-plugin-react
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-09-13 15:45:11 +00:00
Trevor Buckner
6334d191f8
Merge pull request #3726 from naturalcrit/dependabot/npm_and_yarn/express-4.21.0
...
Bump express from 4.20.0 to 4.21.0
2024-09-13 11:43:57 -04:00
dependabot[bot]
75699874d0
Bump express from 4.20.0 to 4.21.0
...
Bumps [express](https://github.com/expressjs/express ) from 4.20.0 to 4.21.0.
- [Release notes](https://github.com/expressjs/express/releases )
- [Changelog](https://github.com/expressjs/express/blob/4.21.0/History.md )
- [Commits](https://github.com/expressjs/express/compare/4.20.0...4.21.0 )
---
updated-dependencies:
- dependency-name: express
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-09-13 15:26:06 +00:00
Trevor Buckner
f1633cf03c
Merge pull request #3725 from naturalcrit/dependabot/npm_and_yarn/mongoose-8.6.2
...
Bump mongoose from 8.6.1 to 8.6.2
2024-09-13 11:24:45 -04:00
Trevor Buckner
3ef91cb1ea
Add check for scroll event complete/ lift page state up
2024-09-12 12:55:11 -04:00
dependabot[bot]
5b8928685f
Bump mongoose from 8.6.1 to 8.6.2
...
Bumps [mongoose](https://github.com/Automattic/mongoose ) from 8.6.1 to 8.6.2.
- [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.6.1...8.6.2 )
---
updated-dependencies:
- dependency-name: mongoose
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-09-12 03:14:50 +00:00
David Bolack
1b0fd6bb33
Add Pagella face to Blank Template.
...
Pagella is a TeX update of the URW Palladio L face that is a good substitute for the commonly used Book Antiqua and Palatino faces.
https://en.wikipedia.org/wiki/Palatino#:~:text=The%20first%20legal%20free%20version,on%20URW%20Palladio%20L%20font .
2024-09-10 20:52:19 -05:00
David Bolack
84d237e792
Revert "Add Pagella face to Blank Template."
...
This reverts commit 7d298565f9 .
2024-09-10 20:50:47 -05:00
David Bolack
7d298565f9
Add Pagella face to Blank Template.
...
Pagella is a TeX update of the URW Palladio L face that is a good substitute for the commonly used Book Antiqua and Palatino faces.
https://en.wikipedia.org/wiki/Palatino#:~:text=The%20first%20legal%20free%20version,on%20URW%20Palladio%20L%20font .
2024-09-10 20:44:42 -05:00
David Bolack
7c59f56fb2
Explode tocInclude and tocExclude snippet menus to match tocGlobal and tocDepth pattern.
2024-09-10 20:22:50 -05:00
G.Ambatte
091e7e0b65
Merge branch 'master' into experimentalLocalStorageHistory
2024-09-11 07:38:42 +12:00
David Bolack
bc6b4e3bfc
Move ToC Includes Menu from styles to Table of Contents subsnippet
...
Create additional subsnippets for .tocInclude*, .tocExclude*, and move the existing depth entries to a subsnippet.
2024-09-10 14:18:36 -05:00
David Bolack
5a2e071879
Merge branch 'master' into GlobalToCToggles
2024-09-10 14:12:04 -05:00
David Bolack
8fa5eeb0ef
Merge branch 'master' into Issue_241_Part_II
2024-09-10 14:10:20 -05:00
David Bolack
59f27197f6
A few small cleanups for ToC
...
Explicitly define --TOC as included in :root so there is no doubt the default value.
Rearrange Block ToC inclusion classes for organization and comments
Add block level, single Header class exclusion convienance classes.
2024-09-10 13:34:47 -05:00
Trevor Buckner
1646ba7e25
Merge pull request #3481 from naturalcrit/metadata-api-endpoint
...
Add API endpoint to get metadata from brews
2024-09-10 13:36:17 -04:00
Trevor Buckner
29460edca9
Merge branch 'master' into metadata-api-endpoint
2024-09-10 13:26:40 -04:00
David Bolack
f8d170be87
Document level toggles need to look at pages, not page.
2024-09-10 12:15:12 -05:00
Trevor Buckner
2ecdd962bd
Merge pull request #3721 from naturalcrit/dependabot/npm_and_yarn/react-router-dom-6.26.2
...
Bump react-router-dom from 6.26.1 to 6.26.2
2024-09-10 13:13:11 -04:00
David Bolack
ed376f3154
Oy, what a typo.
2024-09-10 11:25:06 -05:00
David Bolack
930974f66d
Merge branch 'GlobalToCToggles' of github.com:dbolack-ab/homebrewery into GlobalToCToggles
2024-09-10 11:11:12 -05:00
dependabot[bot]
aba8946274
Bump react-router-dom from 6.26.1 to 6.26.2
...
Bumps [react-router-dom](https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom ) from 6.26.1 to 6.26.2.
- [Release notes](https://github.com/remix-run/react-router/releases )
- [Changelog](https://github.com/remix-run/react-router/blob/main/packages/react-router-dom/CHANGELOG.md )
- [Commits](https://github.com/remix-run/react-router/commits/react-router-dom@6.26.2/packages/react-router-dom )
---
updated-dependencies:
- dependency-name: react-router-dom
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-09-10 16:01:10 +00:00
Trevor Buckner
a2b5903bde
Merge pull request #3720 from naturalcrit/dependabot/npm_and_yarn/express-4.20.0
...
Bump express from 4.19.2 to 4.20.0
2024-09-10 11:59:55 -04:00
G.Ambatte
a93133a9f3
Merge branch 'master' into experimentalLocalStorageHistory
2024-09-10 23:13:13 +12:00
Víctor Losada Hernández
ea1d0714b4
initial commit
2024-09-10 08:28:34 +02:00
Víctor Losada Hernández
9f4cf60cda
Merge branch 'master' into more-style-snippets
2024-09-10 08:05:36 +02:00
Trevor Buckner
e5ab223571
Better line position (viewport has some margin)
2024-09-10 01:25:26 -04:00
Trevor Buckner
45a9501459
Jump based on scroll position, not cursor position
2024-09-10 01:11:28 -04:00
Trevor Buckner
ec74b994d7
Simplify scroll event for source editor using lodash Throttle
2024-09-10 00:43:44 -04:00
Trevor Buckner
b5155ed256
remove unused variable
2024-09-09 23:40:06 -04:00
Trevor Buckner
315296458a
Remove setting button styles in componentDidMount
...
Just set the state, and the renderer will know what to display.
2024-09-09 23:39:29 -04:00
dependabot[bot]
e601e19381
Bump express from 4.19.2 to 4.20.0
...
Bumps [express](https://github.com/expressjs/express ) from 4.19.2 to 4.20.0.
- [Release notes](https://github.com/expressjs/express/releases )
- [Changelog](https://github.com/expressjs/express/blob/master/History.md )
- [Commits](https://github.com/expressjs/express/compare/4.19.2...4.20.0 )
---
updated-dependencies:
- dependency-name: express
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-09-10 03:36:23 +00:00
Trevor Buckner
0fbb4879a9
Set button appearance based on state
...
Avoid manually editing the DOM elements. Let the Render function update the appearance based on state.
2024-09-09 23:35:18 -04:00
Trevor Buckner
51c8973a85
Move onClick from the lock icon to the whole button
2024-09-09 23:29:10 -04:00
Trevor Buckner
707b90e445
Merge branch 'master' into pr/3484
2024-09-09 23:22:00 -04:00
Trevor Buckner
7f656bc408
Merge pull request #3719 from naturalcrit/Refactor-tableOfContents.gen.js
2024-09-09 23:20:59 -04:00
Trevor Buckner
5c906ee722
Logic rewrite
...
Realized we don't need to build a whole descendency tree of all the headers. We can just track the current indendation level and what headers are at each indent. This removes about 1/4 of the code, and lets us put all of the exit conditions (no title, no showPage, ToCExclude) in one place to easily see what is being excluded and what not.
2024-09-09 23:16:56 -04:00
David Bolack
3629292ebb
Remove
2024-09-09 17:09:24 -05:00
Trevor Buckner
2cb3ca6880
Merge pull request #3714 from Gazook89/Meta-Tags-for-Vault
...
Meta Tags for the Vault Page
2024-09-09 11:13:42 -04:00
Trevor Buckner
90ee9afb54
Merge pull request #3679 from dbolack-ab/skipCountingSnippet
...
Add Page number alteration snippets
2024-09-09 11:12:16 -04:00
Trevor Buckner
2284f15876
Update tableOfContents.gen.js
2024-09-09 11:11:40 -04:00
Trevor Buckner
bfcb904ab7
Merge branch 'master' into skipCountingSnippet
2024-09-09 11:10:47 -04:00
Trevor Buckner
232d3c66a4
Merge pull request #3705 from Gazook89/Hide-Toolbar-2
...
Add button to toggle Preview tools
2024-09-09 11:03:53 -04:00
Trevor Buckner
2b458d1265
Merge branch 'master' into Hide-Toolbar-2
2024-09-09 11:01:39 -04:00
Trevor Buckner
58a2993fe1
use className for react classes
...
Avoid warning of conflict with JS "class" keyword.
2024-09-09 11:00:45 -04:00
Trevor Buckner
0f8fcb9889
Merge pull request #3716 from 5e-Cleric/fix-arrows-in-vault-this-time-for-real
...
fixing it once and for all
2024-09-09 10:52:52 -04:00
Trevor Buckner
cbe3c79b6b
Merge branch 'master' into fix-arrows-in-vault-this-time-for-real
2024-09-09 10:46:46 -04:00
Trevor Buckner
c707db4aa5
Merge pull request #3717 from naturalcrit/dependabot/npm_and_yarn/eslint-9.10.0
...
Bump eslint from 9.9.1 to 9.10.0
2024-09-09 10:46:33 -04:00
Trevor Buckner
87415d54d5
Merge branch 'master' into fix-arrows-in-vault-this-time-for-real
2024-09-09 10:46:24 -04:00
Trevor Buckner
7525509887
Merge branch 'master' into dependabot/npm_and_yarn/eslint-9.10.0
2024-09-09 10:40:11 -04:00
Trevor Buckner
e5a189939b
Merge pull request #3639 from dbolack-ab/actualPageNumber
...
Rework page counters for skipping and resets.
2024-09-09 10:39:25 -04:00
dependabot[bot]
f3bc8f91cc
Bump eslint from 9.9.1 to 9.10.0
...
Bumps [eslint](https://github.com/eslint/eslint ) from 9.9.1 to 9.10.0.
- [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.1...v9.10.0 )
---
updated-dependencies:
- dependency-name: eslint
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-09-09 03:41:08 +00:00
David Bolack
3b4dd7dd61
Merge branch 'actualPageNumber' of github.com:dbolack-ab/homebrewery into actualPageNumber
2024-09-08 15:27:43 -05:00
David Bolack
4bc957159d
Move a couple of variables back out of the global space because that was bad.
2024-09-08 15:23:03 -05:00
Trevor Buckner
7881d4b4a2
Small logic cleanup and renaming
2024-09-08 16:22:58 -04:00
David Bolack
1e9c7423c7
Fix "clicked on the toggle ring" crash with scroll lock.
...
The code was doing dom-climbing math based on clicking on the div contents but was attached to the div. Moved the onClick to the contents.
2024-09-07 22:36:27 -05:00
David Bolack
fa74fb4ada
Update tooltips for locking.
2024-09-07 21:38:07 -05:00
David Bolack
7a37bf47c5
Bodge Render side mirroring back into place.
2024-09-07 21:33:51 -05:00
David Bolack
be70b9e67d
Regroup page numbering snippets, update icons
2024-09-07 20:50:18 -05:00
David Bolack
f7a5097dd8
Merge branch 'master' into skipCountingSnippet
2024-09-07 20:43:28 -05:00
David Bolack
758c2799a1
That was the wrong way. Lets try this ugly fix.
2024-09-07 20:40:29 -05:00
David Bolack
b0dffc6df1
Drop empty entries
2024-09-07 20:35:43 -05:00
David Bolack
6ea724bb16
Start skipping .skipCount in ToC
2024-09-07 20:30:16 -05:00
David Bolack
b58688bd62
Stop comparing lengths, dude.
2024-09-07 20:19:56 -05:00
David Bolack
0f8461ced6
Not a collection.
2024-09-07 20:16:16 -05:00
David Bolack
3b0028da69
Move some of thos variables back.
2024-09-07 20:12:05 -05:00
David Bolack
049b64cd41
Remove unneeded variable
2024-09-07 19:54:52 -05:00
David Bolack
8709772f51
Merge branch 'actualPageNumber' of github.com:dbolack-ab/homebrewery into actualPageNumber
2024-09-07 19:54:13 -05:00
David Bolack
dcc7a22272
First pass at code fixes.
...
Move functions out of function
Use querySelector instead of querySelectorAll
Flip skip and reset counter order.
2024-09-07 19:47:16 -05:00
David Bolack
92f963d798
Merge branch 'master' into actualPageNumber
2024-09-07 18:59:12 -05:00
Víctor Losada Hernández
e5f6d28abd
fixing it once and for all
2024-09-07 22:37:22 +02:00
Trevor Buckner
b124e55b3d
Merge branch 'master' into Issue_241_Part_II
2024-09-06 23:51:14 -04:00
G.Ambatte
6e1cf63ed9
Merge branch 'experimentalLocalStorageHistory' of https://github.com/G-Ambatte/homebrewery into experimentalLocalStorageHistory
2024-09-07 14:07:36 +12:00
G.Ambatte
bc35b5245b
Fix renamed variable
2024-09-07 14:07:30 +12:00
G.Ambatte
4033307473
Merge branch 'master' into experimentalLocalStorageHistory
2024-09-07 14:05:16 +12:00
G.Ambatte
cd30679aac
Remove debugging line
2024-09-07 14:01:25 +12:00
G.Ambatte
9679e5b130
Add garbage collection function to remove version data after specified period without update
2024-09-07 14:00:31 +12:00
G.Ambatte
4d295f5f18
Add comments to elucidate the madness
2024-09-07 13:22:44 +12:00
G.Ambatte
6ed6b6d66f
Remove debugging line
2024-09-07 13:10:36 +12:00
G.Ambatte
87ba4ee264
Basic functionality working
2024-09-07 13:07:58 +12:00
Trevor Buckner
5e9fad9b09
Merge branch 'master' into actualPageNumber
2024-09-06 16:56:49 -04:00
G.Ambatte
6693eebe64
Updated version saving logic
2024-09-07 08:47:53 +12:00
Trevor Buckner
f0a8bf379a
Fix non-uniform spacing/indenting
2024-09-06 16:43:44 -04:00
Trevor Buckner
fb843ef3c1
Merge branch 'master' into GlobalToCToggles
2024-09-06 16:36:02 -04:00
Trevor Buckner
22678b15af
Fix snippet filter
2024-09-06 16:35:18 -04:00
Trevor Buckner
d2cefa8bf7
Merge branch 'master' into GlobalToCToggles
2024-09-06 16:22:52 -04:00
Trevor Buckner
e5d0051075
Create pull_request_template.md
2024-09-06 15:57:33 -04:00
Trevor Buckner
df8fd077ca
Merge pull request #3696 from dbolack-ab/snippets-no-gen
2024-09-06 14:16:50 -04:00
David Bolack
88caa81baa
Merge branch 'master' into snippets-no-gen
2024-09-06 12:25:22 -05:00
David Bolack
4a1e4c1b80
Merge branch 'master' into actualPageNumber
2024-09-06 12:24:40 -05:00
David Bolack
cf4747553c
Merge branch 'master' into skipCountingSnippet
2024-09-06 12:23:46 -05:00
David Bolack
e777fb542a
Merge branch 'master' into GlobalToCToggles
2024-09-06 09:47:59 -05:00
David Bolack
5c9c342b10
Update client/homebrew/editor/snippetbar/snippetbar.jsx
...
Co-authored-by: Trevor Buckner <calculuschild@gmail.com >
2024-09-06 01:25:13 -05:00
G.Ambatte
f3011eeef9
Update delay amounts
2024-09-06 16:58:30 +12:00
G.Ambatte
9fd581149b
Shift version history to separate file
2024-09-06 16:57:11 +12:00
Trevor Buckner
84736980c9
Merge pull request #3713 from Gazook89/Fix-Vault-Styling-Issues
...
Fix Vault Page CSS specificity issues
2024-09-05 14:59:09 -04:00
Gazook89
03c14e5847
adds meta tags for the Vault page
...
So they show up when sharing the link in Discord or wherever.
2024-09-05 11:24:59 -05:00
Gazook89
e0be7a5db3
Move rules out of body and into more specific elements
2024-09-05 11:13:08 -05:00
Trevor Buckner
2e332d7699
Merge pull request #3710 from naturalcrit/dependabot/npm_and_yarn/eslint-plugin-jest-28.8.3
...
Bump eslint-plugin-jest from 28.8.2 to 28.8.3
2024-09-05 11:01:57 -04:00
G.Ambatte
03bc9a8189
Test of combined version and time differential requirement for update
2024-09-05 23:24:14 +12:00
G.Ambatte
421c88cc07
Save brew text/style to local storage
2024-09-05 22:35:14 +12:00
dependabot[bot]
53979f2266
Bump eslint-plugin-jest from 28.8.2 to 28.8.3
...
Bumps [eslint-plugin-jest](https://github.com/jest-community/eslint-plugin-jest ) from 28.8.2 to 28.8.3.
- [Release notes](https://github.com/jest-community/eslint-plugin-jest/releases )
- [Changelog](https://github.com/jest-community/eslint-plugin-jest/blob/main/CHANGELOG.md )
- [Commits](https://github.com/jest-community/eslint-plugin-jest/compare/v28.8.2...v28.8.3 )
---
updated-dependencies:
- dependency-name: eslint-plugin-jest
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-09-05 03:38:40 +00:00
Trevor Buckner
780c92cb9b
Merge pull request #3704 from G-Ambatte/experimentalGitAttribs
2024-09-04 19:38:41 -04:00
Trevor Buckner
20c54ef79e
Merge branch 'master' into experimentalGitAttribs
2024-09-04 19:38:32 -04:00
Trevor Buckner
5ce69041fc
Merge pull request #3708 from naturalcrit/fix-arrows
...
FIx missing arrows
2024-09-04 18:07:38 -04:00
Víctor Losada Hernández
20db8c6720
restore missing state
2024-09-04 23:57:44 +02:00
Trevor Buckner
ed35eb2680
Merge pull request #3702 from naturalcrit/dependabot/npm_and_yarn/mongoose-8.6.1
2024-09-04 17:22:22 -04:00
Trevor Buckner
2a7b7cd50c
Merge branch 'master' into dependabot/npm_and_yarn/mongoose-8.6.1
2024-09-04 17:21:44 -04:00
Trevor Buckner
d37fa03ec7
Merge pull request #3701 from naturalcrit/dependabot/npm_and_yarn/eslint-plugin-react-7.35.2
2024-09-04 17:21:33 -04:00
Trevor Buckner
2c7d39147d
Merge branch 'master' into dependabot/npm_and_yarn/eslint-plugin-react-7.35.2
2024-09-04 17:20:58 -04:00
Trevor Buckner
6535e94ccd
Merge pull request #3707 from naturalcrit/v3.15.0
2024-09-04 17:20:49 -04:00
Trevor Buckner
2ede3d7cf3
Merge branch 'master' into v3.15.0
2024-09-04 17:20:41 -04:00
Trevor Buckner
e56b2a7ce5
Merge pull request #3706 from 5e-Cleric/experimental-development
2024-09-04 17:20:21 -04:00
Trevor Buckner
ad8e004fa9
Update Dismisskey for popup
...
Need a new key so this new message will appear again for users who cleared the popup before
2024-09-04 17:16:11 -04:00
Trevor Buckner
e05d2e805c
v3.15.0
2024-09-04 17:01:27 -04:00
Víctor Losada Hernández
a083999943
Merge branch 'master' into experimental-development
2024-09-04 22:54:09 +02:00
Víctor Losada Hernández
247bc719b8
fix z-index issue
2024-09-04 22:52:57 +02:00
Víctor Losada Hernández
cd01014d79
notification
2024-09-04 22:48:39 +02:00
Víctor Losada Hernández
7ab1efb0c9
litttle message in vault
2024-09-04 22:39:30 +02:00
Trevor Buckner
eb05ac00a6
Merge pull request #3263 from 5e-Cleric/experimental-development
2024-09-04 16:24:44 -04:00
Trevor Buckner
2bc39a468f
set default value for dontRenderStorage prop
2024-09-04 16:15:18 -04:00
Trevor Buckner
c735ab7c35
Fix crash on metaData tab
...
Hiding the `moveBrew` etc. properties when `this.state.showMoveArrows == false` means when the `metaData` tab turns off the arrows it crashes because now some functions are undefined.
Just using a whole separate property to avoid conflict.
2024-09-04 15:50:32 -04:00
Gazook89
49e072f03f
Add button to toggle Preview tools
...
Toggles a state variable to either visible or hidden which is used to set a related class on the toolbar. The hiding is done with CSS, just reducing the width of the toolbar and the opacity of the tools.
2024-09-04 13:54:55 -05:00
Víctor Losada Hernández
d5e367649e
fix overlapping thumbnail issue
2024-09-04 12:23:21 +02:00
Víctor Losada Hernández
f10444f14a
fix for storage 2
2024-09-04 12:18:35 +02:00
Víctor Losada Hernández
29d4003bd2
fix splitpane errors
2024-09-04 09:37:35 +02:00
Víctor Losada Hernández
1225e5cb6a
remove storage rendering in vault
2024-09-04 09:29:47 +02:00
Víctor Losada Hernández
aab24c732e
fix error managing
2024-09-04 09:25:13 +02:00
G.Ambatte
dd5d551c73
Merge branch 'master' into experimentalGitAttribs
2024-09-04 17:11:21 +12:00
Trevor Buckner
d7d690a9d1
Lint
2024-09-04 01:06:56 -04:00
Trevor Buckner
4f39222724
Change spaces to tabs
2024-09-04 00:52:08 -04:00
Trevor Buckner
a1e585ccaa
Remove redundant validation check
...
`performSearch()` and `loadTotal()` shouldn't need a separate check for valid items if `loadPage` already does it through `validateForm`
2024-09-04 00:43:12 -04:00
Trevor Buckner
373a627c14
With unneeded state gone, can rename back to title, author, etc.
...
No longer naming conflict with state and function parameters. We can go back to the shorter names
2024-09-04 00:35:27 -04:00
Trevor Buckner
a7cb73b02e
Remove unused update in loadPage
...
Now `update` is unused; can remove that parameter.
2024-09-04 00:20:18 -04:00
Trevor Buckner
cd3e517b03
Remove setPageState in loadPage. Already occurs in performSearch()
...
`performSearch` will set PageState whether `update` is true or not, so this line here is not doing anything.
2024-09-04 00:18:35 -04:00
Trevor Buckner
ef201409d9
rename setPage to setPageState (match pageState name)
2024-09-03 23:55:54 -04:00
Trevor Buckner
e3ef93f03a
Alignment
2024-09-03 23:54:52 -04:00
G.Ambatte
aa90513825
Update gitattributes
2024-09-04 15:46:00 +12:00
Trevor Buckner
1990064be4
Tidy findTotal
2024-09-03 23:44:43 -04:00
Trevor Buckner
44099c813c
Fix err is not defined. Remove extra console.error (central error handler already prints the error)
2024-09-03 23:44:24 -04:00
dependabot[bot]
8f18601c2e
Bump mongoose from 8.6.0 to 8.6.1
...
Bumps [mongoose](https://github.com/Automattic/mongoose ) from 8.6.0 to 8.6.1.
- [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.6.0...8.6.1 )
---
updated-dependencies:
- dependency-name: mongoose
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-09-04 03:39:03 +00:00
dependabot[bot]
db02f88287
Bump eslint-plugin-react from 7.35.1 to 7.35.2
...
Bumps [eslint-plugin-react](https://github.com/jsx-eslint/eslint-plugin-react ) from 7.35.1 to 7.35.2.
- [Release notes](https://github.com/jsx-eslint/eslint-plugin-react/releases )
- [Changelog](https://github.com/jsx-eslint/eslint-plugin-react/blob/master/CHANGELOG.md )
- [Commits](https://github.com/jsx-eslint/eslint-plugin-react/compare/v7.35.1...v7.35.2 )
---
updated-dependencies:
- dependency-name: eslint-plugin-react
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-09-04 03:38:40 +00:00
Trevor Buckner
56185e2a1c
Tidy findBrews
2024-09-03 23:11:10 -04:00
Trevor Buckner
590318ff1d
Simplify rendererConditions
2024-09-03 22:58:50 -04:00
Víctor Losada Hernández
48a5a70d2e
z-index doesn't work with static positioning
2024-09-04 00:17:59 +02:00
Víctor Losada Hernández
1c1901c90a
fix thumbnail over text
2024-09-04 00:16:15 +02:00
Víctor Losada Hernández
ebae351033
remove unnecesary state
2024-09-04 00:11:58 +02:00
Víctor Losada Hernández
e54d81ceef
small css fixes
2024-09-03 23:28:33 +02:00
Víctor Losada Hernández
849da23829
bring back thumbnails!
2024-09-03 23:17:33 +02:00
Víctor Losada Hernández
1e36e63ed6
bring back the comma!
2024-09-03 23:07:23 +02:00
Víctor Losada Hernández
abb2d57879
Merge branch 'master' of https://github.com/naturalcrit/homebrewery into experimental-development
2024-09-03 22:58:05 +02:00
Víctor Losada Hernández
52779eec35
Merge branch 'experimental-development' of https://github.com/5e-Cleric/homebrewery into experimental-development
2024-09-03 22:56:49 +02:00
Víctor Losada Hernández
9e694e5e46
move email catching to api
2024-09-03 22:56:45 +02:00
Víctor Losada Hernández
321b8a0696
Merge pull request #3699 from Gazook89/Focus-Editor-After-Switch
...
Set Focus on Editor after Tab Switches
2024-09-03 22:37:01 +02:00
Víctor Losada Hernández
f2563e436f
Merge branch 'master' into Focus-Editor-After-Switch
2024-09-03 22:34:30 +02:00
Gazook89
3c6f49aa0a
Move focus method to handleViewChange
2024-09-03 14:48:45 -05:00
Trevor Buckner
9bc5701006
Indent
2024-09-03 14:18:17 -04:00
Trevor Buckner
a3a5f749ab
Merge pull request #3700 from naturalcrit/dependabot/npm_and_yarn/eslint-plugin-react-7.35.1
...
Bump eslint-plugin-react from 7.35.0 to 7.35.1
2024-09-03 14:10:20 -04:00
dependabot[bot]
36b026d89e
Bump eslint-plugin-react from 7.35.0 to 7.35.1
...
Bumps [eslint-plugin-react](https://github.com/jsx-eslint/eslint-plugin-react ) from 7.35.0 to 7.35.1.
- [Release notes](https://github.com/jsx-eslint/eslint-plugin-react/releases )
- [Changelog](https://github.com/jsx-eslint/eslint-plugin-react/blob/master/CHANGELOG.md )
- [Commits](https://github.com/jsx-eslint/eslint-plugin-react/compare/v7.35.0...v7.35.1 )
---
updated-dependencies:
- dependency-name: eslint-plugin-react
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-09-03 18:09:47 +00:00
Trevor Buckner
dbd4a5c490
Merge pull request #3686 from G-Ambatte/v3.14.3
...
Up version to v3.14.3
2024-09-03 14:08:29 -04:00
Trevor Buckner
0d95c48988
Merge branch 'master' into v3.14.3
2024-09-03 14:08:06 -04:00
Trevor Buckner
0d40f4eb16
Small Rewording
2024-09-03 14:06:54 -04:00
Trevor Buckner
6234943ffd
Merge pull request #3698 from naturalcrit/dependabot/npm_and_yarn/eslint-plugin-jest-28.8.2
...
Bump eslint-plugin-jest from 28.8.0 to 28.8.2
2024-09-03 13:52:41 -04:00
dependabot[bot]
702f55bdbd
Bump eslint-plugin-jest from 28.8.0 to 28.8.2
...
Bumps [eslint-plugin-jest](https://github.com/jest-community/eslint-plugin-jest ) from 28.8.0 to 28.8.2.
- [Release notes](https://github.com/jest-community/eslint-plugin-jest/releases )
- [Changelog](https://github.com/jest-community/eslint-plugin-jest/blob/main/CHANGELOG.md )
- [Commits](https://github.com/jest-community/eslint-plugin-jest/compare/v28.8.0...v28.8.2 )
---
updated-dependencies:
- dependency-name: eslint-plugin-jest
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-09-03 17:35:36 +00:00
Trevor Buckner
859117cdf8
Merge pull request #3691 from naturalcrit/dependabot/npm_and_yarn/googleapis/drive-8.14.0
...
Bump @googleapis/drive from 8.13.1 to 8.14.0
2024-09-03 13:34:22 -04:00
Víctor Losada Hernández
7474605b93
rename 2
2024-09-03 15:58:31 +02:00
Víctor Losada Hernández
00a83ec16e
renaming to make more clear
2024-09-03 15:54:53 +02:00
Gazook89
afa1e7974a
Set focus on editor after tab switch
...
This sets the focus on the editor (and thus reveals cursor position) between editor changes (style to text to meta and back).
2024-09-02 21:07:19 -05:00
Víctor Losada Hernández
1517c00132
error logging to vault
2024-09-01 19:39:00 +02:00
Víctor Losada Hernández
6d24908465
now yes fixed
2024-09-01 19:31:43 +02:00
Víctor Losada Hernández
fd2d1f1ce2
fix little bug
2024-09-01 19:21:40 +02:00
Víctor Losada Hernández
226ad49663
renaming to keep some consistency
2024-09-01 19:12:25 +02:00
Víctor Losada Hernández
e830c51a16
add spacing to link
2024-09-01 11:22:25 +02:00
Víctor Losada Hernández
b6e904c9c8
"Rename searchButtonRef to submitButtonRef and update references"
2024-09-01 11:19:00 +02:00
Víctor Losada Hernández
3fc2e5202e
rest of the suggested changes
2024-09-01 11:14:09 +02:00
Víctor Losada Hernández
f0b447866c
suggested changes 2
2024-09-01 11:10:46 +02:00
Víctor Losada Hernández
c528c8639a
title attribute to hidden authors
2024-08-31 23:21:14 +02:00
Víctor Losada Hernández
47d8bb20d2
hide usernames with emails
2024-08-31 23:12:24 +02:00
Víctor Losada Hernández
bb08aed1a8
move some css to prevent affecting brew cards
2024-08-31 22:43:54 +02:00
Víctor Losada Hernández
9a2f18fc0d
provide error code text
2024-08-31 22:38:03 +02:00
Víctor Losada Hernández
df21f978df
bring back throws
2024-08-31 22:34:04 +02:00
Víctor Losada Hernández
fb8c4c5c44
all sugggested changes
2024-08-31 22:28:29 +02:00
Víctor Losada Hernández
19102db23a
indent with tabs
2024-08-31 22:11:43 +02:00
Víctor Losada Hernández
8d2a9ed9cb
adress app.js changes requested
2024-08-31 22:08:21 +02:00
David Bolack
6f837980eb
All Snippet entries that have subsnippets but not generators.
2024-08-31 13:54:52 -05:00
Víctor Losada Hernández
a0010c9c84
"Moved error message styles from .searchButton to body, and removed duplicate styles."
2024-08-31 19:39:01 +02:00
Víctor Losada Hernández
f7c3e81b7b
"Added new route for '/vault' and updated catch-all for invalid routes"
2024-08-31 19:35:44 +02:00
Víctor Losada Hernández
c7f695e86a
Merge branch 'master' of https://github.com/naturalcrit/homebrewery into experimental-development
2024-08-31 19:21:06 +02:00
Víctor Losada Hernández
e6e220fbec
reposition button
2024-08-31 19:19:47 +02:00
Víctor Losada Hernández
8658a6a97a
styling
2024-08-31 19:13:08 +02:00
Víctor Losada Hernández
cd94857b13
"Refactor VaultPage component: remove unnecessary whitespace, reformat code, and reorganize tips and tricks section"
2024-08-31 18:59:32 +02:00
Víctor Losada Hernández
3825bcbbfb
"Simplified brewsQuery construction in buildBrewsQuery function"
2024-08-31 18:41:36 +02:00
David Bolack
82f2d0254f
Merge branch 'master' into Issue_241_Part_II
...
Clean up a small bit of linting in the pr related functions.
2024-08-31 11:11:22 -05:00
Víctor Losada Hernández
981e7986ce
Added className='renderer' to two input elements in vaultPage.jsx and added CSS rules for .renderer in vaultPage.less to display an error message when no checkboxes are checked.
2024-08-31 16:20:46 +02:00
dependabot[bot]
89583528c2
Bump @googleapis/drive from 8.13.1 to 8.14.0
...
Bumps [@googleapis/drive](https://github.com/googleapis/google-api-nodejs-client ) from 8.13.1 to 8.14.0.
- [Release notes](https://github.com/googleapis/google-api-nodejs-client/releases )
- [Changelog](https://github.com/googleapis/google-api-nodejs-client/blob/main/release-please-config.json )
- [Commits](https://github.com/googleapis/google-api-nodejs-client/compare/drive-v8.13.1...drive-v8.14.0 )
---
updated-dependencies:
- dependency-name: "@googleapis/drive"
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-08-30 03:53:37 +00:00
David Bolack
2a366c3053
Update ToC Style snippets for better specificity
2024-08-29 17:51:59 -05:00
David Bolack
de8bd67e07
Add toggles for global Toc changes.
2024-08-29 17:44:45 -05:00
Víctor Losada Hernández
dcfc510ce8
more page sizes + more background options
2024-08-30 00:22:47 +02:00
G.Ambatte
e588e68313
Merge branch 'master' into v3.14.3
2024-08-29 17:47:36 +12:00
G.Ambatte
e4c2ffe973
Add image wrap icon fix
2024-08-29 17:46:23 +12:00
Trevor Buckner
c41116e6c8
Merge pull request #3687 from G-Ambatte/fixImageWrapIcons
...
Fix Image Wrap icons
2024-08-29 01:30:17 -04:00
G.Ambatte
b66ac43b35
Fix Image Wrap icons
2024-08-29 17:23:18 +12:00
G.Ambatte
c30404804d
Fix typo
2024-08-29 17:20:39 +12:00
G.Ambatte
6b10e1aacb
Very important F
2024-08-29 17:19:47 +12:00
G.Ambatte
e6185879c8
Up version to v3.14.3
2024-08-29 17:17:12 +12:00
Trevor Buckner
e776e5e054
Merge pull request #3684 from naturalcrit/FixTableInterruptors
2024-08-29 00:47:00 -04:00
Trevor Buckner
04bbb3d615
Merge branch 'master' into FixTableInterruptors
2024-08-29 00:44:46 -04:00
Trevor Buckner
5d1f589b07
Merge pull request #3685 from naturalcrit/dependabot/npm_and_yarn/marked-extended-tables-1.0.10
2024-08-29 00:44:38 -04:00
dependabot[bot]
ce5f093945
Bump marked-extended-tables from 1.0.9 to 1.0.10
...
Bumps [marked-extended-tables](https://github.com/calculuschild/marked-extended-tables ) from 1.0.9 to 1.0.10.
- [Release notes](https://github.com/calculuschild/marked-extended-tables/releases )
- [Changelog](https://github.com/calculuschild/marked-extended-tables/blob/main/release.config.cjs )
- [Commits](https://github.com/calculuschild/marked-extended-tables/commits )
---
updated-dependencies:
- dependency-name: marked-extended-tables
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-08-29 04:42:49 +00:00
Trevor Buckner
371e464eb2
Merge branch 'master' into FixTableInterruptors
2024-08-29 00:30:07 -04:00
Trevor Buckner
804d714473
Add regex to detect when to interrupt a table
2024-08-29 00:20:47 -04:00
Trevor Buckner
8d00389aa2
Merge pull request #3683 from naturalcrit/dependabot/npm_and_yarn/marked-extended-tables-1.0.9
2024-08-29 00:19:42 -04:00
dependabot[bot]
d64787168b
Bump marked-extended-tables from 1.0.8 to 1.0.9
...
Bumps [marked-extended-tables](https://github.com/calculuschild/marked-extended-tables ) from 1.0.8 to 1.0.9.
- [Release notes](https://github.com/calculuschild/marked-extended-tables/releases )
- [Changelog](https://github.com/calculuschild/marked-extended-tables/blob/main/release.config.cjs )
- [Commits](https://github.com/calculuschild/marked-extended-tables/commits )
---
updated-dependencies:
- dependency-name: marked-extended-tables
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-08-29 04:17:07 +00:00
Trevor Buckner
49a1a74263
Merge pull request #3681 from naturalcrit/dependabot/npm_and_yarn/mongoose-8.6.0
2024-08-29 00:04:39 -04:00
dependabot[bot]
2636635397
Bump mongoose from 8.5.4 to 8.6.0
...
Bumps [mongoose](https://github.com/Automattic/mongoose ) from 8.5.4 to 8.6.0.
- [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.4...8.6.0 )
---
updated-dependencies:
- dependency-name: mongoose
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-08-29 04:01:06 +00:00
Trevor Buckner
c49c620ce1
Merge pull request #3680 from naturalcrit/dependabot/npm_and_yarn/stylelint-16.9.0
2024-08-29 00:00:07 -04:00
dependabot[bot]
0b00162590
Bump stylelint from 16.8.2 to 16.9.0
...
Bumps [stylelint](https://github.com/stylelint/stylelint ) from 16.8.2 to 16.9.0.
- [Release notes](https://github.com/stylelint/stylelint/releases )
- [Changelog](https://github.com/stylelint/stylelint/blob/main/CHANGELOG.md )
- [Commits](https://github.com/stylelint/stylelint/compare/16.8.2...16.9.0 )
---
updated-dependencies:
- dependency-name: stylelint
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-08-29 03:33:22 +00:00
David Bolack
03f8fc83ee
Add snippets for page Numbering updates
...
Adds options to add skipCounting and ResetCounting classes
2024-08-28 21:33:32 -05:00
Trevor Buckner
5e19bdaee7
Merge pull request #3678 from dbolack-ab/accursedKeys
2024-08-28 22:24:50 -04:00
David Bolack
089dcb942b
Merge branch 'master' into actualPageNumber
2024-08-28 21:23:22 -05:00
David Bolack
a4f30d687d
Merge branch 'master' into Issue_241_Part_II
2024-08-28 21:17:10 -05:00
David Bolack
bda8be6ec1
Remove stray console.log
2024-08-28 20:54:50 -05:00
David Bolack
132a7d1f53
A temporary, imperfect fix for the jump hotkeys
2024-08-28 20:48:33 -05:00
Trevor Buckner
2dbb92a37e
Merge pull request #3677 from 5e-Cleric/account-page-handling-of-invalid-user
...
Account page handling of invalid user
2024-08-28 17:07:52 -04:00
Trevor Buckner
a124bd8657
I'm dumb.
2024-08-28 16:59:22 -04:00
Trevor Buckner
5323e6ca7a
Merge branch 'master' into account-page-handling-of-invalid-user
2024-08-28 15:25:12 -04:00
Trevor Buckner
8423c48fd1
Slight rewording and add a period
2024-08-28 15:24:50 -04:00
Trevor Buckner
e8aceac133
Move check for account up a little
2024-08-28 15:21:43 -04:00
Trevor Buckner
5a692a74c5
Merge pull request #3660 from naturalcrit/imageWrappin
...
Image wrapping
2024-08-28 15:18:50 -04:00
Víctor Losada Hernández
6436e62ec0
set up error page
2024-08-28 21:10:28 +02:00
Víctor Losada Hernández
c9947d7f91
handle invalid account in account page, redirect to home
2024-08-28 20:42:53 +02:00
Trevor Buckner
3b3127248b
Merge branch 'master' into imageWrappin
2024-08-28 14:37:26 -04:00
Trevor Buckner
1d2355e802
Merge pull request #3674 from naturalcrit/dependabot/npm_and_yarn/googleapis/drive-8.13.1
...
Bump @googleapis/drive from 8.13.0 to 8.13.1
2024-08-28 09:47:22 -04:00
dependabot[bot]
b85bb7bdd4
Bump @googleapis/drive from 8.13.0 to 8.13.1
...
Bumps [@googleapis/drive](https://github.com/googleapis/google-api-nodejs-client ) from 8.13.0 to 8.13.1.
- [Release notes](https://github.com/googleapis/google-api-nodejs-client/releases )
- [Changelog](https://github.com/googleapis/google-api-nodejs-client/blob/main/release-please-config.json )
- [Commits](https://github.com/googleapis/google-api-nodejs-client/compare/drive-v8.13.0...drive-v8.13.1 )
---
updated-dependencies:
- dependency-name: "@googleapis/drive"
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-08-28 03:42:23 +00:00
Trevor Buckner
a016bfd133
Merge pull request #3673 from Gazook89/Fix-Toolbar-Positioning
...
Revert toolbar positioning change
2024-08-27 13:03:12 -04:00
Trevor Buckner
63fa747fd7
Merge branch 'master' into Fix-Toolbar-Positioning
2024-08-27 13:03:06 -04:00
Gazook89
a7ddeafd06
revert change
2024-08-27 11:59:29 -05:00
Trevor Buckner
81e6cae99d
Merge pull request #3670 from 5e-Cleric/v3.14.2
...
up to v3.14.2
2024-08-27 12:00:38 -04:00
Trevor Buckner
be0db1770d
Reword to describe the fix, rather than the PR title
2024-08-27 11:55:41 -04:00
Trevor Buckner
f905a62b6c
Merge branch 'master' into v3.14.2
2024-08-27 11:47:47 -04:00
Trevor Buckner
35ca31cf43
Merge pull request #3671 from Gazook89/Fix-Toolbar-Positioning
...
Small Patch for Toolbar Positioning
2024-08-27 11:47:24 -04:00
Trevor Buckner
0ce3ac9be2
Merge branch 'master' into Fix-Toolbar-Positioning
2024-08-27 11:27:36 -04:00
Trevor Buckner
7cdf1c93cf
Merge pull request #3665 from Gazook89/Fill-Pane-Buttons
...
VIEWER TOOLS PART 2 - Zoom to Fit, Fit to Width
2024-08-27 11:26:56 -04:00
Gazook89
a7c4b78ec8
set position relative, remove padding
2024-08-27 09:03:24 -05:00
Gazook89
aa321fe2c3
Merge branch 'master' into Fill-Pane-Buttons
2024-08-27 08:43:19 -05:00
Gazook89
7bc0af9a8c
utilize Infinity and reduce()
2024-08-27 08:42:45 -05:00
Víctor Losada Hernández
69475833e6
"Update changelog.md with new hotkeys and fix for reload clobbering modified fresh clones"
2024-08-27 15:23:17 +02:00
Víctor Losada Hernández
7dce3b3de5
up to v3.14.2
2024-08-27 10:41:53 +02:00
Trevor Buckner
183687d676
Merge pull request #3075 from G-Ambatte/addCSSRoute-#1097
...
Add route to get brew styling
2024-08-26 20:04:46 -04:00
Trevor Buckner
786acc7a1c
Merge branch 'master' into addCSSRoute-#1097
2024-08-26 20:01:45 -04:00
Trevor Buckner
3d3ad3f284
Small tweaks
2024-08-26 19:58:28 -04: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
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
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
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
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
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
Gazook89
f3ed174b0e
eslint and stylelint
...
stylelint has a problem with the `:horizontal` pseudo selector in brewRenderer.jsx, which is being used to apply some styling to the custom scrollbars. As far as i can tell, the selector is not standards-track, so that is probably why. Not sure if we want to adjsut our stylelint config to allow it?
2024-08-23 19:16:59 -05:00
Gazook89
977d0ea73a
eslint
2024-08-23 19:05:23 -05:00
Gazook89
04effa2150
removed whitepsace
2024-08-23 18:59:32 -05:00
Gazook89
7f694e6ca7
fold handlePageChange directly into input onChange
...
Moved the single-line handler to operate directly in the onChange handler of the input that is calling it.
Considered doing the same with handleZoomChange, but that handler is used by two buttons rather than just one.
2024-08-23 18:58:51 -05:00
Gazook89
769a03916b
rename pageInput state variable to pageNum
2024-08-23 18:48:36 -05:00
Gazook89
e3c90a8295
unset padding on brewRenderer in @print
...
Fixes an issue with the padding being reflected in pdfs as a white stripe at the top.
2024-08-23 18:45:08 -05:00
Gazook89
561ff6283a
remove redundant handleScroll() method
...
handleScroll is replaced by getCurrentPage(), which effectively does the same thing. The math is slightly different, though very similar, and result seems to be the same.
2024-08-23 18:33:14 -05:00
Víctor Losada Hernández
5e69718f4f
Merge branch 'master' into imageWrappin
2024-08-23 23:30:37 +02:00
Víctor Losada Hernández
ca5a7a1dbb
Merge branch 'master' into addCSSRoute-#1097
2024-08-23 23:16:19 +02:00
Víctor Losada Hernández
505ac0c1d5
Merge pull request #3515 from dbolack-ab/Issue_1430_Unique_HeaderIDs
...
Create globally unique Header IDs when marked parses.
2024-08-23 23:12:02 +02:00
Víctor Losada Hernández
987d1c881b
Merge branch 'master' of https://github.com/naturalcrit/homebrewery into Issue_1430_Unique_HeaderIDs
2024-08-23 23:08:20 +02:00
Gazook89
f34107ee1d
fix typo
2024-08-23 15:06:48 -05:00
Gazook89
2246944dd2
Remove duplicate ErrorBar/popups tray
...
Removed duplicated components.
Restyled the popups to accomodate extra height of viewer tools.
2024-08-23 14:40:19 -05:00
Trevor Buckner
717ced28d6
Merge pull request #3662 from naturalcrit/dependabot/npm_and_yarn/babel/preset-env-7.25.4
...
Bump @babel/preset-env from 7.25.3 to 7.25.4
2024-08-23 01:17:02 -04:00
dependabot[bot]
fb836df8d5
Bump @babel/preset-env from 7.25.3 to 7.25.4
...
Bumps [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env ) from 7.25.3 to 7.25.4.
- [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.25.4/packages/babel-preset-env )
---
updated-dependencies:
- dependency-name: "@babel/preset-env"
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-08-23 05:03:02 +00:00
Trevor Buckner
fba08262d3
Merge pull request #3661 from naturalcrit/dependabot/npm_and_yarn/babel/plugin-transform-runtime-7.25.4
...
Bump @babel/plugin-transform-runtime from 7.24.7 to 7.25.4
2024-08-23 01:01:49 -04:00
dependabot[bot]
56582b6b24
Bump @babel/plugin-transform-runtime from 7.24.7 to 7.25.4
...
Bumps [@babel/plugin-transform-runtime](https://github.com/babel/babel/tree/HEAD/packages/babel-plugin-transform-runtime ) from 7.24.7 to 7.25.4.
- [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.25.4/packages/babel-plugin-transform-runtime )
---
updated-dependencies:
- dependency-name: "@babel/plugin-transform-runtime"
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-08-23 04:58:49 +00:00
Trevor Buckner
43e4e43c7c
Merge pull request #3663 from naturalcrit/updateEsLintV9
...
up ESLint to v9.9
2024-08-23 00:57:34 -04:00
Trevor Buckner
3f3f113305
More typos
2024-08-23 00:54:00 -04:00
Trevor Buckner
96e23ee2ea
fix accidental deletion
2024-08-23 00:52:48 -04:00
Trevor Buckner
c57c9e236b
Update config file to new format
2024-08-23 00:49:36 -04:00
Gazook89
32c6224f40
remove console.log
2024-08-22 23:30:36 -05:00
Gazook89
8dadc57934
adjustment to toolbar spacing between items
...
testing the use of spacing to separate tool groups. Could alternatively use a thin vertical bar.
2024-08-22 23:22:39 -05:00
Gazook89
0dc9e9ecdb
Add 2 custom zoom related icons
...
New icons for Zoom to Fit, and Fit Width buttons. Used SVGR online tool to create react components and then combined them.
If doing in future, be sure to set currentColor on `fill` property in the SVG itself. Make the SVGs as closed curves only (don't rely on stroke). set only a width property, not height.
2024-08-22 23:21:48 -05:00
Gazook89
977b871967
Combine toFit and toFill functions
...
Reduce overlap of the two functions and just require a 'mode' parameter. Could like roll a 'manual' mode into this for the zoom slider, as well, but skipping for now.
2024-08-22 23:19:24 -05:00
Trevor Buckner
4fa8351f7f
Merge pull request #3643 from G-Ambatte/fixMaskSkewing-#3636
...
Change order of operations in mask img transform
2024-08-22 22:14:46 -04:00
Trevor Buckner
fa669f32fc
Merge branch 'master' into fixMaskSkewing-#3636
2024-08-22 22:12:10 -04:00
Trevor Buckner
fc294807fd
Merge branch 'master' into imageWrappin
2024-08-22 22:10:11 -04:00
Trevor Buckner
a9fe516675
Merge pull request #3657 from naturalcrit/dependabot/npm_and_yarn/stylelint-config-recess-order-5.1.0
...
Bump stylelint-config-recess-order from 5.0.1 to 5.1.0
2024-08-22 22:09:53 -04:00
Trevor Buckner
6502847b95
Merge pull request #3648 from dbolack-ab/preservePREColons
...
Fix for the colons in codeblocks issue.
2024-08-22 22:09:34 -04:00
Gazook89
90dd4326e7
Add a toFit() method to fit largest page in view
...
Adding a real toFit() button that takes the page with the largest single dimension (height or width) and makes it fit within the pane.
2024-08-22 20:56:42 -05:00
Trevor Buckner
eeedc5f7d4
Merge branch 'master' into preservePREColons
2024-08-22 21:53:16 -04:00
Trevor Buckner
fff357d08b
Make 'block-level' extension. Tweaks to pass new tests
...
'block-level' because it never occurs inside another block ('inline-level' always occurs inside something else); starts and stops on on its own line without anything else on the same line.
2024-08-22 21:52:40 -04:00
Trevor Buckner
e0b69dce14
add more test cases
...
Test a large number of breaks, and interaction with paragraphs
2024-08-22 21:49:40 -04:00
Trevor Buckner
e6c5e6451c
Add more tests for edge conflicts with definition lists
2024-08-22 21:46:42 -04:00
Trevor Buckner
26866c337f
Add tests to circleci
2024-08-22 21:45:44 -04:00
Gazook89
4c71987866
change the toFit method to toFill
...
Realized this method is filling the preview pane, and that toFit would force the zoom to show the entirety of a single page at once.
2024-08-22 15:56:23 -05:00
Gazook89
8965bb60aa
add a toFit() method to determine zoom change
...
Adds a toFit() method to determine the delta/change needed to the current zoomLevel to fit the page to the pane, so that the widest page fits just inside the pane.
2024-08-22 15:52:52 -05:00
Gazook89
64fb032622
fix className
2024-08-22 15:51:16 -05:00
Trevor Buckner
073076e011
Merge pull request #3654 from naturalcrit/RerouteInvalidPaths
...
Add catch-all for invalid paths
2024-08-22 16:38:25 -04:00
Trevor Buckner
71b505d55b
Merge branch 'master' into RerouteInvalidPaths
2024-08-22 16:37:55 -04:00
Trevor Buckner
dc7d877e6f
Add snippets and icons
2024-08-22 16:35:48 -04:00
Trevor Buckner
40ab2c2283
rearrange code
2024-08-22 14:24:33 -04:00
Trevor Buckner
d8f0618691
Fix variables tests for same reason
2024-08-22 13:20:07 -04:00
Trevor Buckner
955b34b637
Fix tests to account for --HB_src variable presence
2024-08-22 13:12:40 -04:00
Trevor Buckner
8dea2ca9fb
wrapLeft and wrapRight classes to automatically apply wrapping
2024-08-22 12:47:26 -04:00
Trevor Buckner
696bcd4367
Expose src url in --HB_src
...
Decided to do this for *all* images, not just those being injected. In case someone wants to automatically apply wrapping to images inside a stat block, etc.
2024-08-22 12:46:56 -04:00
Trevor Buckner
d70c5a6fe3
Merge pull request #3658 from naturalcrit/UpdateMarkedHelperFunctions
...
Update `cleanURL` helper function to match later Marked version
2024-08-22 11:53:51 -04:00
Trevor Buckner
645c9a122c
Update cleanURL helper function to match later Marked version
2024-08-22 11:51:24 -04:00
Trevor Buckner
b774c89bdb
Merge branch 'master' into RerouteInvalidPaths
2024-08-22 10:41:00 -04:00
dependabot[bot]
c75ebb36cb
Bump stylelint-config-recess-order from 5.0.1 to 5.1.0
...
Bumps [stylelint-config-recess-order](https://github.com/stormwarning/stylelint-config-recess-order ) from 5.0.1 to 5.1.0.
- [Release notes](https://github.com/stormwarning/stylelint-config-recess-order/releases )
- [Changelog](https://github.com/stormwarning/stylelint-config-recess-order/blob/main/CHANGELOG.md )
- [Commits](https://github.com/stormwarning/stylelint-config-recess-order/compare/v5.0.1...v5.1.0 )
---
updated-dependencies:
- dependency-name: stylelint-config-recess-order
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-08-22 03:10:12 +00:00
David Bolack
1c03138968
Merge branch 'master' into Issue_1430_Unique_HeaderIDs
2024-08-21 21:23:09 -05:00
David Bolack
1313772adc
Merge branch 'master' into preservePREColons
2024-08-21 21:21:06 -05:00
David Bolack
695293333f
Fix merge
2024-08-21 21:19:10 -05:00
David Bolack
5431d3ed9b
Merge branch 'master' into Issue_241_Part_II
2024-08-21 21:03:26 -05:00
David Bolack
fc9821a6c4
Merge branch 'master' into actualPageNumber
2024-08-21 20:55:21 -05:00
Víctor Losada Hernández
fb06ae0d03
Merge branch 'master' into pdf-tools
2024-08-21 23:07:25 +02:00
G.Ambatte
e952e05b79
Merge branch 'master' into fixMaskSkewing-#3636
2024-08-22 08:45:26 +12:00
Trevor Buckner
c020297d78
Merge pull request #3655 from naturalcrit/dependabot/npm_and_yarn/googleapis/drive-8.13.0
...
Bump @googleapis/drive from 8.11.1 to 8.13.0
2024-08-21 10:34:35 -04:00
dependabot[bot]
8ea7d3dc8f
Bump @googleapis/drive from 8.11.1 to 8.13.0
...
Bumps [@googleapis/drive](https://github.com/googleapis/google-api-nodejs-client ) from 8.11.1 to 8.13.0.
- [Release notes](https://github.com/googleapis/google-api-nodejs-client/releases )
- [Changelog](https://github.com/googleapis/google-api-nodejs-client/blob/main/release-please-config.json )
- [Commits](https://github.com/googleapis/google-api-nodejs-client/compare/drive-v8.11.1...drive-v8.13.0 )
---
updated-dependencies:
- dependency-name: "@googleapis/drive"
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-08-21 03:14:46 +00:00
Gazook89
051eed0e83
restructure html, eliminate .tool divs
...
Treat each input and button as a direct child of the `.group` class, removing the intermediate div and reassign the `tool` classname to those inputs and buttons. One item, the current / total page "set", is wrapped in a .tool div because they should be considered one item (even within the .group container).
And then a bunch of CSS adjustments to match the new structure.
2024-08-20 21:08:07 -05:00
Gazook89
cdc2ffeff4
remove if statement that shouldn't occur at all
...
Removing a redundant if/else that shouldn't be possible now that the currentPage is clamped between 1 and totalPages.
2024-08-20 20:18:54 -05:00
Trevor Buckner
dedf9e0be9
Merge pull request #3630 from dbolack-ab/FalsePaths
...
Prevent loading of undefined renderer or theme theme bundle.
2024-08-20 17:33:41 -04:00
Trevor Buckner
0cc001fe94
Merge branch 'master' into FalsePaths
2024-08-20 17:33:30 -04:00
Trevor Buckner
0f969ce383
Add catch-all for invalid paths
...
res.route is the currently-matched route. If nothing has been matched by this point (route = undefined), we have an invalid route.
2024-08-20 17:11:50 -04:00
Gazook89
83244485ab
Move scrollToPage to toolbar component
...
Keeps toolbar functions within the toolbar component and reduces props that need to be sent down.
2024-08-20 15:15:36 -05:00
Trevor Buckner
defbc716c0
Merge pull request #3633 from naturalcrit/dependabot/npm_and_yarn/mongoose-8.5.3
...
Bump mongoose from 8.5.2 to 8.5.3
2024-08-20 16:09:07 -04:00
Trevor Buckner
1803dfdeb1
Merge branch 'master' into dependabot/npm_and_yarn/mongoose-8.5.3
2024-08-20 15:54:55 -04:00
Trevor Buckner
787d50f17c
Merge pull request #3483 from dbolack-ab/Issue_241
...
Add Jump-To hotkeys
2024-08-20 15:54:42 -04:00
David Bolack
925d934892
Merge branch 'master' into preservePREColons
2024-08-20 14:02:46 -05:00
David Bolack
e45bcf76ce
Merge branch 'master' into Issue_241
2024-08-20 13:49:02 -05:00
David Bolack
54d5dbf992
Pruning
2024-08-20 13:47:32 -05:00
David Bolack
bb18ed7eda
Merge branch 'master' into Issue_1430_Unique_HeaderIDs
2024-08-20 13:41:29 -05:00
David Bolack
fa63f1d4d5
Merge branch 'master' into Issue_241_Part_II
2024-08-20 13:38:47 -05:00
David Bolack
a6969a9ce2
Merge branch 'master' into actualPageNumber
2024-08-20 13:38:26 -05:00
dependabot[bot]
f8895721fc
Bump mongoose from 8.5.2 to 8.5.3
...
Bumps [mongoose](https://github.com/Automattic/mongoose ) from 8.5.2 to 8.5.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.5.2...8.5.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-08-20 18:36:57 +00:00
David Bolack
ba340f033a
Merge branch 'master' into preservePREColons
2024-08-20 13:36:29 -05:00
Trevor Buckner
4c30a8f6a3
Merge pull request #3641 from naturalcrit/dependabot/npm_and_yarn/stylelint-16.8.2
...
Bump stylelint from 16.8.1 to 16.8.2
2024-08-20 14:35:39 -04:00
David Bolack
cbcb712587
Merge branch 'master' into Issue_241
2024-08-20 13:34:47 -05:00
Trevor Buckner
187b6a9e8a
Merge branch 'master' into dependabot/npm_and_yarn/stylelint-16.8.2
2024-08-20 14:27:37 -04:00
Trevor Buckner
2816a39ff9
Merge pull request #3652 from dbolack-ab/saveTheClones
...
Prevent reload from clobbering modified fresh clones
2024-08-20 14:27:24 -04:00
David Bolack
78c4061199
Merge branch 'master' into Issue_241_Part_II
2024-08-20 13:26:19 -05:00
David Bolack
1ad88c2fca
Merge branch 'master' into actualPageNumber
2024-08-20 13:25:24 -05:00
David Bolack
9203cc2a6a
Merge branch 'master' into preservePREColons
2024-08-20 13:24:24 -05:00
David Bolack
9e19ba2d4e
Merge branch 'master' into saveTheClones
2024-08-20 13:22:56 -05:00
David Bolack
a706c9ff9b
Merge branch 'master' into Issue_241
2024-08-20 13:22:25 -05:00
David Bolack
4957a0d2ef
Flip which arror is which.
2024-08-20 13:18:48 -05:00
David Bolack
727f2bd80e
use replaceState instead
2024-08-20 13:15:32 -05:00
Trevor Buckner
11790fa438
Merge branch 'master' into dependabot/npm_and_yarn/stylelint-16.8.2
2024-08-20 13:53:56 -04:00
Trevor Buckner
c4049ec5fa
Merge pull request #3642 from naturalcrit/dependabot/npm_and_yarn/react-router-dom-6.26.1
...
Bump react-router-dom from 6.26.0 to 6.26.1
2024-08-20 13:53:35 -04:00
Trevor Buckner
02fca27f85
Merge branch 'master' into dependabot/npm_and_yarn/react-router-dom-6.26.1
2024-08-20 13:51:07 -04:00
Trevor Buckner
7f717b92fd
Merge pull request #3653 from naturalcrit/dependabot/npm_and_yarn/elliptic-6.5.7
...
Bump elliptic from 6.5.6 to 6.5.7
2024-08-20 13:50:52 -04:00
dependabot[bot]
e2272b078b
Bump elliptic from 6.5.6 to 6.5.7
...
Bumps [elliptic](https://github.com/indutny/elliptic ) from 6.5.6 to 6.5.7.
- [Commits](https://github.com/indutny/elliptic/compare/v6.5.6...v6.5.7 )
---
updated-dependencies:
- dependency-name: elliptic
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-08-20 17:47:02 +00:00
dependabot[bot]
01161752c6
Bump react-router-dom from 6.26.0 to 6.26.1
...
Bumps [react-router-dom](https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom ) from 6.26.0 to 6.26.1.
- [Release notes](https://github.com/remix-run/react-router/releases )
- [Changelog](https://github.com/remix-run/react-router/blob/main/packages/react-router-dom/CHANGELOG.md )
- [Commits](https://github.com/remix-run/react-router/commits/react-router-dom@6.26.1/packages/react-router-dom )
---
updated-dependencies:
- dependency-name: react-router-dom
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-08-20 17:46:53 +00:00
Trevor Buckner
3237a4f2eb
Merge branch 'master' into dependabot/npm_and_yarn/stylelint-16.8.2
2024-08-20 13:45:58 -04:00
Trevor Buckner
d87e07e9ba
Merge pull request #3649 from naturalcrit/dependabot/npm_and_yarn/stylistic/stylelint-plugin-3.0.1
...
Bump @stylistic/stylelint-plugin from 3.0.0 to 3.0.1
2024-08-20 13:45:38 -04:00
dependabot[bot]
82529e0b06
Bump stylelint from 16.8.1 to 16.8.2
...
Bumps [stylelint](https://github.com/stylelint/stylelint ) from 16.8.1 to 16.8.2.
- [Release notes](https://github.com/stylelint/stylelint/releases )
- [Changelog](https://github.com/stylelint/stylelint/blob/main/CHANGELOG.md )
- [Commits](https://github.com/stylelint/stylelint/compare/16.8.1...16.8.2 )
---
updated-dependencies:
- dependency-name: stylelint
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-08-20 17:44:18 +00:00
dependabot[bot]
641303d1ad
Bump @stylistic/stylelint-plugin from 3.0.0 to 3.0.1
...
Bumps [@stylistic/stylelint-plugin](https://github.com/stylelint-stylistic/stylelint-stylistic ) from 3.0.0 to 3.0.1.
- [Release notes](https://github.com/stylelint-stylistic/stylelint-stylistic/releases )
- [Changelog](https://github.com/stylelint-stylistic/stylelint-stylistic/blob/main/CHANGELOG.md )
- [Commits](https://github.com/stylelint-stylistic/stylelint-stylistic/compare/v3.0.0...v3.0.1 )
---
updated-dependencies:
- dependency-name: "@stylistic/stylelint-plugin"
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-08-20 17:44:14 +00:00
Trevor Buckner
845c2eca76
Merge pull request #3650 from naturalcrit/dependabot/npm_and_yarn/googleapis/drive-8.11.1
...
Bump @googleapis/drive from 8.11.0 to 8.11.1
2024-08-20 13:42:58 -04:00
David Bolack
e957f40775
Revert previous simplification as it breaks the original purpose of this PR
...
Added test for inside a code block.
2024-08-20 12:17:51 -05:00
David Bolack
3985afade9
Remove need for Definition exceptios
...
Retool original `:` break to insert `\n\n`s between each `:` so that
the definition lists never have a chance for a mismatch.
Rename token to "hardbreak"
Add tests for hardBreaks for `:`, `::`, and `:::` which should verify it works and does not collide with definitionlists.
2024-08-20 11:46:43 -05:00
Gazook89
f5ee55d0ca
keep current page number within existing page range
...
Make it so that if a user enters a page number higher than the total page count, it jumps them to last page. if lower than 1, it jumps them to first page.
2024-08-19 23:40:21 -05:00
Gazook89
2cf73698e8
white space lint
2024-08-19 23:38:48 -05:00
Gazook89
28a06348ab
style tool groups, minor tweaks to spacing
2024-08-19 23:15:02 -05:00
Gazook89
9510b4d097
wrap each set of toolbars into groups
...
Allows more styling options, including flex wrapping by group rather than individual button.
2024-08-19 23:14:45 -05:00
Gazook89
37c8ea4fd7
Add total page count and some styling
...
Displaying the total page count near the current page number means we can lose the bottom right toolbar entirely (the renderer could be added to top toolbar, or just left for the metadata info in title bar).
2024-08-19 23:01:55 -05:00
Gazook89
9adc3e2e1a
linting
2024-08-19 22:49:38 -05:00
Gazook89
fd00a9f81d
remove some console logs and some linting
2024-08-19 22:46:25 -05:00
Gazook89
720e43e9d9
update page increment/decrement buttons
...
putting the `pageInput - 1` modifier in the `scrollToPage` method allows for more understandable button function ('back button' is `- 1` and 'forward button' is `+ 1`).
2024-08-19 22:43:41 -05:00
Gazook89
176977dd2a
change input type to 'text'
...
Changing input type to text removes the "spinner" controls from within the text box. The spinner buttons are an accessibility issue (the tiny buttons are tiny), and we already have better buttons for incrementing/decrementing page number.
Text box only accepts numbers.
2024-08-19 22:40:50 -05:00
Gazook89
a42b867bcb
create handler function for controlled input
...
Moved onChange handler function to a component method and simplified it a smidge.
Must use parseInt now because the input type will change to 'text' rather than 'number'
2024-08-19 22:38:46 -05:00
Gazook89
1196a1577f
update minZoom and maxZoom variable names
...
Forgot to update the zoom variable names after making them all uppercase at their assignments.
2024-08-19 22:35:35 -05:00
Gazook89
54b11b1a4c
refactor useEffect for updating currentPage state
...
The current page and the current page input share the same value, so the useEffect hook can be simplified.
2024-08-19 22:34:32 -05:00
Gazook89
7fa9b3cdd2
rearrange state declarations for pages
...
totalPages shouldn't need to be in state, since this component won't be changing it.
renamed pageNumberInput to just pageInput. Was just something that happened in the course of working on it.
currentPage doesn't need to have it's own state separate from pageInput, they should always be the same *value*.
2024-08-19 22:32:02 -05:00
Gazook89
2f42c3f857
change top level constants to all caps
...
Better matches style of top level constants elsewhere in repo
2024-08-19 22:27:49 -05:00
David Bolack
67e868b5ee
Rewrite path oncomponant load for cloned brews to prevent losing active changes on the "new" document.
2024-08-19 20:35:23 -05:00
David Bolack
3a81521e6f
Work around users using Definition lists as paragraph indents.
2024-08-19 19:40:55 -05:00
David Bolack
a30608a8ae
Promote : paragraph breaks shortcut to a token.
2024-08-19 10:36:26 -05:00
dependabot[bot]
6a129aebdb
Bump @googleapis/drive from 8.11.0 to 8.11.1
...
Bumps [@googleapis/drive](https://github.com/googleapis/google-api-nodejs-client ) from 8.11.0 to 8.11.1.
- [Release notes](https://github.com/googleapis/google-api-nodejs-client/releases )
- [Changelog](https://github.com/googleapis/google-api-nodejs-client/blob/main/release-please-config.json )
- [Commits](https://github.com/googleapis/google-api-nodejs-client/compare/drive-v8.11.0...drive-v8.11.1 )
---
updated-dependencies:
- dependency-name: "@googleapis/drive"
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-08-19 03:58:19 +00:00
David Bolack
184f182b3a
Short term fix for the colons in codeblocks issue.
2024-08-18 21:52:29 -05:00
Gazook89
05dd5e4c04
Change .toolbar position to absolute
...
Set as relative position, the toolbar (and mysteriously, the pageInfo box) would jump up 29px (toolbar height) when the "next page" button was clicked. absolute pos fixes this.
2024-08-18 18:51:46 -05:00
Gazook89
499c640a11
Move the Toolbar component out of the iframe
...
The website UI should stay out of the iframe if possible. Otherwise, users can style the UI on their brew which may or may not be a pain, and it's simple enough to avoid it.
2024-08-18 18:50:36 -05:00
Gazook89
5a11b7918e
refactor slider onChange and button onClick
...
Moved the zoomLevel state assignment to a newer useState hook function, making it easier (and shorter) to update that state within event handlers.
The slider onChange is a single easy line, and the buttons handlers are two lines for clarity.
2024-08-18 00:02:49 -05:00
Gazook89
36ab6923ed
remove zoomInput state property
...
zoomLevel and zoomInput should always be the same, so I've removed one.
2024-08-17 23:43:32 -05:00
Gazook89
7cc967ad49
setZoomLevel to no longer use if/else
...
Remove the 'in'/'out' parameter of the function and just have the buttons send postive or negative integers equal to the desired change in the zoom. No need for if/else statements using strings.
2024-08-17 23:39:59 -05:00
Gazook89
d108088295
remove unneeded handler
2024-08-17 21:23:12 -05:00
Gazook89
8be3154865
rename functions/attributes
...
updateZoom() => handleZoom
updateZoom prop => onZoomChange
More clarity of prop versus handler function.
2024-08-17 20:48:30 -05:00
Gazook89
9aa7c67c5b
remove "makeZoom" function
...
The makeZoom function is redundant if we just insert the style a little further down when the `.pages` div is initialized, as a `style` attribute on the tag.
2024-08-17 20:41:59 -05:00
Gazook89
5a84c0aaa7
Merge branch 'pr/3499' into Simplify-Zoom-Slider
2024-08-17 20:22:57 -05:00
Gazook89
4a6418a475
fix padding on sides of slider
...
Extra padding on the sides of a range slider extends the length of the slider, such that you can't move the thumb all the way to the end.
2024-08-17 18:08:33 -05:00
Gazook89
efb4c67e2a
use zoom icons rather than text
2024-08-17 15:40:52 -05:00
Gazook89
b325779466
remove extra line breaks
2024-08-17 15:38:27 -05:00
Gazook89
0d475ab035
refactor some properties
...
Mostly change some properties from things like "transparent" to "unset". A lot of things that are just overriding the default Naturalcrit "colored button". Moved some properties to the top level `.toolbar` class and let it cascade down.
2024-08-17 15:38:00 -05:00
Gazook89
c791c0f60b
modify the interactive states
...
more closely match the properties editor behavior. removed some unnecessary (unused) properties. Outline only appears when element is focused (rather than on hover as well).
2024-08-17 15:36:12 -05:00
Gazook89
f204b0ebc0
tool elements use width:auto for flexibility, but with min-width
...
Set the child elements of the toolbar to have auto width (can expand as needed), but have a min-width so no button, such as an icon, is too small.
2024-08-17 15:34:13 -05:00
Gazook89
adab8449e0
Change toolbar spacing
...
replace column-/row-gap with a single gap at 5px. Padding on each child element will provide the space. Set a height on toolbar, so child elements can be set to 100% height to improve bg color change on hover.
2024-08-17 15:32:30 -05:00
Gazook89
fc96f6bf95
text input changes (text-transform, radius, border, focus)
...
Aligning input here with Properties editor inputs. Removed border radius, added thin border, a focus border.
2024-08-17 14:45:50 -05:00
Gazook89
9924c6049e
Aesthetic changes to tooltip (radius, bg color)
...
Matching tooltip color to the background of the input it belongs to, for better cohesion. Removed border-radius as well.
2024-08-17 14:26:45 -05:00
Gazook89
21e9251043
aesthetic changes (border, text align, font size)
...
Text align isn't doing anything, and no other UI element is using a border and doesn't seem necessary here. Maintains the "flat" design.
2024-08-17 14:25:04 -05:00
Gazook89
19e6d94419
Set as Relative position, remove extra properties
...
Doesn't need to be Sticky positioning, relative is fine (it is still fixed above the iframe). Allows us to remove a bunch of extra properties.
Add a smidgen of padding.
2024-08-17 14:23:33 -05:00
Gazook89
232f28b5b4
Remove extra styling of the slider thumb
...
can just use browser defaults for this.
2024-08-17 14:06:58 -05:00
Gazook89
6af5abd37d
Rearrange nesting of slider tooltip
...
Just moving the :hover:after tooltip to within the existing css rule for sliders.
2024-08-17 14:06:14 -05:00
Gazook89
e0e49c606f
Utilize browser defined style for slider, with accent-color
...
Avoid over-styling of browser-defined slider, but still apply a HB appropriate color scheme. Prevents us from having to create our own tick marks, so we can just define the `option`s in the datalist and get tick marks in the right spot.
2024-08-17 14:05:14 -05:00
Gazook89
e9e49e39fb
Set preview zoom to update with onChange
...
Commented out the existing onChange handler, switched the onMouseUp that actually applies the zoom to onChange.
2024-08-17 13:59:58 -05:00
Gazook89
ee4eb19f1e
Run ESLint auto lint (spaces to tabs mostly)
2024-08-17 13:57:50 -05:00
G.Ambatte
cc9edcc67c
Prevent styling of lines inside folded sections
2024-08-17 23:11:04 +12:00
Víctor Losada Hernández
032fcf12e0
"Removed dynamic generation of zoom levels in datalist, replaced with a single static option of 100%"
2024-08-17 11:39:22 +02:00
G.Ambatte
174024b472
Merge branch 'master' into fixMaskSkewing-#3636
2024-08-17 11:02:25 +12:00
G.Ambatte
8a8cd3fb18
Change order of operations in mask img transform
2024-08-17 10:54:02 +12:00
G.Ambatte
dff0a7ae77
Merge branch 'addCSSRoute-#1097' of https://github.com/G-Ambatte/homebrewery into addCSSRoute-#1097
2024-08-17 10:27:09 +12:00
G.Ambatte
014482b3d5
Remove app.spec.js test command
2024-08-17 10:26:59 +12:00
G.Ambatte
ce7a98f974
Merge branch 'master' into addCSSRoute-#1097
2024-08-17 10:25:18 +12:00
Víctor Losada Hernández
5ee4ada112
"Updated ToolBar component: added zoom level limits, refactored zoom level handling, and modified CSS styles for input and slider elements."
2024-08-16 15:58:00 +02:00
David Bolack
51f758bf47
Rework page counters for skipping and resets.
...
Solves #513
This adds the .skipCounting and .resetCounting classes for causing
a page number to not be incremented or to reset the number at 1.
The ToC Snippet is corrected to match the displayed page numbers
while correctly tracking the page ids.
2024-08-15 17:15:49 -05:00
Víctor Losada Hernández
f0765b5aaa
"refactored ToolBar component to use a single state object, and updated styles in toolBar.less"
2024-08-15 20:05:23 +02:00
Víctor Losada Hernández
9dde4aa94e
Merge branch 'pdf-tools' of https://github.com/5e-Cleric/homebrewery into pdf-tools
2024-08-15 17:46:49 +02:00
Víctor Losada Hernández
1452920fbd
Merge branch 'master' of https://github.com/naturalcrit/homebrewery into pdf-tools
2024-08-15 17:41:27 +02:00
Víctor Losada Hernández
7b18c3ea0a
Merge branch 'master' into metadata-api-endpoint
2024-08-15 17:35:51 +02:00
David Bolack
17b22b8afe
Merge branch 'master' into Issue_241_Part_II
2024-08-15 09:41:03 -05:00
David Bolack
81a098b6cf
Merge branch 'master' into Issue_241
2024-08-15 09:40:23 -05:00
Víctor Losada Hernández
c6f87eded0
add vault nav item to userpage
2024-08-14 20:42:18 +02:00
Víctor Losada Hernández
1c0bbc9390
linting
2024-08-14 20:05:28 +02:00
Víctor Losada Hernández
bf3c083e8c
flow changed, flex added, elipsis added
2024-08-14 16:33:02 +02:00
Víctor Losada Hernández
031ed751d1
up less js
2024-08-14 16:30:33 +02:00
David Bolack
aa2fe3ef97
Merge branch 'master' into FalsePaths
2024-08-13 22:12:03 -05:00
Trevor Buckner
31fcf28e3f
Merge pull request #3631 from naturalcrit/v3.14.1
...
Up to v3.14.1
2024-08-13 17:11:08 -04:00
David Bolack
52faa366ca
Merge branch 'master' into Issue_1430_Unique_HeaderIDs
2024-08-13 12:30:16 -05:00
David Bolack
2d781f02e3
Merge branch 'master' into Issue_241_Part_II
2024-08-13 12:26:29 -05:00
David Bolack
fc6930c868
Merge branch 'master' into Issue_241
2024-08-13 12:17:45 -05:00
David Bolack
1ed7e43db1
Implement G-Ambette's cleaner fix.
2024-08-13 12:09:45 -05:00
David Bolack
6ec51bf725
Revert "Prevent loading of undefined renderer or theme themebundle."
...
This reverts commit 136e877ee6 .
2024-08-13 12:09:26 -05:00
G.Ambatte
ae336f1429
Add extra getCSS tests
2024-08-13 22:30:59 +12:00
G.Ambatte
5847b246ef
Add getCSS test
2024-08-13 22:05:03 +12:00
G.Ambatte
38168131e7
Remove app.spec.js
2024-08-13 22:03:06 +12:00
G.Ambatte
00e113ff67
Move getCSS to homebrew.api.js
2024-08-13 22:02:54 +12:00
Víctor Losada Hernández
62b96f4e79
change back prop names
2024-08-13 12:00:58 +02:00
David Bolack
136e877ee6
Prevent loading of undefined renderer or theme themebundle.
2024-08-12 21:42:25 -05:00
Víctor Losada Hernández
8faae1e645
Remove console log statement for invalid search in VaultPage component.
2024-08-13 00:51:28 +02:00
Víctor Losada Hernández
e4852b7077
Merge branch 'master' of https://github.com/naturalcrit/homebrewery into experimental-development
2024-08-13 00:47:25 +02:00
G.Ambatte
2ba42def09
Merge branch 'master' into addCSSRoute-#1097
2024-08-12 22:01:56 +12:00
G.Ambatte
337d3567fc
Merge branch 'addCSSRoute-#1097' of https://github.com/G-Ambatte/homebrewery into addCSSRoute-#1097
2024-08-12 18:49:11 +12:00
G.Ambatte
3dc8eec1e6
Add app test NPM command
2024-08-12 18:49:01 +12:00
G.Ambatte
fac2293b77
Add App test file
2024-08-12 18:48:46 +12:00
G.Ambatte
7d699e455e
Switch CSS route to call a function
2024-08-12 18:48:28 +12:00
G.Ambatte
e03b540788
Merge branch 'master' into addCSSRoute-#1097
2024-08-10 18:03:50 +12:00
Víctor Losada Hernández
2dc4ebb39f
Remove console log and CSS rule for hr element in vaultPage.
2024-08-10 00:12:17 +02:00
Víctor Losada Hernández
59672b79d8
remove unnecessary changes in unrelated files
2024-08-10 00:05:58 +02:00
Víctor Losada Hernández
59717fe630
"Refactor VaultPage component, update styles, and modify server-side API queries"
2024-08-10 00:00:43 +02:00
Víctor Losada Hernández
3f9c7a1794
"Moved and rearranged conditional statements for rendering no search/brews found messages in VaultPage component."
2024-08-09 23:15:59 +02:00
Víctor Losada Hernández
ca1f2dd1c3
fix validity check
2024-08-09 22:57:17 +02:00
Víctor Losada Hernández
a8e6f5cf26
"Refactor VaultPage component: moved form validation logic, removed unnecessary variables, and rearranged code structure."
2024-08-09 22:53:20 +02:00
Víctor Losada Hernández
f3a774d55c
"Removed unnecessary conditional statement in buildBrewsQuery function"
2024-08-09 22:46:25 +02:00
Víctor Losada Hernández
834980890a
"Refactor VaultPage component: update form validation and submission logic"
2024-08-09 22:44:26 +02:00
Víctor Losada Hernández
969eb354ce
include query example for future debugging
2024-08-09 22:35:39 +02:00
Víctor Losada Hernández
9288ead130
remove owner functionality completely
2024-08-09 19:24:39 +02:00
Víctor Losada Hernández
a8a4930225
Merge branch 'experimental-development' of https://github.com/5e-Cleric/homebrewery ; branch 'master' of https://github.com/naturalcrit/homebrewery into experimental-development
2024-08-09 18:54:51 +02:00
G.Ambatte
190bce519f
Merge branch 'master' into addCSSRoute-#1097
2024-08-09 15:29:56 +12:00
David Bolack
0057e2b57e
Merge branch 'master' into Issue_241_Part_II
2024-08-02 15:53:03 -05:00
David Bolack
6f4604c8a9
Merge branch 'master' into Issue_241
2024-08-02 15:51:53 -05:00
David Bolack
13fa06ec1f
Merge branch 'master' into Issue_1430_Unique_HeaderIDs
2024-08-02 15:49:34 -05:00
Víctor Losada Hernández
fa0d1d6bc1
Merge branch 'master' into metadata-api-endpoint
2024-08-01 23:44:00 +02:00
Trevor Buckner
4b3b44ecc8
Merge branch 'master' into addCSSRoute-#1097
2024-08-01 14:28:10 -04:00
David Bolack
129e18da0f
Merge branch 'master' into Issue_241
2024-08-01 11:04:52 -05:00
David Bolack
f10ef2bdb3
Merge branch 'master' into Issue_241_Part_II
2024-08-01 11:02:30 -05:00
Víctor Losada Hernández
2bc7cda8c9
fixes
2024-08-01 17:36:14 +02:00
David Bolack
31b3bd1ace
Merge branch 'master' into Issue_1430_Unique_HeaderIDs
2024-08-01 09:25:30 -05:00
Víctor Losada Hernández
f1ab332ce0
hide instead of comment
2024-08-01 16:02:00 +02:00
Víctor Losada Hernández
d50f23354a
minor changes
2024-08-01 15:57:27 +02:00
Víctor Losada Hernández
662a2d776a
Merge branch 'experimental-development' of https://github.com/5e-Cleric/homebrewery into experimental-development
2024-08-01 15:55:09 +02:00
Víctor Losada Hernández
80f07bf0b0
Nav item
2024-08-01 15:55:04 +02:00
Víctor Losada Hernández
6cf2dd8186
Merge branch 'master' into experimental-development
2024-08-01 15:49:52 +02:00
Víctor Losada Hernández
5de20cb451
disabling owner input
2024-08-01 15:32:13 +02:00
Víctor Losada Hernández
aa0d0bed48
Merge branch 'master' of https://github.com/naturalcrit/homebrewery into experimental-development
2024-07-31 23:12:47 +02:00
Víctor Losada Hernández
c92f30cfe0
change owner default to false
2024-07-31 08:58:23 +02:00
Víctor Losada Hernández
2a8e4b2a63
Merge branch 'experimental-development' of https://github.com/5e-Cleric/homebrewery into experimental-development
2024-07-31 08:57:42 +02:00
Víctor Losada Hernández
51c7549b45
Merge branch 'master' of https://github.com/naturalcrit/homebrewery into experimental-development
2024-07-31 08:57:28 +02:00
Víctor Losada Hernández
ea5170e6a6
Merge branch 'master' into experimental-development
2024-07-30 22:46:44 +02:00
David Bolack
a7f8b52966
Change default value for pageNumber on markdopwn.render()
2024-07-30 08:56:06 -05:00
David Bolack
6629bc64d8
Merge branch 'Issue_1430_Unique_HeaderIDs' of github.com:dbolack-ab/homebrewery into Issue_1430_Unique_HeaderIDs
2024-07-30 08:36:47 -05:00
David Bolack
bfd46fb6fd
Merge branch 'master' into Issue_1430_Unique_HeaderIDs
2024-07-30 08:35:12 -05:00
David Bolack
b34027699f
Move livescrollToggle function out into a class method instead of an anonymous function.
...
Adjust code accordingly ( event.target vs document.getElementByClassname )
2024-07-30 03:09:25 -05:00
David Bolack
dcdc8b4943
Remove Livescrolling toggle hot-key.
2024-07-30 02:41:03 -05:00
David Bolack
184462616f
Merge branch 'master' into Issue_241_Part_II
2024-07-30 02:31:14 -05:00
David Bolack
2d335ef7fc
Merge branch 'master' into Issue_241
2024-07-30 02:30:57 -05:00
Víctor Losada Hernández
cef90f5ff9
Added !brewCollection condition to if statement in VaultPage component.
2024-07-28 11:18:26 +02:00
Víctor Losada Hernández
5a9b77190a
"Removed console log statement in VaultPage.jsx and updated brewsQuery logic in vault.api.js to handle legacy and v3 filters"
2024-07-28 11:10:27 +02:00
Víctor Losada Hernández
59a5f641af
search by author
2024-07-28 10:45:56 +02:00
Víctor Losada Hernández
0bda666127
"Changed condition in onKeyDown event handler from checking input validity and value to checking searchButtonRef.current.disabled"
2024-07-27 10:46:08 +02:00
Víctor Losada Hernández
5b96ef4406
"Refactor VaultPage component: updated validateInput to validateForm, changed input validation logic, and added refs for search button and checkboxes."
2024-07-27 10:41:10 +02:00
Víctor Losada Hernández
af5bbdc677
change from $or to $in
2024-07-27 10:39:06 +02:00
Víctor Losada Hernández
2c4f4ff5fc
Merge branch 'master' into pdf-tools
2024-07-26 14:14:57 +02:00
Víctor Losada Hernández
c1dc712542
better checkboxes and linting
2024-07-25 23:48:37 +02:00
Víctor Losada Hernández
3e2c2de269
Added hideMoveArrows prop to split pane for use in vault
2024-07-25 23:11:51 +02:00
Víctor Losada Hernández
cc08579583
change to splitPane component
2024-07-25 16:57:33 +02:00
Víctor Losada Hernández
e562ebef48
media query for mobile use expanded to vertical stack
2024-07-24 00:50:21 +02:00
Víctor Losada Hernández
e206b501a6
media query to show only one column in case of small window
2024-07-24 00:34:13 +02:00
Víctor Losada Hernández
016a9fa1e8
few css changes to make the page more responsive on smaller screens
2024-07-24 00:26:23 +02:00
Víctor Losada Hernández
01ee184044
"Update default count value from 10 to 20 in VaultPage component and vault API"
2024-07-23 23:57:05 +02:00
Víctor Losada Hernández
fd91bf0fff
Merge branch 'master' into Issue_1430_Unique_HeaderIDs
2024-07-22 23:07:06 +02:00
Víctor Losada Hernández
ddf2006285
Merge branch 'master' of https://github.com/naturalcrit/homebrewery into experimental-development
2024-07-21 18:06:08 +02:00
Víctor Losada Hernández
df265ffc8a
Merge branch 'master' of https://github.com/naturalcrit/homebrewery into metadata-api-endpoint
2024-07-19 08:59:04 +02:00
Víctor Losada Hernández
73a400b882
Merge branch 'metadata-api-endpoint' of https://github.com/naturalcrit/homebrewery into metadata-api-endpoint
2024-07-19 08:58:21 +02:00
Víctor Losada Hernández
bcef4006dc
Remove console.log statement in /metadata/:id route handler
2024-07-19 08:58:19 +02:00
David Bolack
4b05bcac69
Merge branch 'master' into Issue_241
2024-07-08 10:16:57 -05:00
David Bolack
1555535f2e
Merge branch 'master' into Issue_1430_Unique_HeaderIDs
2024-07-08 10:16:05 -05:00
David Bolack
19ee3d6dbb
Merge branch 'master' into Issue_241_Part_II
2024-07-08 10:14:43 -05:00
David Bolack
7e3f2a3deb
Merge branch 'master' into Issue_241_Part_II
2024-06-27 10:24:48 -05:00
David Bolack
eb99acc95b
Merge branch 'master' into Issue_1430_Unique_HeaderIDs
2024-06-27 10:20:54 -05:00
David Bolack
060f28a0a6
Merge branch 'master' into Issue_241
2024-06-19 18:41:02 -05:00
David Bolack
a3f146cd53
Change the last Boneheaded hot change to something better
...
CTRL-SHIFT-LEFTARROW - Source Jump
CTRL-SHIFT-RIGHTARROW - Brew Jump
2024-06-19 18:39:20 -05:00
Víctor Losada Hernández
5232c16eb2
change div to form
2024-06-13 01:32:34 +02:00
Víctor Losada Hernández
bdfd194672
changed order of params per request
2024-06-13 01:13:38 +02:00
Víctor Losada Hernández
cb0cb32860
minor style changes & lint less file
2024-06-13 01:04:39 +02:00
Víctor Losada Hernández
1e080b30fd
finally fixed the damn issue
2024-06-13 00:41:40 +02:00
David Bolack
cba57d1033
Fix and future-proof tests to use page 0 where necessary in markdown.render() calls.
2024-06-11 20:06:20 -05:00
David Bolack
1bece09339
Merge branch 'master' into Issue_1430_Unique_HeaderIDs
2024-06-11 12:59:21 -05:00
Víctor Losada Hernández
90431efbc9
"Removed ArchivePage and related files, replaced with VaultPage, updated routes and API endpoints, and made minor changes to theme configuration and error handling."
2024-06-11 00:33:36 +02:00
Víctor Losada Hernández
99b0c2b54e
Merge branch 'master' of https://github.com/naturalcrit/homebrewery into experimental-development
2024-06-10 23:25:42 +02:00
Víctor Losada Hernández
042e217872
"Refactor ArchivePage component from createClass to functional component with hooks"
2024-06-10 23:23:31 +02:00
Víctor Losada Hernández
8c09772605
Merge branch 'master' into metadata-api-endpoint
2024-06-06 01:02:10 +02:00
David Bolack
c918a79957
Integrates corrections for Document level unique Header IDs in tandum with marked-gfm-header-id updates.
...
Requries https://github.com/markedjs/marked-gfm-heading-id/issues/542 and an assumed version bump to work.
Validated locally.
2024-06-05 12:44:46 -05:00
David Bolack
510d8f410d
Resolve timing issue with liveScroll on linking.
...
Checks to see if prevProps.livescroll has a proper Bool value. If not, do not brewJump() in editor.componantSDidUpdate.
2024-06-03 22:45:22 -05:00
David Bolack
ea9f9a8c36
Missed a couple of variable repalcements.
2024-06-03 02:39:20 -05:00
David Bolack
4818f70aed
Add additional visual hinting to liveScroll lock.
2024-06-03 02:36:44 -05:00
David Bolack
cca79d4b17
Merge branch 'master' into Issue_241_Part_II
2024-06-03 02:29:19 -05:00
David Bolack
a715c9e1e6
Store livescrolling in local storage
...
Small fixes for loading the correct current state.
2024-06-03 02:26:56 -05:00
David Bolack
a48d9d295e
Try binging to ctrl-X and CTRL-Shift-X which seem to somehow be available...
2024-06-02 20:23:33 -05:00
Víctor Losada Hernández
a5f453f1e5
linting toolBar.less
2024-06-02 16:13:04 +02:00
Víctor Losada Hernández
c2170dd558
Remove line hiding toolbar in printCurrentBrew function
2024-06-02 16:12:46 +02:00
Víctor Losada Hernández
0c9958f461
"Removed '%' symbol handling from zoom input value"
2024-06-02 16:05:57 +02:00
Víctor Losada Hernández
e2a3959feb
"Update brewRenderer.less: changed padding-bottom to padding-block, removed empty lines, and reformatted some styles."
2024-06-02 16:03:54 +02:00
Víctor Losada Hernández
202ea1d905
"Removed margin-bottom from brewRenderer style, added padding-bottom and updated styles in brewRenderer.less"
2024-06-02 15:59:09 +02:00
Víctor Losada Hernández
e3c1e4b6f0
"Updated toolbar.less: changed hover selector to also include focus-within"
2024-06-02 15:50:47 +02:00
Víctor Losada Hernández
3fad8227a7
"Updated brewRenderer.jsx: added id 'zoomStyle' to style tag and changed margin-bottom from 7cm to 5cm."
2024-06-01 00:50:16 +02:00
Víctor Losada Hernández
2d051fcdc0
misstype
2024-06-01 00:42:07 +02:00
Víctor Losada Hernández
95d7ce2876
move toolbar hiding to brewrenderer.less
2024-06-01 00:41:44 +02:00
Víctor Losada Hernández
1a52acd4a9
i fixed it wrong
2024-06-01 00:37:49 +02:00
Víctor Losada Hernández
de8194d7e0
hide toolbar during printing
2024-06-01 00:34:45 +02:00
Víctor Losada Hernández
c60ddb701c
this one works best
2024-05-31 21:06:39 +02:00
Víctor Losada Hernández
0e00460012
change margin bottom to fixed distance
2024-05-31 21:03:27 +02:00
Víctor Losada Hernández
ed92628012
udpate input zoom
2024-05-31 21:02:03 +02:00
Víctor Losada Hernández
12de8c5221
fix last page navigation
2024-05-31 21:00:01 +02:00
Víctor Losada Hernández
afa0571382
fix page displacement
2024-05-31 20:57:09 +02:00
Víctor Losada Hernández
75c592b437
"Update onPageChange argument in nextPage button onClick handler"
2024-05-31 20:28:34 +02:00
Víctor Losada Hernández
000c3db8cd
fixed page error
2024-05-31 20:14:41 +02:00
Víctor Losada Hernández
f23c0bccbc
"Added onKeyPress event handler to zoom input and page number input to blur the target on Enter key press."
2024-05-31 19:46:40 +02:00
Víctor Losada Hernández
69db1e2cb7
change page works, added change zoom via input too
2024-05-31 19:43:09 +02:00
Víctor Losada Hernández
933dc372d2
"Refactor scrollToPage function to retrieve iframe element internally and add page not found logging"
2024-05-31 17:10:35 +02:00
Víctor Losada Hernández
176766dfe7
change in themes.json apparently
2024-05-31 16:25:29 +02:00
Víctor Losada Hernández
6fb185a964
Merge branch 'master' of https://github.com/naturalcrit/homebrewery into pdf-tools
2024-05-31 16:23:55 +02:00
Víctor Losada Hernández
1442414299
scroll to page
2024-05-31 16:23:47 +02:00
Víctor Losada Hernández
f6161abf52
bottom margin to prevent bottom clip
2024-05-29 16:23:32 +02:00
Víctor Losada Hernández
4543881808
functional zoom
2024-05-28 08:51:23 +02:00
Víctor Losada Hernández
609f5a3330
more logs
2024-05-23 14:08:37 +02:00
Víctor Losada Hernández
058d70ed82
auto, not scroll
2024-05-23 13:37:23 +02:00
Víctor Losada Hernández
cbdf06f39d
oops
2024-05-23 13:35:00 +02:00
Víctor Losada Hernández
6f6c142aa2
fixes scrolling error
2024-05-23 13:32:09 +02:00
Víctor Losada Hernández
72cb8e7db9
remove console logs and add forced space to brew count
2024-05-23 13:18:07 +02:00
Víctor Losada Hernández
133295c225
big changes to the UI
2024-05-22 20:10:54 +02:00
Víctor Losada Hernández
54efc18ad4
minimum range text to 3
2024-05-22 19:55:20 +02:00
Víctor Losada Hernández
43f77dc525
fix valid check
2024-05-22 19:49:06 +02:00
Víctor Losada Hernández
34d37b24f1
"Update text in 'noBrews' div from 'Whenever you want, just start typing...' to 'No search yet'"
2024-05-22 12:33:11 +02:00
Víctor Losada Hernández
1e6427ca56
non selection , as per request
2024-05-22 12:28:57 +02:00
Víctor Losada Hernández
b9152867b8
"Refactor UpdateURL function"
2024-05-22 12:26:47 +02:00
Víctor Losada Hernández
879a1f5a57
fix page size to count
2024-05-22 08:51:49 +02:00
Víctor Losada Hernández
0f9ba1a5ae
Merge branch 'master' of https://github.com/naturalcrit/homebrewery into experimental-development
2024-05-22 08:23:53 +02:00
Víctor Losada Hernández
d96d3c501e
logs
2024-05-22 08:22:19 +02:00
Víctor Losada Hernández
215888baf4
"Simplified conditional statement for displaying total brews count"
2024-05-22 08:21:00 +02:00
Víctor Losada Hernández
d56ea62b5e
"Refactor loadPage function in ArchivePage component to fix wrong load of data"
2024-05-22 08:17:12 +02:00
Víctor Losada Hernández
888cf55b3d
should render an icon while loading total count
2024-05-22 08:13:21 +02:00
Víctor Losada Hernández
4d7b1864d9
This should fix correct load on URL, will probably not work
2024-05-22 08:02:50 +02:00
Víctor Losada Hernández
319746f6cd
"Removed options from pageSize select, added new options, and updated CSS selector for searchButton"
2024-05-22 07:58:09 +02:00
Víctor Losada Hernández
8fd165a79b
form changes
2024-05-21 23:43:56 +02:00
Víctor Losada Hernández
ecfdada810
fix damn error finally
2024-05-21 12:24:47 +02:00
Víctor Losada Hernández
68c3e1ba84
log at will
2024-05-21 12:16:07 +02:00
Víctor Losada Hernández
efda06ebe5
console log to find the issue
2024-05-21 12:09:41 +02:00
Víctor Losada Hernández
e9b85e1a9a
damn totalBrews won't go away
2024-05-21 12:06:08 +02:00
Víctor Losada Hernández
f9d19c75b2
change renderPagination order of operations and fix pagination not loading properly
2024-05-21 11:57:48 +02:00
Víctor Losada Hernández
bc9ab284d8
Initial UI
2024-05-21 08:01:50 +02:00
David Bolack
e69132b40a
Constant a lookup.
2024-05-20 20:31:30 -05:00
David Bolack
77450ed334
Merge branch 'master' into Issue_241_Part_II
2024-05-20 20:03:23 -05:00
David Bolack
eb809ca375
Merge branch 'master' into Issue_241
2024-05-20 17:59:34 -05:00
David Bolack
835ca0de32
WIP
2024-05-20 16:21:02 -05:00
Víctor Losada Hernández
21244fba58
"Removed lodash import, simplified boolean assignments, refactored API request and error handling, and removed unused variables in ArchivePage component."
2024-05-19 23:45:12 +02:00
Víctor Losada Hernández
55dd4efe41
Merge branch 'master' of https://github.com/naturalcrit/homebrewery into experimental-development
2024-05-19 23:21:47 +02:00
David Bolack
bacdd65025
Add a CR.
2024-05-19 11:52:16 -05:00
David Bolack
40c8b04a98
Merge branch 'master' into Issue_241
2024-05-19 11:48:10 -05:00
David Bolack
07f2e8ba4f
Merge branch 'master' into Issue_241_Part_II
2024-05-19 11:20:09 -05:00
David Bolack
86887b536e
Update Jump keys to match parent PR and shift live scrolling to scroll-lock.
...
Needs non-PC testing.
2024-05-19 11:16:50 -05:00
David Bolack
c0cc27a750
Change Jump hotkeys to M ( move ) bindings.
2024-05-19 11:12:19 -05:00
David Bolack
b7dc47fe9e
Add a Live Scroll lock/unlock below Brew/Source Jump buttons.
...
The button displays the *next* state of the toggle. IE, if the current state is locked ( Live scrolling is active ) the icon is unlock with a corresponding mouse-over.
It may be desirable to invert this.
2024-05-18 22:17:29 -05:00
Víctor Losada Hernández
9343f11366
Merge branch 'master' into metadata-api-endpoint
2024-05-19 00:11:34 +02:00
Víctor Losada Hernández
6e08fcca80
minor changes
2024-05-18 23:47:29 +02:00
Víctor Losada Hernández
3d0a9ea805
"Update ArchivePage: erase brewcount when new query, modify error messages for 503 and 500 status codes"
2024-05-18 23:19:25 +02:00
Víctor Losada Hernández
a711f8eb89
remove regex search
2024-05-18 23:07:43 +02:00
David Bolack
8ece54701d
Add live scrolling to keep the preview in sync with editor position.
...
This catchs CTRL-HOME, CTRL-END, and mouseclicks.
It tests for changes on arrow keys and enter.
Not sure if it's the best way to do this, but it works quickly on a large, crappy brew.
2024-05-18 01:44:42 -05:00
David Bolack
9b0db15083
Add Jump To hotkeys
...
This binds CTRL/META-J to brewJump and SHIFT-CTRL/META-J to sourceJump.
2024-05-17 22:10:28 -05:00
Víctor Losada Hernández
243038474e
Initial commit
2024-05-17 21:23:31 +02:00
Víctor Losada Hernández
97ef56f905
small changes, tips and style
2024-05-14 11:10:48 +02:00
Víctor Losada Hernández
124af97cc8
extra page buttons linked to relevant pages
2024-05-14 10:49:10 +02:00
Víctor Losada Hernández
021ac68400
Update archive page to use pagination with page numbers and ellipses
...
* Change the way pagination is handled on the archive page
* Display page links for 10 pages max
2024-05-14 10:44:16 +02:00
Víctor Losada Hernández
4b10686336
simplify logic
2024-05-14 09:49:14 +02:00
Víctor Losada Hernández
153812c6e5
simplify console log and remove unused code
2024-05-14 09:36:59 +02:00
Víctor Losada Hernández
9aa3ebe872
Merge branch 'master' of https://github.com/naturalcrit/homebrewery into experimental-development
2024-05-14 09:31:40 +02:00
Víctor Losada Hernández
e23166e1d5
when did i change this?
2024-05-14 09:31:22 +02:00
Víctor Losada Hernández
a89b575b26
archive 2.0
2024-05-13 13:37:53 +02:00
Víctor Losada Hernández
5eeac603db
why didn't i think about this sooner
2024-05-09 08:24:27 +02:00
Víctor Losada Hernández
cca0f3b4dc
Revert "pagination controls update search terms"
...
This reverts commit 9966e6322d .
2024-05-08 15:51:31 +02:00
Víctor Losada Hernández
22f4dade4f
default value to page size
2024-05-08 15:51:14 +02:00
Víctor Losada Hernández
e30a0c3dce
page size log to track issue
2024-05-08 15:41:44 +02:00
Víctor Losada Hernández
9966e6322d
pagination controls update search terms
2024-05-08 15:33:27 +02:00
Víctor Losada Hernández
02450982c1
fix brewCollection issue
2024-05-08 13:32:03 +02:00
Víctor Losada Hernández
f9f2e604c0
linting and remove async conflict
2024-05-07 10:14:46 +02:00
Víctor Losada Hernández
40ac8b1909
Merge branch 'master' of https://github.com/naturalcrit/homebrewery into experimental-development
2024-05-07 00:12:26 +02:00
Víctor Losada Hernández
f1a2037bca
page is sometimes a string??
2024-05-06 23:40:31 +02:00
Víctor Losada Hernández
ded78c6639
better error handling in jsx
2024-05-06 23:32:18 +02:00
Víctor Losada Hernández
51fcb59f09
debugging 500 errir catching
2024-05-06 23:26:02 +02:00
Víctor Losada Hernández
e75c556443
use $text instead
2024-05-06 22:59:09 +02:00
Víctor Losada Hernández
752b2caaf4
Merge branch 'master' of https://github.com/naturalcrit/homebrewery into experimental-development
2024-05-06 13:45:06 +02:00
Víctor Losada Hernández
3c84143511
Merge branch 'master' of https://github.com/naturalcrit/homebrewery into experimental-development
2024-04-02 14:40:24 +02:00
Víctor Losada Hernández
dad4cd90ca
Merge branch 'master' into addCSSRoute-#1097
2024-02-23 20:23:19 +01:00
Víctor Losada Hernández
094ad3bd59
-proj in countdocs
2024-02-21 08:07:46 +01:00
Víctor Losada Hernández
01e3cd0296
fix notitle search and catch 404?
2024-02-15 17:22:20 +01:00
Víctor Losada Hernández
fd6109099a
catch catch catch
2024-02-15 16:59:17 +01:00
Víctor Losada Hernández
8c07b12bb0
catch error codes
2024-02-15 16:56:09 +01:00
Víctor Losada Hernández
eb404b8e5b
where is my 503 error code
2024-02-15 16:51:20 +01:00
Víctor Losada Hernández
0fdb5e83cf
if this renders null i don't understand anything
2024-02-15 16:44:03 +01:00
Víctor Losada Hernández
2a780bc482
503
2024-02-15 16:36:10 +01:00
Víctor Losada Hernández
f61b664687
503 log
2024-02-15 16:32:50 +01:00
Víctor Losada Hernández
04844a4422
you know the deal
2024-02-15 16:27:50 +01:00
Víctor Losada Hernández
3afc9f83d9
where the hell did i lose the error handling
2024-02-15 16:23:37 +01:00
Víctor Losada Hernández
e08435568c
don't search on reload without title
2024-02-15 16:20:08 +01:00
Víctor Losada Hernández
1a80a74d4f
more error handling
2024-02-15 16:15:38 +01:00
Víctor Losada Hernández
9c53541cbd
searching animation
2024-02-15 15:53:26 +01:00
Víctor Losada Hernández
62db393969
proper error handling(i think)
2024-02-15 15:50:27 +01:00
Víctor Losada Hernández
d7c9ab43bc
more tests
2024-02-15 15:34:10 +01:00
Víctor Losada Hernández
fcb4c722c6
test 404 error
2024-02-15 15:28:36 +01:00
Víctor Losada Hernández
7626f63beb
page numberas as links
2024-02-15 15:16:01 +01:00
Víctor Losada Hernández
a6e45c7fd1
Merge branch 'master' into experimental-development
2024-02-15 13:49:43 +01:00
Víctor Losada Hernández
2658831e83
pagination controls don't reset search
2024-02-15 13:45:31 +01:00
Víctor Losada Hernández
ffdbe46a23
catch 503 without title query
2024-02-15 10:43:12 +01:00
Víctor Losada Hernández
6a11cd0e28
renderer filter query
2024-02-15 10:34:39 +01:00
Víctor Losada Hernández
153ab63393
pagesize as input
2024-02-15 08:48:47 +01:00
Víctor Losada Hernández
ea1855485c
css fixes
2024-02-15 01:27:05 +01:00
Víctor Losada Hernández
3427fa1e94
total brews found
2024-02-15 01:26:54 +01:00
Víctor Losada Hernández
46262c56db
503 catch 2
2024-02-15 01:15:00 +01:00
Víctor Losada Hernández
3482d92ab6
catch 503 error
2024-02-15 01:10:28 +01:00
Víctor Losada Hernández
74ac8f9ffa
quickfix
2024-02-13 10:52:12 +01:00
Víctor Losada Hernández
7e289950fa
Merge branch 'experimental-development' of https://github.com/5e-Cleric/homebrewery into experimental-development
2024-02-13 10:48:24 +01:00
Víctor Losada Hernández
9fc8af6553
pagination controls render separately
2024-02-13 10:48:19 +01:00
G.Ambatte
7ffc02c3e5
Reset searching state on error
2024-02-13 13:25:45 +13:00
Víctor Losada Hernández
2f323cde8a
remove unused logic from loadpage
2024-02-12 23:54:15 +01:00
Víctor Losada Hernández
534131d994
edit console logs and change totalDocs logic to count correctly
2024-02-12 23:54:00 +01:00
Víctor Losada Hernández
d233e2b4a5
css fix, pagination controls basic look
2024-02-12 23:18:37 +01:00
Víctor Losada Hernández
05a7defcb8
remove brewCount useless element
2024-02-12 23:18:24 +01:00
G.Ambatte
eeec24ae78
Change fetch to use request-middleware instead
2024-02-13 09:14:31 +13:00
G.Ambatte
1d778e3249
Update API route
2024-02-13 09:13:47 +13:00
G.Ambatte
3bb44d8a17
Lint clean up
2024-02-13 09:06:33 +13:00
Víctor Losada Hernández
71c52b4587
fix html response
2024-02-12 08:44:18 +01:00
Víctor Losada Hernández
fe449abb47
trying to figure out pagination
2024-02-10 16:41:39 +01:00
Víctor Losada Hernández
46d1f89b77
minor fixes
2024-01-29 00:12:14 +01:00
Víctor Losada Hernández
bf1f2054de
minor fixes
2024-01-28 16:14:54 +01:00
Víctor Losada Hernández
399caaaeff
typo
2024-01-28 16:11:32 +01:00
Víctor Losada Hernández
27b4176e23
initial screen
2024-01-28 16:08:44 +01:00
Víctor Losada Hernández
a8bc6b4e1d
h2 to h3
2024-01-28 16:04:21 +01:00
Víctor Losada Hernández
3ca8f72762
brewCount
2024-01-28 16:02:19 +01:00
Víctor Losada Hernández
8aec5dbba6
error 500 catch and show
2024-01-28 15:57:51 +01:00
Víctor Losada Hernández
cccebd8494
title and no brews UI
2024-01-28 11:18:37 +01:00
Víctor Losada Hernández
5fbbd92ea7
limit to 1000
2024-01-28 01:12:46 +01:00
Víctor Losada Hernández
81f26e0892
exclude last fix
2024-01-28 00:55:22 +01:00
Víctor Losada Hernández
9366284e1d
quick fix
2024-01-28 00:26:35 +01:00
Víctor Losada Hernández
9aa5eea8c9
exclude fields and add a time limit
2024-01-27 23:31:56 +01:00
Víctor Losada Hernández
20f61bff07
limit to 2000
2024-01-27 21:46:28 +01:00
Víctor Losada Hernández
625819da91
Merge branch 'master' of https://github.com/naturalcrit/homebrewery into experimental-development
2024-01-27 19:14:48 +01:00
Víctor Losada Hernández
2c691d84f2
author fix 3
2024-01-27 19:14:38 +01:00
Víctor Losada Hernández
4630d2640b
author another fix
2024-01-27 17:29:16 +01:00
Víctor Losada Hernández
043f24d5ca
invited authors is not a thing
2024-01-27 16:56:38 +01:00
Víctor Losada Hernández
87e18c0521
no authors fix
2024-01-27 16:56:28 +01:00
Víctor Losada Hernández
7e30f860b2
typo fix
2024-01-27 16:26:06 +01:00
Víctor Losada Hernández
0ac0ffe53d
limit to 3000
2024-01-27 16:25:06 +01:00
Víctor Losada Hernández
ae4e1b55e6
minor changes
2024-01-27 16:24:45 +01:00
Víctor Losada Hernández
756ced088c
Merge branch 'experimental-development' of https://github.com/5e-Cleric/homebrewery into experimental-development
2024-01-27 14:31:34 +01:00
Víctor Losada Hernández
8ce6b22be7
reject modernity, embrace tradition
2024-01-27 14:31:32 +01:00
Trevor Buckner
6184d64f89
Merge branch 'master' into pr/3263
2024-01-25 16:43:21 -05:00
Víctor Losada Hernández
c00c2626b4
Merge branch 'master' into experimental-development
2024-01-24 22:56:30 +01:00
Víctor Losada Hernández
89fddd0210
limit search and adapt ui
2024-01-24 21:15:26 +01:00
Víctor Losada Hernández
0c167d803c
limit the search
2024-01-24 21:15:00 +01:00
Víctor Losada Hernández
c50042c1e7
i love grid template area
2024-01-23 22:55:36 +01:00
Víctor Losada Hernández
0dc1b46466
stying updates, agnostic theme
2024-01-23 19:08:57 +01:00
Víctor Losada Hernández
4ed9fc7d0e
fix url params
2024-01-23 18:35:09 +01:00
Víctor Losada Hernández
162929bdca
trying to catch url with query
2024-01-23 14:02:27 +01:00
Víctor Losada Hernández
54a2f6940c
from admin to archive api
2024-01-23 10:40:53 +01:00
Víctor Losada Hernández
0dff59d793
linting and space issues
2024-01-23 08:07:51 +01:00
Víctor Losada Hernández
7951c4a03a
basic ui and small changes
2024-01-23 00:20:18 +01:00
Víctor Losada Hernández
66fd56fccb
basic functionality
2024-01-22 23:52:42 +01:00
Víctor Losada Hernández
da699e999f
basic looks
2024-01-22 23:20:36 +01:00
Víctor Losada Hernández
c6a5f50c76
admin page fix
2024-01-22 17:22:54 +01:00
Víctor Losada Hernández
74c7395ab9
admin look by title
2024-01-22 16:59:45 +01:00
G.Ambatte
0a309ad0e1
Remove debugging console.log
2023-10-01 21:46:52 +13:00
G.Ambatte
52b0ae0400
Basic functionality pass
2023-10-01 21:35:50 +13:00