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

232 Commits

Author SHA1 Message Date
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
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
Trevor Buckner
9f8831eed6 Adjust display and page count when first line has \page 2025-01-24 01:16:55 -05:00
David Bolack
74122d9057 Display name of write in theme next to write-in
Clear user's active ThemeBundle when an incomplete/broken/invalid writein.

Needs theming help.
2025-01-07 22:11:01 -06:00
David Bolack
86856605b9 Add editor highlighting 2024-12-10 23:08:51 -06:00
David Bolack
5f67494f77 Merge branch 'master' into localSnippetEditor 2024-11-23 01:39:38 -06:00
Trevor Buckner
fb9148ada5 Site runs and all tests pass 2024-11-20 16:21:35 -05:00
David Bolack
7f7f3557b3 Mostly working. Needs tweakages. Presentable 2024-11-03 12:30:14 -06:00
David Bolack
b9b3d284cf WOrking snippet editor - menu population regression 2024-11-03 11:14:31 -06:00
David Bolack
4f240bf110 WIP 2024-11-02 22:30:18 -05:00
Trevor Buckner
f1aeea18d4 Only jump when on text panel 2024-10-15 22:07:55 -04:00
Trevor Buckner
dfd3b99232 Merge branch 'master' into experimentalLocalStorageHistory 2024-09-16 01:50:54 -04:00
Trevor Buckner
b5490e3a53 Lint editor.jsx 2024-09-16 01:40:21 -04:00
Trevor Buckner
98c5b798a7 Merge branch 'master' into experimentalLocalStorageHistory 2024-09-16 01:03:29 -04:00
Trevor Buckner
48bdc417fa More logic simplification 2024-09-16 00:39:04 -04:00
Trevor Buckner
25a40e31c5 Remove console logs 2024-09-15 22:31:29 -04:00
Trevor Buckner
a353425d07 More cleanup 2024-09-15 22:13:41 -04:00
Trevor Buckner
81ab9417d3 Clean up unused code 2024-09-15 21:42:55 -04:00
Trevor Buckner
84c0242eee Put page jump checks in componentDidUpdate
Jump when the current page for brew or editor changes
2024-09-15 00:13:49 -04:00
G.Ambatte
eddc81d051 Merge branch 'master' into experimentalLocalStorageHistory 2024-09-15 14:23:14 +12:00
G.Ambatte
72257dc71b Lint fixes 2024-09-15 14:09:56 +12:00
G.Ambatte
b456bb955a Initial UI functionality 2024-09-15 14:09:47 +12:00
Trevor Buckner
181c6bf65a Update editor.jsx 2024-09-14 19:15:39 -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
3ef91cb1ea Add check for scroll event complete/ lift page state up 2024-09-12 12:55:11 -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
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
7a37bf47c5 Bodge Render side mirroring back into place. 2024-09-07 21:33:51 -05:00
Trevor Buckner
b124e55b3d Merge branch 'master' into Issue_241_Part_II 2024-09-06 23:51:14 -04:00
Gazook89
3c6f49aa0a Move focus method to handleViewChange 2024-09-03 14:48:45 -05:00
Gazook89
afa1e7974a Set focus on editor after tab switch
This sets the focus on the editor (and thus reveals cursor position) between editor changes (style to text to meta and back).
2024-09-02 21:07:19 -05: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
David Bolack
a4f30d687d Merge branch 'master' into Issue_241_Part_II 2024-08-28 21:17:10 -05:00
David Bolack
bda8be6ec1 Remove stray console.log 2024-08-28 20:54:50 -05:00
David Bolack
132a7d1f53 A temporary, imperfect fix for the jump hotkeys 2024-08-28 20:48:33 -05:00
Trevor Buckner
5671728c97 Change filter to some
`some` stops once it finds a true case; `filter` has to process the whole list of folds first.
2024-08-26 17:23:44 -04:00
Trevor Buckner
d59c6be359 Merge branch 'master' into fixEmojiFolding-#3604 2024-08-26 16:34:06 -04:00