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