0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2025-12-24 20:42:43 +00:00
Commit Graph

721 Commits

Author SHA1 Message Date
Trevor Buckner
31c034c029 Rework Marked custom HTML renderer to skip preprocess step
Marked Variables are getting cleared when the custom HTML renderer runs, because Marked.parse re-runs the whole pipeline, including the preprocessor.

Preprocess should only be run once globally during the pipeline, or the original results get overwritten (Marked Variables clears its global array of variables each time it is run)
2025-11-19 23:53:39 -05:00
Víctor Losada Hernández
8d2744d106 Merge branch 'master' into Move-Nav.JSX 2025-11-10 23:38:21 +01:00
Gazook89
f9f33955bc Merge branch 'master' into move-codeEditor-to-components 2025-11-09 23:30:53 -06:00
Gazook89
6db4bf2274 Merge branch 'master' into Move-Nav.JSX 2025-11-09 23:24:21 -06:00
Trevor Buckner
1c8ef9ff3e Merge branch 'master' into move-SVGs-to-components 2025-11-09 18:37:20 -05:00
Trevor Buckner
e6e66ec1cc Merge branch 'master' into Move-Nav.JSX 2025-11-09 18:19:28 -05:00
Trevor Buckner
af348e7b2c Merge branch 'master' into move-markdown.js 2025-11-08 21:47:02 -05:00
Gazook89
c5aa774daa Move markdown.js and markdownlegacy.js
Moves the two files up a level, directly in `/shared/`.  Everything else is just updating paths for that.
2025-11-04 22:29:28 -06:00
Gazook89
29fe6430ce Move codeEditor to components directory
This simply moves the codeEditor folder to the components directory.  `codeEditor.jsx` simply builds a component which is then used elsewhere, and isn't shared between client and server, so it should be in the client directory.

Arguably it could go in `client/homebrew/editor` but I think the `/homebrew/` folder should be eliminated down the line and it's contents just re-sorted.

When working on the editor right now it's a pain to switch between `shared` and `client` hunting for the right file.
2025-11-04 13:12:56 -06:00
Gazook89
c38cc77fd0 Move SVG components to components folder
Move the SVGs out of the `shared` directory, closer to where they are actually used.  They are svg jsx files, setup as components, so i've moved them to the components directory.

Deleted `combat.svg.jsx` because we don't use it anywhere.

renamed the remaining two to be more descriptive of the image for additional clarity.
2025-11-04 12:52:12 -06:00
Gazook89
fc569e560b Move renderWarnings from shared to client
Moving this component to the component folder so it's closer to where it is actually used.  Not moving to the `homebrew` folder because ultimately i think pretty much everything in that folder should move to the components as well (`homebrew` isn't a helpful folder distinction).

Deletes a directory, moves 2 files.
2025-11-03 21:50:31 -06:00
Gazook89
081fd6f39d Move nav.jsx from shared to client directory
Moving the one file, changing a lot of imports (18 files), and deleting a directory.
2025-11-03 20:58:00 -06:00
Trevor Buckner
873a009833 Merge branch 'master' into pr/4451 2025-11-02 22:51:27 -05:00
Trevor Buckner
af5720c7e2 Update to marked-variables v1.0.4 2025-11-02 22:48:25 -05:00
David Bolack
7e4facb478 Remove greater than and less than from evaluation.
Use calc's more concise regex

Remove errant space.
2025-10-16 10:45:00 -05:00
David Bolack
c9f1413a2d Merge branch 'master' into issue_4201 2025-10-16 10:34:26 -05:00
Víctor Losada Hernández
d728126480 initial commit 2025-10-15 22:01:13 +02:00
Trevor Buckner
63bebe1efd Lint everything
Catching up on a bunch of linting so random changes stop showing up on PRs when the linter is run.
2025-10-06 00:02:24 -04:00
David Bolack
071f95994a Merge branch 'master' into markdown-variables 2025-10-03 19:00:43 -05:00
David Bolack
8bc5f7312e Merge branch 'master' into issue_4201 2025-10-03 18:47:54 -05:00
Víctor Losada Hernández
4b753970c9 remove scrollbar 2025-09-29 22:19:19 +02:00
David Bolack
bbfbf0d541 Merge branch 'master' into markdown-variables 2025-09-22 20:45:05 -05:00
David Bolack
0ab882a33c Merge branch 'master' into issue_4201 2025-09-22 20:35:42 -05:00
David Bolack
fdd4b3c1d5 Remove braces from consideration 2025-08-30 18:07:11 -05:00
Trevor Buckner
fb3ab47ab0 Merge branch 'master' into MakeFetchThemeHelperWorkWithFunctional 2025-08-30 19:03:57 -04:00
Trevor Buckner
518a3434be Changes fetchThemeBundle helper to not need "this" parameter
Looks a bit ugly but this is temporary toward converting edit/home/new into functional components
2025-08-30 19:02:39 -04:00
Trevor Buckner
6600d9344c Revert "Add missing punctuation and sentence structure characters to mustache style assignment regex" 2025-08-30 18:53:55 -04:00
David Bolack
029c105ff1 Fix \} in divblocks 2025-08-23 14:04:37 -05:00
David Bolack
6ac6eae863 Merge branch 'master' into issue_4201 2025-08-23 12:02:11 -05:00
Trevor Buckner
719edd82c5 Moving splitPane over to the components folder
Just to reduce the number of changes needed to review on the UI overhaul #4122 PR
2025-07-29 16:35:25 -04:00
David Bolack
e2ed7b8600 Merge branch 'master' into issue_4201 2025-07-23 20:21:49 -05:00
David Bolack
04a174b767 Merge branch 'master' into markdown-variables 2025-07-16 10:43:55 -05:00
Trevor Buckner
fbe637ff82 Add to non-quoted case as well
`{{greenBox,height:calc(10px*2) }}` should also be valid without using quotes.
2025-07-15 14:16:17 -04:00
Trevor Buckner
82bd16c623 Merge branch 'master' into fix-calc-in-curly-elements 2025-07-15 14:09:02 -04:00
Trevor Buckner
c5805af935 On patch failure, compare client and server text bytewise 2025-07-10 11:12:42 -04:00
David Bolack
21192505bb Switch to npm mopdule based brew variables
`
2025-06-04 21:43:51 -05:00
David Bolack
13450cc081 WIP 2025-06-03 22:28:39 -05:00
Víctor Losada Hernández
77dcc9b433 initial commit 2025-05-28 08:34:52 +02:00
David Bolack
50d2a0d3a2 FIx regression 2025-05-26 23:13:21 -05:00
David Bolack
e842599b22 Add missing punction and sentence structure characters to mustache style assignment regex 2025-05-24 22:35:03 -05:00
David Bolack
742de8582c Allow pagebreak and columnbreak compatibility 2025-05-06 16:27:55 -05:00
Trevor Buckner
30e644d5e0 Merge branch 'marked-definition-lists' of https://github.com/dbolack-ab/homebrewery into pr/4049 2025-04-17 15:35:01 -04:00
Trevor Buckner
07a1890ed9 Merge branch 'master' into pr/4049 2025-04-17 15:18:40 -04:00
Trevor Buckner
8e3ccec855 Remove old references to extensions 2025-04-15 15:29:53 -04:00
Trevor Buckner
25c09bc241 Merge branch 'master' into marked-definition-lists 2025-04-15 13:57:57 -04:00
Trevor Buckner
519da0a5c0 Remove incorrect extension calls 2025-04-14 16:44:25 -04:00
Trevor Buckner
814a70b704 Merge branch 'master' into marked-justifiedParagraphs 2025-04-14 16:37:11 -04:00
Trevor Buckner
511f33c44d Merge branch 'master' into marked-nonbreaking-spaces 2025-04-14 13:58:14 -04:00
David Bolack
196f290320 Merge branch 'master' into marked-nonbreaking-spaces 2025-04-08 21:49:07 -05:00
David Bolack
b1fec69d8f Merge branch 'master' into marked-justifiedParagraphs 2025-04-08 21:47:32 -05:00