0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-05-09 20:38:40 +00:00
Commit Graph

307 Commits

Author SHA1 Message Date
Trevor Buckner 42accdb54f linting 2025-02-13 17:54:37 -05:00
Trevor Buckner f326d11232 Added input validation (allows Share ID or Share URL) 2025-02-13 00:05:30 -05:00
David Bolack 20c46bd27f Merge branch 'master' into localSnippetEditor 2025-01-12 14:04:23 -06:00
David Bolack 4eb71b1220 Merge branch 'master' into writeinBrewTheme 2025-01-07 22:16:39 -06: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
Trevor Buckner 8cc693461d Lint EditPage.jsx 2025-01-07 22:43:06 -05:00
David Bolack b9f7e820c7 Functionally? working. 2025-01-07 20:36:38 -06:00
David Bolack fe2d02a24c Work in progress.
Still issues with saving the state  of the theme pulldowns and collecting the written in theme.
2024-12-30 12:28:47 -06:00
David Bolack 5f54777663 Merge branch 'master' into localSnippetEditor 2024-12-20 15:18:25 -06:00
Trevor Buckner 962a46a670 Merge branch 'master' into fix-reddit-link-generation-crashing-website-if-encodeURI-fails 2024-12-15 23:46:54 -05:00
Trevor Buckner cb16b32016 tabs 2024-12-15 23:45:54 -05:00
Trevor Buckner 56f348f7ed Replace with toWellFormed() 2024-12-15 23:44:56 -05:00
David Bolack 70f86c6ebd Merge branch 'master' into localSnippetEditor 2024-12-04 21:31:10 -06:00
Víctor Losada Hernández 7c09680939 add vault navitem to share and edit pages 2024-11-27 23:45:25 +01: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 687b7e04d9 Merge branch 'master' into localSnippetEditor 2024-11-11 21:21:57 -06: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
Víctor Losada Hernández 3d7d90104b revert content deletion 2024-11-01 20:37:28 +01:00
David Bolack 4448410c3e Partial implementation 2024-11-01 14:02:27 -05:00
Víctor Losada Hernández 2abc2b13f0 wrap encodeURI in try catch 2024-10-30 22:47:17 +01:00
Víctor Losada Hernández adcbd7c4c8 Merge branch 'master' into erase-unnecessary-divs 2024-10-26 18:18:49 +02:00
G.Ambatte 0c98f832bb Add catch to await calls 2024-10-21 16:21:41 +13:00
Víctor Losada Hernández 6e241c5bcd remove splitpane parent 2024-10-13 10:53:05 +02:00
G.Ambatte 5651c66562 Fix race condition 2024-10-09 18:29:15 +13:00
Trevor Buckner 15fde76209 Merge branch 'master' into v3.15.1 2024-09-27 00:13:32 -04:00
Trevor Buckner e260eb0911 Raise timeout to 10 s.
No need to be stingy here... Can lower back down if this works.
2024-09-26 19:14:16 -04:00
Trevor Buckner 98c5b798a7 Merge branch 'master' into experimentalLocalStorageHistory 2024-09-16 01:03:29 -04:00
Trevor Buckner 25a40e31c5 Remove console logs 2024-09-15 22:31:29 -04:00
Trevor Buckner 81ab9417d3 Clean up unused code 2024-09-15 21:42:55 -04:00
G.Ambatte eddc81d051 Merge branch 'master' into experimentalLocalStorageHistory 2024-09-15 14:23:14 +12:00
G.Ambatte b456bb955a Initial UI functionality 2024-09-15 14:09:47 +12:00
Trevor Buckner 76c9f2ee71 Lint 2024-09-14 18:58:23 -04:00
Trevor Buckner 7e776df4d4 Add Current Page states up into editor components, pass down to children 2024-09-14 18:50:09 -04:00
G.Ambatte 9679e5b130 Add garbage collection function to remove version data after specified period without update 2024-09-07 14:00:31 +12:00
G.Ambatte 9fd581149b Shift version history to separate file 2024-09-06 16:57:11 +12:00
G.Ambatte 03bc9a8189 Test of combined version and time differential requirement for update 2024-09-05 23:24:14 +12:00
G.Ambatte 421c88cc07 Save brew text/style to local storage 2024-09-05 22:35:14 +12:00
David Bolack d2afa7adea Move fetchThemeBundle into /shared/helpers
This might not be the best rework - I was unsure if the *this* that would be available when called would see the appropriate object so I assumed not and pass it as a parameter.
Works, but may be bad form.
2024-07-23 22:17:52 -05:00
Trevor Buckner 27c52fc244 Fix loading CSS for Legacy 2024-07-23 17:11:48 -04:00
Trevor Buckner 22b6aa14f0 Add to /new page 2024-07-23 16:43:23 -04:00
Trevor Buckner 6ae249a527 Lint 2024-07-22 02:46:26 -04:00
Trevor Buckner c0123b96eb Support snippet compilation
Original handling of snippets only worked if the current selected theme was a staticTheme. This now fully merges all snippets through the theme chain no matter what the top-level theme is. So user themes built on 5ePHB can benefit from 5ePHB snippets too.

User input of user snippets will be a later PR, but merging them into static snippets is now supported.
2024-07-22 02:44:41 -04:00
Trevor Buckner 45f7080afd Move loadAllBrewStylesAndSnippets to the parent page component
Themes contain both CSS and Snippets. The brewRenderer only cares about the CSS, but other components need the Snippets. Better to have the parent "editPage", etc. load the theme bundles and pass them down to each child that needs it, rather than trying to pass from the child up.

This also fixes the `metadataEditor.jsx` not being able to change themes live; A new theme bundle is now loaded when a new theme is selected, instead of only the first time the BrewRenderer mounts.

Also renamed to "fetchThemeBundle"
2024-07-21 16:25:24 -04:00
Trevor Buckner 1444581c86 pass userThemes prop to Editor -> MetadataEditor 2024-07-15 23:44:07 -04:00
Trevor Buckner dfbd85a8ce pass userThemes as a new prop, rather than inside of the brew 2024-07-15 23:29:16 -04:00
David Bolack 0945a5e47e Merge branch 'master' into brew_themes_user_selection 2024-06-13 15:15:30 -05:00
G.Ambatte 556ded9b08 Tweak Dialog to work with showModal and show LockNotifications 2024-06-06 12:01:55 +12:00
David Bolack 5442f232d5 Merge branch 'master' into brew_themes_user_selection 2024-05-31 22:32:14 -05:00