0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2025-12-30 02:22:49 +00:00
Commit Graph

2214 Commits

Author SHA1 Message Date
Víctor Losada Hernández
21244fba58 "Removed lodash import, simplified boolean assignments, refactored API request and error handling, and removed unused variables in ArchivePage component." 2024-05-19 23:45:12 +02:00
Víctor Losada Hernández
55dd4efe41 Merge branch 'master' of https://github.com/naturalcrit/homebrewery into experimental-development 2024-05-19 23:21:47 +02:00
David Bolack
bacdd65025 Add a CR. 2024-05-19 11:52:16 -05:00
David Bolack
86887b536e Update Jump keys to match parent PR and shift live scrolling to scroll-lock.
Needs non-PC testing.
2024-05-19 11:16:50 -05:00
David Bolack
c0cc27a750 Change Jump hotkeys to M ( move ) bindings. 2024-05-19 11:12:19 -05:00
David Bolack
b7dc47fe9e Add a Live Scroll lock/unlock below Brew/Source Jump buttons.
The button displays the *next* state of the toggle. IE, if the current state is locked ( Live scrolling is active ) the icon is unlock with a corresponding mouse-over.

It may be desirable to invert this.
2024-05-18 22:17:29 -05:00
Víctor Losada Hernández
6e08fcca80 minor changes 2024-05-18 23:47:29 +02:00
Víctor Losada Hernández
3d0a9ea805 "Update ArchivePage: erase brewcount when new query, modify error messages for 503 and 500 status codes" 2024-05-18 23:19:25 +02:00
Víctor Losada Hernández
a711f8eb89 remove regex search 2024-05-18 23:07:43 +02:00
David Bolack
8ece54701d Add live scrolling to keep the preview in sync with editor position.
This catchs CTRL-HOME, CTRL-END, and mouseclicks.

It tests for changes on arrow keys and enter.

Not sure if it's the best way to do this, but it works quickly on a large, crappy brew.
2024-05-18 01:44:42 -05:00
David Bolack
9b0db15083 Add Jump To hotkeys
This binds CTRL/META-J to brewJump and SHIFT-CTRL/META-J to sourceJump.
2024-05-17 22:10:28 -05:00
Víctor Losada Hernández
b64c835706 Aparently it wasn't redundant as VSCode said
This reverts commit aef6605225.
2024-05-17 22:38:54 +02:00
Víctor Losada Hernández
92e27cda6c "Removed unused imports of 'classnames' and 'create-react-class' from various JSX files. in the Client folder" 2024-05-17 22:31:55 +02:00
Víctor Losada Hernández
aef6605225 Remove redundant snippetBar import from editor.jsx 2024-05-17 22:28:01 +02:00
Gazook89
7c9cc25923 update editor ref's in edit, home, and new pages. 2024-05-16 23:29:30 -05:00
Gazook89
78ce8aa6e3 remove unused ref attributes
from editPage, homePage, newPage, and printPage, as well as splitPane.   The refs were declared, but never used.
2024-05-16 23:25:22 -05:00
Gazook89
46c14ef23b fix refs in editor.jsx
now has refs `editorWrapper` and `editor`-- the former includes the snippet bar and codemirror editor, and the latter includes only the codemirror editor.
2024-05-16 23:12:10 -05:00
Víctor Losada Hernández
97ef56f905 small changes, tips and style 2024-05-14 11:10:48 +02:00
Víctor Losada Hernández
124af97cc8 extra page buttons linked to relevant pages 2024-05-14 10:49:10 +02:00
Víctor Losada Hernández
021ac68400 Update archive page to use pagination with page numbers and ellipses
* Change the way pagination is handled on the archive page
* Display page links for 10 pages max
2024-05-14 10:44:16 +02:00
Víctor Losada Hernández
9aa3ebe872 Merge branch 'master' of https://github.com/naturalcrit/homebrewery into experimental-development 2024-05-14 09:31:40 +02:00
David Bolack
69f01b282a CSS Tweaks for Theme Selector
Add 5e-Cleric's suggestsions to acvoid the title overflowing over the preview.
2024-05-13 22:33:58 -05:00
David Bolack
66e39d9c65 Update Theme Selector display
For User/Brew Themes, display the first author instead of Brew/V3 in the first column.
2024-05-13 22:24:41 -05:00
David Bolack
8c5f4e0605 Brew Theme Fixes.
This adds the User Brew themes, where applicible, to the /new path.

This adds a semi-graceful failure to the metadata panel when a Brew Theme is declared as used but is not present.

More gracefully handles loading with themes not present.
2024-05-13 11:14:35 -05:00
Víctor Losada Hernández
a89b575b26 archive 2.0 2024-05-13 13:37:53 +02:00
David Bolack
ed210da4af Merge branch 'master' into brew_themes_user_selection 2024-05-12 12:08:16 -05:00
G.Ambatte
b4ee62a1bd Merge branch 'master' into experimentalHTMLSanitization 2024-05-11 08:58:21 +12:00
G.Ambatte
632efe8b9f Add Share ID to lock notification 2024-05-10 08:17:09 +12:00
G.Ambatte
bf38f95d25 Pass ID to Lock Notification 2024-05-10 08:05:29 +12:00
G.Ambatte
f6daeb4acd Update error message 2024-05-10 08:05:09 +12:00
G.Ambatte
10a7f34abb Update lock message 2024-05-10 07:45:04 +12:00
G.Ambatte
3a054f1ae0 Merge branch 'master' into addLockNotification-#3326 2024-05-10 07:15:40 +12:00
Trevor Buckner
5a52e76ff0 Merge branch 'master' into EmojiSyntax 2024-05-08 11:01:15 -04:00
Víctor Losada Hernández
cca0f3b4dc Revert "pagination controls update search terms"
This reverts commit 9966e6322d.
2024-05-08 15:51:31 +02:00
Víctor Losada Hernández
22f4dade4f default value to page size 2024-05-08 15:51:14 +02:00
Víctor Losada Hernández
e30a0c3dce page size log to track issue 2024-05-08 15:41:44 +02:00
Víctor Losada Hernández
9966e6322d pagination controls update search terms 2024-05-08 15:33:27 +02:00
Víctor Losada Hernández
02450982c1 fix brewCollection issue 2024-05-08 13:32:03 +02:00
G.Ambatte
cdad9af453 Merge branch 'master' into experimentalHTMLSanitization 2024-05-08 23:30:49 +12:00
David Bolack
dde8e28d07 Merge branch 'brew_themes_user_selection' into dropdownTextures-User-Themes 2024-05-07 16:38:56 -05:00
David Bolack
872ee339da Clean up console logs
Eliminate erroronous theme pulldown texture load.
2024-05-07 12:13:57 -05:00
Gazook89
295fea7581 Add dropdownTexture for user theme options
If a user theme document has a thumbnail, this will include that thumbnail as a dropdown texture in the options.
2024-05-07 11:00:20 -05:00
Víctor Losada Hernández
f9f2e604c0 linting and remove async conflict 2024-05-07 10:14:46 +02:00
Víctor Losada Hernández
40ac8b1909 Merge branch 'master' of https://github.com/naturalcrit/homebrewery into experimental-development 2024-05-07 00:12:26 +02:00
Víctor Losada Hernández
f1a2037bca page is sometimes a string?? 2024-05-06 23:40:31 +02:00
Víctor Losada Hernández
ded78c6639 better error handling in jsx 2024-05-06 23:32:18 +02:00
Víctor Losada Hernández
51fcb59f09 debugging 500 errir catching 2024-05-06 23:26:02 +02:00
David Bolack
ef25139ffe Merge branch 'master' into brew_themes_user_selection 2024-05-06 12:04:38 -05:00
Víctor Losada Hernández
752b2caaf4 Merge branch 'master' of https://github.com/naturalcrit/homebrewery into experimental-development 2024-05-06 13:45:06 +02:00
Víctor Losada Hernández
d3f1fde9d9 icon for edit link 2024-05-06 07:43:45 +02:00