0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2025-12-31 08:42:40 +00:00
Commit Graph

6294 Commits

Author SHA1 Message Date
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
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
Trevor Buckner
5e9fad9b09 Merge branch 'master' into actualPageNumber 2024-09-06 16:56:49 -04:00
Trevor Buckner
22678b15af Fix snippet filter 2024-09-06 16:35:18 -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
5c9c342b10 Update client/homebrew/editor/snippetbar/snippetbar.jsx
Co-authored-by: Trevor Buckner <calculuschild@gmail.com>
2024-09-06 01:25:13 -05: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