Trevor Buckner
460358ce1f
Simplify some logic
2024-07-19 00:09:21 -04:00
Trevor Buckner
0448f15322
Classify user brews as V3 if they use V3
...
Each theme in the theme chain, including user brews, must use the same renderer. When moving to V4 or future versions, it will be important to distinguish which themes are compatible with each other
2024-07-19 00:05:45 -04:00
Trevor Buckner
d22cd88446
fix crash in metadataeditor
2024-07-15 23:47:19 -04:00
Trevor Buckner
1444581c86
pass userThemes prop to Editor -> MetadataEditor
2024-07-15 23:44:07 -04:00
Trevor Buckner
2fa3c0f311
themeClass is never used
2024-07-11 00:26:50 -04:00
Trevor Buckner
5c0a072115
userThemes passed to SnippetBar.jsx is never used
2024-07-11 00:25:11 -04:00
David Bolack
656edb07ea
Rework detection of user brews to look up themeid in static themes list before assuming is a user brew.
...
Ended up being a fairly straightforward change. A few ternaries got smooshed or inverted. Passes builtin and local tests. Need to compare on the test instance.
2024-07-08 18:12:58 -05:00
David Bolack
5442f232d5
Merge branch 'master' into brew_themes_user_selection
2024-05-31 22:32:14 -05:00
Trevor Buckner
2453b623db
tweak names in editor.jsx
2024-05-21 17:45:50 -04:00
Trevor Buckner
783e88b5e6
Merge branch 'master' into pr/3477
2024-05-21 17:42:03 -04:00
Trevor Buckner
e62e185214
Lint a bunch of things
2024-05-21 17:32:17 -04: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
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
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
David Bolack
ed210da4af
Merge branch 'master' into brew_themes_user_selection
2024-05-12 12:08:16 -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
Trevor Buckner
d695648d9b
Tweaks to Editor highlighting. Maybe still ugly.
2024-05-03 21:40:09 -04:00
Trevor Buckner
72160f5daf
missed one commit
2024-05-03 21:40:09 -04:00
Trevor Buckner
0751da42b6
Add emoji highlighting to editor
2024-05-03 21:40:08 -04:00
David Bolack
1292d9ad9b
Merge branch 'master' into brew_themes_user_selection
2024-04-18 21:13:01 -05:00
Gazook89
3b2a48eabf
remove + 1 from editor height
2024-04-03 22:52:16 -05:00
Gazook89
7954ae8692
set a min-width on icons, reduce font sizes
2024-04-03 12:57:24 -05:00
David Bolack
57f0aefbc8
Merge branch 'master' into brew_themes_user_selection
2024-03-25 20:38:28 -05:00
David Bolack
d9dade7181
Fix User Brew display label in metadata editor
2024-03-06 19:04:12 -06:00
David Bolack
7f16da110f
Merge branch 'master' into Extended_DD
2024-03-04 11:01:49 -06:00
David Bolack
a924f53320
Merge branch 'master' into brew_themes_user_selection
2024-03-03 22:11:35 -06:00
Trevor Buckner
774b555a61
Rework to fix 5eCleric's tests
2024-02-29 17:17:38 -05:00
David Bolack
4f90f92b38
Additional theme based error checking.
2024-02-28 15:08:00 -06:00
David Bolack
8f15887c03
Cleanup of console logging
2024-02-27 20:51:59 -06:00
David Bolack
56851f2c2d
Edit working - with noise.
2024-02-27 19:33:33 -06:00
David Bolack
50c9d95ce0
WIP trying to debug theme selection.
2024-02-27 17:30:14 -06:00
David Bolack
7b3a1eb4ff
Functional user theme loading though noising console
2024-02-27 13:41:51 -06:00
David Bolack
d1d28acebb
Merge branch 'master' into Extended_DD
2024-02-25 09:15:27 -06:00
David Bolack
7d755fe2a3
Fix syntax highlighting on sub and superscript
...
I did not test this very robustly, it seems.
2024-02-23 11:35:57 -06:00
David Bolack
f60090e5fa
Update Theme Picker to use Brews tagged as a theme
...
This updates the theme picker to include brews tagged as themes owned by
the user.
Some supporting functions were updated. User themes are loaded on /edit
and added to the request.
2024-02-22 21:12:56 -06:00
David Bolack
f3148ed53c
Fix Syntax Highlighting
...
Update changelog to match PR target shifts.
2024-02-07 20:23:19 -06:00
David Bolack
3ee9fe1c3f
Update tests.
...
Prune no lionger valid cases.
2024-02-06 22:13:44 -06:00
David Bolack
faba9f1616
Merge branch 'master' into Extended_DD
2024-01-18 22:59:22 -06:00
David Bolack
ce8cbba441
Merge branch 'master' into Extended_DD
2024-01-16 00:29:29 -06:00
Gazook89
d648bacd26
Merge branch 'master' into theme-selector-styling
2024-01-13 15:28:51 -06:00
Gazook89
1ca5ba1086
Merge branch 'theme-selector-styling' of https://github.com/Gazook89/homebrewery into theme-selector-styling
2024-01-13 15:19:40 -06:00
Gazook89
7c28f60e0a
fix z-index layering issue
2024-01-13 15:19:38 -06:00
Trevor Buckner
2fd2ccfe14
Tweak Font snippets to have ABC
2024-01-12 11:59:16 -05:00
Trevor Buckner
ccc1895304
Lint snippetbar.less
2024-01-12 11:57:34 -05:00
Trevor Buckner
2ea65de0c0
Merge branch 'master' into pr/3203
2024-01-12 11:45:55 -05:00
Trevor Buckner
742798ad79
Fixing merge issues
2024-01-12 11:41:08 -05:00