0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-05-08 07:48:40 +00:00
Commit Graph

503 Commits

Author SHA1 Message Date
David Bolack decb334808 Fix regression in emoji auto-complete due to ESM update 2024-11-25 10:41:11 -06:00
Trevor Buckner fb9148ada5 Site runs and all tests pass 2024-11-20 16:21:35 -05:00
Gazook89 9bc4b1fb56 Changes to core.less, reset.less, and toolbar
Making some changes to the reset.less so that some default UA button styling is removed.

Then, changing core.less so that the classic "HB" button styling is scoped to a certain class `.colorButton`.  This will make it easier to use the button element in other places.
2024-11-10 21:48:01 -06:00
Víctor Losada Hernández 391d0a0bfe remove flickering in divider 2024-10-27 10:20:49 +01:00
Víctor Losada Hernández 782ee7a4ad Merge branch 'master' of https://github.com/naturalcrit/homebrewery into refactor-splitpane 2024-10-27 10:14:30 +01:00
Víctor Losada Hernández 987063422d use storage instead of state to correctly save position while resizing 2024-10-27 10:13:59 +01:00
Víctor Losada Hernández 46eac41021 further formatting 2024-10-26 23:03:25 +02:00
Víctor Losada Hernández 43441f3185 last changes as suggested 2024-10-26 22:54:16 +02:00
Víctor Losada Hernández 843aa6d769 linting and final pass 2024-10-26 16:45:33 +02:00
Víctor Losada Hernández f8b5a8133e initial commit 2024-10-26 16:15:53 +02:00
Víctor Losada Hernández ebe5dca7a9 remove unnecessary child in nav 2024-10-13 10:51:06 +02: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 d4fa5d55d0 Merge branch 'master' into pr/3484 2024-09-14 19:15:12 -04:00
Trevor Buckner 26a126859d Lint 2024-09-14 19:02:55 -04:00
Trevor Buckner 5c2acf3183 Let Editor pass changes up and inherit values down 2024-09-14 18:52:13 -04: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
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
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
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
Víctor Losada Hernández 20db8c6720 restore missing state 2024-09-04 23:57:44 +02: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
Víctor Losada Hernández 29d4003bd2 fix splitpane errors 2024-09-04 09:37:35 +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
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
Trevor Buckner 804d714473 Add regex to detect when to interrupt a table 2024-08-29 00:20:47 -04:00
David Bolack a4f30d687d Merge branch 'master' into Issue_241_Part_II 2024-08-28 21:17:10 -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
Víctor Losada Hernández 5e69718f4f Merge branch 'master' into imageWrappin 2024-08-23 23:30:37 +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
Trevor Buckner fc294807fd Merge branch 'master' into imageWrappin 2024-08-22 22:10:11 -04: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 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 645c9a122c Update cleanURL helper function to match later Marked version 2024-08-22 11:51:24 -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
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
David Bolack 184f182b3a Short term fix for the colons in codeblocks issue. 2024-08-18 21:52:29 -05:00
David Bolack 52faa366ca Merge branch 'master' into Issue_1430_Unique_HeaderIDs 2024-08-13 12:30:16 -05:00