Commit Graph
100 Commits
Author SHA1 Message Date
David Bolack e27e61aaca Bind livescrolling when done via scrollbars. 2024-08-24 00:47: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 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 fa63f1d4d5 Merge branch 'master' into Issue_241_Part_II 2024-08-20 13:38:47 -05:00
David Bolack cbcb712587 Merge branch 'master' into Issue_241 2024-08-20 13:34:47 -05:00
David Bolack 78c4061199 Merge branch 'master' into Issue_241_Part_II 2024-08-20 13:26:19 -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
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 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
David Bolack aa2fe3ef97 Merge branch 'master' into FalsePaths 2024-08-13 22:12:03 -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
David Bolack 136e877ee6 Prevent loading of undefined renderer or theme themebundle. 2024-08-12 21:42:25 -05: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 d6bf2dec7e Merge branch 'master' into CSSFolding 2024-08-02 15:27:04 -05:00
David Bolack 423a4a521a Correct truncation when looking for data: in css folding 2024-08-02 15:25:41 -05:00
David Bolack 05d4d5b1ff Revert "Correct truncation when looking for data: in css folding"
This reverts commit ad1e8d50d7.
2024-08-02 15:25:10 -05:00
David Bolack ad1e8d50d7 Correct truncation when looking for data: in css folding 2024-08-02 15:24:14 -05:00
David Bolack c926f0de79 Resolve import matching suggestion. 2024-08-02 15:10:39 -05: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
David Bolack 342963dae6 Merge branch 'master' into Issue_2563 2024-08-01 10:33:34 -05:00
David Bolack 957b1ed9e7 Merge branch 'master' into CSSFolding 2024-08-01 10:09:56 -05:00
David Bolack 29bbf3fef9 Merge branch 'master' into Issue_2563 2024-07-30 10:59:43 -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
David Bolack d2afa7adea Move fetchThemeBundle into /shared/helpers
This might not be the best rework - I was unsure if the *this* that would be available when called would see the appropriate object so I assumed not and pass it as a parameter.
Works, but may be bad form.
2024-07-23 22:17:52 -05:00
David Bolack d640ad6bb7 Update Node version for Docker 2024-07-22 19:13:38 -05:00
David Bolack 2af2ad629d Try to account for situations where the URL folding is past the max length for the truncation so the user can see why this is a fold.
Remove missed debug messages.
2024-07-21 12:58:21 -05:00
David Bolack 2fc7aa454f Add data: URL folding for CSS.
Regex might need tweaking to catch all cases, but it catches the basics.
2024-07-21 12:40:49 -05:00
David Bolack fde797c044 Rename prevLine to activeLine for better reading clarity. 2024-07-20 21:51:03 -05:00
David Bolack 6693fb1c13 reduce redundant trim()s 2024-07-20 21:40:22 -05:00
David Bolack 2c4f3473e5 Trim the trailing { on a CSS fold. 2024-07-20 00:43:02 -05:00
David Bolack c82b62f953 Add Code folding on CSS style tab 2024-07-19 16:03:44 -05:00
David Bolack ade819c70c A not so light rework.
This removes the existing endpoints and replaces them with /theme.

/theme/:id - return a theme bundle containing all styling from this USER theme and any parents.
/theme/:engine/:id - return a theme bundle containing all styling from this STATIC theme and any parents

The theme bundle returns a marshalled JSON object containing:
  styles - an array of strings representing the collected styles in loading order
  snippets - an array ( currently empty ) of collected snippets.

The various bits of theme rendering code for <style> an style <link> have been swapped out with an 'onDidMount' call that loads the thendpoint and appends a series of <style> blocks to the brewRender's head.

This loses some caching advantages, but probably won't matter in the long run.
2024-07-13 12:12:05 -05:00
David Bolack 656edb07ea Rework detection of user brews to look up themeid in static themes list before assuming is a user brew.
Ended up being a fairly straightforward change. A few ternaries got smooshed or inverted. Passes builtin and local tests. Need to compare on the test instance.
2024-07-08 18:12:58 -05:00
David Bolack 4b05bcac69 Merge branch 'master' into Issue_241 2024-07-08 10:16:57 -05:00
David Bolack 19ee3d6dbb Merge branch 'master' into Issue_241_Part_II 2024-07-08 10:14:43 -05:00
David Bolack a413dc8d4f Merge branch 'master' into Issue_2563 2024-07-08 10:14:06 -05:00
David Bolack 74ee09397e Merge branch 'master' into Issue_2688 2024-07-08 10:08:54 -05:00
David Bolack ea6595d4d6 Merge branch 'master' into brew_themes_user_selection
Fixes a regression for legacy brews.
2024-07-07 12:03:15 -05:00
David Bolack 16ca52756d Merge branch 'master' into brew_themes_user_selection 2024-07-05 16:55:14 -05:00
David Bolack 645da7ae5f Merge branch 'brew_themes_user_selection' of github.com:dbolack-ab/homebrewery into brew_themes_user_selection 2024-07-05 16:54:11 -05:00
David Bolack 8570335d79 Consolidate variable redundancy. 2024-07-05 16:53:21 -05:00
David Bolack 853f048812 Merge branch 'Issue_2563' of github.com:dbolack-ab/homebrewery into Issue_2563 2024-06-27 10:48:41 -05:00
David Bolack 4564066c63 Merge branch 'master' into Issue_2563 2024-06-27 10:44:32 -05:00
David Bolack 7e3f2a3deb Merge branch 'master' into Issue_241_Part_II 2024-06-27 10:24:48 -05:00
David Bolack ba76c51da7 Merge branch 'master' into brew_themes_user_selection 2024-06-19 19:32:04 -05:00
David Bolack 435fb6ecfe Merge branch 'Issue_2688' of github.com:dbolack-ab/homebrewery into Issue_2688 2024-06-19 19:16:52 -05:00
David Bolack 8a10fac81e Update Style based on suggestions. 2024-06-19 19:16:19 -05:00
David Bolack 7f1949a7f4 Merge branch 'master' into Issue_2688 2024-06-19 19:16:12 -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
David Bolack 7a349ae26d Remove weirdly redundant error box. 2024-06-13 18:13:32 -05:00
David Bolack 0945a5e47e Merge branch 'master' into brew_themes_user_selection 2024-06-13 15:15:30 -05:00
David Bolack b7f88d53d0 Solve for .descriptive and .wide not getting along with suggested fix from Issue.
Uses more more direct target rather than rearrange the file.
2024-06-05 17:44:29 -05:00
David Bolack cb8d98266c Update table of content list-item breakage rules for wide table of contents
Solves #2563
2024-06-05 17:17:49 -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
David Bolack d20c9c502c Merge branch 'issue_2994_css_style' of github.com:dbolacksn/homebrewery-broken into issue_2994_css_style 2024-06-01 00:35:39 -05:00
David Bolack 8c5e68e571 Merge branch 'master' into issue_2994_css_style 2024-06-01 00:34:43 -05:00
David Bolack fbe65a4e93 Resolve indentation errors in TOC Generation, adjust partCover class
This fixes an error in the recusion that was failing to add children under existing parents.
Index generation now does not overindent when levels are skipped.
PartCover less code as suggesred by CC.
2024-06-01 00:32:25 -05:00
David Bolack 3875dabfd2 Merge branch 'master' of github.com:naturalcrit/homebrewery 2024-05-31 23:32:39 -05:00
David Bolack 6464f35ce9 Forgot to run npm install after merge 2024-05-31 22:40:22 -05:00
David Bolack 5442f232d5 Merge branch 'master' into brew_themes_user_selection 2024-05-31 22:32:14 -05:00
David Bolack fc22e6cd53 Smidge of documentation 2024-05-22 23:17:22 -05:00
David Bolack 62ed026757 Hopeflly final class renaming sessions. 2024-05-22 21:25:10 -05:00
David Bolack 7cef4316d7 Flag Table of Contents as "Experimental" 2024-05-22 21:04:32 -05:00
David Bolack 0df53daa4c Another attempt at clearer classnames for the Table of contents snippet 2024-05-22 17:25:52 -05:00
David Bolack b496ef3597 Remove completely redundant checks for class based exclusion from ToC Snippet 2024-05-22 16:34:00 -05:00
David Bolack 3ae5d4c1e3 Slight reworking of style naming for Table of Contents
Also uses :is operator for cleaner? looking CSS

Lastly, removes {{partCover}} from automatic exclusion.
2024-05-22 16:30:12 -05:00
David Bolack d9d4d74b71 Add CR wrappers around addTOC snippet insertions. 2024-05-22 12:44:19 -05:00
David Bolack af82d71e4f Merge branch 'master' into issue_2994_css_style 2024-05-22 11:52:43 -05:00
David Bolack f897cbfdf4 Merge branch 'master' of github.com:naturalcrit/homebrewery 2024-05-22 11:51:45 -05:00
David Bolack 1773e77cb9 Fix missed issues with converting to delightfully recursive function 2024-05-22 11:47:12 -05: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 54d2709d6a Merge 2024-05-20 17:58:22 -05:00
David Bolack 916bd5f4d6 Merge branch 'master' into brew_themes_user_selection 2024-05-20 17:56:21 -05:00
David Bolack 835ca0de32 WIP 2024-05-20 16:21:02 -05:00
David Bolack 511c9ffada Merge branch 'master' into issue_2994_css_style 2024-05-20 14:51:19 -05:00
David Bolack ea03538552 Merge branch 'master' of github.com:naturalcrit/homebrewery 2024-05-20 13:33:20 -05: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