0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-05-09 03:18:39 +00:00
Commit Graph

271 Commits

Author SHA1 Message Date
Víctor Losada Hernández 1f1dbfbb89 fix movebrew 2026-04-05 12:14:40 +02:00
Víctor Losada Hernández 8d18529c6d linting 2026-03-03 23:44:02 +01:00
Víctor Losada Hernández c096014871 shared folder (for markdown.js and helpers 2026-02-25 18:40:50 +01:00
David Bolack 1fa0a23459 Merge branch 'master' into codeMirror-skipExtraKeys 2026-02-22 10:46:26 -06:00
Víctor Losada Hernández 9d03385a13 change imports 2026-01-24 00:29:15 +01:00
Víctor Losada Hernández 2f19b7658c dedent-tabs to dedent 2026-01-23 19:10:56 +01:00
Víctor Losada Hernández 7b00ec9fcf stable version i think 2026-01-21 15:44:33 +01:00
Víctor Losada Hernández fc8656e05b all imports 2026-01-20 22:14:34 +01:00
Víctor Losada Hernández 0d6c3c7e33 fix module.exports 2026-01-20 19:56:37 +01:00
David Bolack 6b57dcf052 Wrapper functions 2025-12-29 13:24:31 -06:00
Trevor Buckner 059d6d7939 Lint 2025-11-17 23:09:47 -05:00
G.Ambatte 73b7d6887b Fix typo in state property name for snippet bar height 2025-11-17 17:09:23 +13:00
Víctor Losada Hernández f1891d9250 use state instead 2025-11-16 19:02:37 +01:00
Víctor Losada Hernández b78f5079df bring back update native func 2025-11-15 16:59:32 +01:00
Víctor Losada Hernández 7bc41f9b0d fix snippetbar hidden 2025-11-15 16:49:48 +01:00
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
David Bolack 8fcadd87d4 Remove comments 2025-10-09 20:24:01 -05: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
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
David Bolack 742de8582c Allow pagebreak and columnbreak compatibility 2025-05-06 16:27:55 -05: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
David Bolack 565d58bb31 Add clearing for snippets 2025-03-24 21:06:55 -05:00
Víctor Losada Hernández d2507fe99f remove empty lines 2025-03-19 13:29:16 +01:00
Víctor Losada Hernández 962d98543e initial fix 2025-03-19 10:56:16 +01:00
David Bolack ab6c1ae402 Merge branch 'master' into localSnippetEditor 2025-03-14 17:44:32 -05:00
David Bolack 67b31c476c Merge branch 'master' into localSnippetEditor 2025-02-04 21:07:02 -06:00
Víctor Losada Hernández c3e0a687c0 Merge branch 'master' into writeinBrewTheme 2025-02-02 22:18:20 +01:00
Trevor Buckner 6dfd44e2f1 Allow spaces between \page and {}
Consistent behavior with other curly injections
2025-01-29 11:48:18 -05:00
David Bolack 004729b2a4 Fix editor regression. 2025-01-28 19:37:02 -06:00
Trevor Buckner be18843b09 Allow empty braces: \page{} 2025-01-27 23:27:03 -05:00
Trevor Buckner f1ff032e1e Extract repeated pagebreak regex into a constant 2025-01-27 23:24:25 -05:00
Trevor Buckner 36df121cf6 Lint 2025-01-27 23:10:37 -05:00
Trevor Buckner 7610466ee4 Off by 1 error 2025-01-24 01:48:18 -05:00