Trevor Buckner
3c8aaa7465
Update metadataEditor.less
2024-08-03 17:28:47 -04:00
G.Ambatte
1513a983f7
Skip self when generating metadata dropdown list
2024-08-03 16:32:49 +12:00
Trevor Buckner
8221579b6a
Linting
2024-07-28 18:03:25 -04:00
Trevor Buckner
2870caaae6
Clean up metadataEditor theme dropdown
2024-07-28 17:18:30 -04:00
Trevor Buckner
27c52fc244
Fix loading CSS for Legacy
2024-07-23 17:11:48 -04:00
Trevor Buckner
6ae249a527
Lint
2024-07-22 02:46:26 -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
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
2fa3c0f311
themeClass is never used
2024-07-11 00:26:50 -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
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
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
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
David Bolack
d9dade7181
Fix User Brew display label in metadata editor
2024-03-06 19:04:12 -06: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
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
Gazook89
7c28f60e0a
fix z-index layering issue
2024-01-13 15:19:38 -06:00
Trevor Buckner
eaad46b6bc
lint
2023-03-21 16:10:48 -04:00
Trevor Buckner
c2349fb464
Add note to Lang selector
2023-03-21 11:05:26 -04:00
Trevor Buckner
10263cbf7c
Add note to Lang selector
2023-03-21 10:38:48 -04:00
Trevor Buckner
285b4c3b92
Lift up box to not be covered by Themes selector.
2023-03-20 13:18:20 -04:00
Trevor Buckner
0a7ccfb89e
Debounce validation on Lang field
2023-03-20 13:17:51 -04:00
Gazook89
7bef807c41
Remove unnecessary commented code.
2023-03-07 22:08:42 -06:00
Gazook89
29f8f3546c
Merge branch 'master' into Language-Attribute
2023-03-07 21:23:23 -06:00
Trevor Buckner
a0af588d75
Custom icons
2023-02-04 11:07:04 -05:00
Trevor Buckner
a457058041
Resize dropdown button
2023-01-27 14:45:31 -05:00
Trevor Buckner
6d40e63e96
Merge branch 'master' into pr/2622
2023-01-27 14:26:05 -05:00
Charlie Humphreys
8f75ea4728
fix error issue
2023-01-23 14:22:18 -06:00
Charlie Humphreys
6ddf0bb889
update metadata editor to include error handling
2023-01-23 09:35:19 -06:00
Victor Losada Hernandez
d0dc83cf10
preview images updated
2023-01-21 17:15:50 +01:00
Victor Losada Hernandez
45c7ac4b85
Themes dropdown previews
2023-01-21 17:11:28 +01:00
Charlie Humphreys
6d9982f735
add elvis to fix invited authors editor
2022-12-23 12:21:15 -06:00
Charlie Humphreys
e5febc1fef
update ui to include invitedAuthors array
2022-12-13 21:06:47 -06:00
Charlie Humphreys
8a110567fc
remove call to persist
2022-12-07 07:32:22 -06:00
Charlie Humphreys
4e2f6b1d26
move callIfExists to base file scope
2022-12-05 22:39:38 -06:00
Charlie Humphreys
208593d203
add callIfExists, which will call a method only if it exists
2022-12-05 22:06:06 -06:00
Gazook89
12fe787ab4
allow strings for filterOn
2022-11-29 12:06:38 -06:00
Gazook89
fc7c46cfec
add ability to filter options on any number of attributes
2022-11-28 21:39:41 -06:00
Gazook89
8d80f699b6
add 'title' attr to lang options
2022-11-24 23:50:19 -06:00
Gazook89
e1ff34ebaa
add placeholder to input
2022-11-24 23:33:04 -06:00
Gazook89
ce732778bb
add .value div for consistency and styling
2022-11-24 23:21:47 -06:00