0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2025-12-25 20:33:51 +00:00
Commit Graph

746 Commits

Author SHA1 Message Date
Gazook89
f9f33955bc Merge branch 'master' into move-codeEditor-to-components 2025-11-09 23:30:53 -06: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
Trevor Buckner
9e80151eda Merge branch 'master' into issue_2963 2025-10-13 13:38:41 -04:00
Trevor Buckner
ae47442ed5 Merge branch 'master' into remove-config-enable-checks 2025-10-13 13:37:49 -04:00
David Bolack
8fcadd87d4 Remove comments 2025-10-09 20:24:01 -05:00
Trevor Buckner
7fc03bb5a7 Merge branch 'master' into PreventInterruptedBrewJump 2025-10-06 00:07:43 -04:00
Trevor Buckner
811f274968 Move badly-placed scrollingTimeout that was doing nothing
When a user clicks brewJump or sourceJump, we disallow new jumps until the current scroll operation has finished for 150 ms. Unfortunately the timer being checked was always undefined, so you could keep clicking the jump button and get the brewRenderer or editor to keep bouncing around without finishing the jump action.

This just moves the scrollingTimeout up outside of the listener function so it isn't being reset to undefined every loop.
2025-10-06 00:06:34 -04: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
Víctor Losada Hernández
4a5bb1efb1 initial commit 2025-10-05 22:14:13 +02:00
David Bolack
460b12e356 Proposed fix per calc.
This also works but has different currsor behavior.

Original fix left in place, commented pending decisions.
2025-10-05 11:26:43 -05:00
G.Ambatte
18367526bd Merge branch 'master' into standardizeLocalStorageKeyNames-#4119 2025-10-04 13:07:51 +13:00
David Bolack
99a85ccbca Merge branch 'master' into issue_2963 2025-10-03 18:57:51 -05:00
Trevor Buckner
1c6a39363c Combine handleText/Style/Snippet/Meta functions into common function
Also adds any related imports and key names
2025-10-02 19:33:15 -04:00
G.Ambatte
fd370c777d Update Editor theme key 2025-09-10 19:57:16 +12: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
785af639c7 Keep the cursor as close to the same place on the screen as possible. 2025-07-30 13:04:16 -05:00
David Bolack
4aadb0b238 Keep the cursor in the active view page after a divider width change.
Solves #2963
2025-07-30 12:28:06 -05:00
David Bolack
17f60ee159 Merge branch 'master' into issue_4201 2025-05-26 23:03:16 -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
Víctor Losada Hernández
9adf6dee61 use js for it 2025-05-22 23:29:08 +02:00
Víctor Losada Hernández
03527a1f95 fix it damn it 2025-05-22 22:35:26 +02:00
Víctor Losada Hernández
1dcea0fe6a fix snippet editor button tooltip 2025-05-09 20:42:01 +02:00
Trevor Buckner
e8cc4a0c58 Merge branch 'master' into GMB_Compats_1 2025-05-09 09:29:12 -04:00
David Bolack
742de8582c Allow pagebreak and columnbreak compatibility 2025-05-06 16:27:55 -05:00
Víctor Losada Hernández
2bd0f909f3 fix snippetbar being eaten 2025-04-21 20:45:36 +02:00
David Bolack
a6703ef731 Clear up confusing commment and consolidate style tag. 2025-04-09 13:30:03 -05:00
David Bolack
bd9d9d4ab6 Merge branch 'master' into localSnippetEditor 2025-04-08 20:35:11 -05:00
David Bolack
9f56d100aa change tab 2025-04-08 00:32:11 -05:00
David Bolack
8e8f520eaa Fix Highlighting issue with new brew sample snippets 2025-03-31 20:50:54 -05:00
Víctor Losada Hernández
4eeaa7c650 default text for snippet tab 2025-03-31 17:11:25 +02:00
Víctor Losada Hernández
f5fc106d01 pixel frame fix 2025-03-31 00:52:41 +02:00
Víctor Losada Hernández
de1773361a final css fix 2025-03-31 00:40:00 +02:00
Víctor Losada Hernández
2ce7c6c2be css breakpoint changed 2025-03-31 00:14:03 +02:00
David Bolack
9d1601f424 Seems to be working - no idea why... 2025-03-29 19:14:10 -05:00
David Bolack
7525e087ff Regression Fix WIP 2025-03-29 18:47:03 -05:00
David Bolack
565d58bb31 Add clearing for snippets 2025-03-24 21:06:55 -05:00
David Bolack
2f95cc5f45 Merge branch 'master' into localSnippetEditor 2025-03-24 15:10:25 -05:00
Víctor Losada Hernández
d2507fe99f remove empty lines 2025-03-19 13:29:16 +01:00
Víctor Losada Hernández
07ff9a114e lint 2025-03-19 13:26:58 +01:00
Víctor Losada Hernández
962d98543e initial fix 2025-03-19 10:56:16 +01:00
Víctor Losada Hernández
8e37806791 jsx files 2025-03-18 19:47:49 +01:00
Víctor Losada Hernández
f076e05f49 js files 2025-03-18 19:46:11 +01:00
Víctor Losada Hernández
163e3927b5 style lint 2025-03-18 19:38:58 +01:00
David Bolack
99efe7f06b Add default value for document name in snippets menu 2025-03-14 19:26:37 -05:00
David Bolack
ab6c1ae402 Merge branch 'master' into localSnippetEditor 2025-03-14 17:44:32 -05:00
Trevor Buckner
bf297939dc Debounce validation popup 2025-02-13 15:01:35 -05:00
Trevor Buckner
df563b9294 Change combobox default text 2025-02-13 14:53:02 -05:00
Trevor Buckner
45e98debbd Remove z-index for metadata editor to not cover nav bar (errors/dropdowns/etc)
The other editor panels don't have a z-index. For some reason the metadata editor does, and it covers items from the navbar
2025-02-13 00:43:14 -05:00
Trevor Buckner
0bd5ac42b6 Remove too-small height for themes + thumbnail 2025-02-13 00:40:59 -05:00