David Bolack
c6cd6e9864
A little bit of cleanup and structure flattening
...
Fixes failed tests.
2025-04-08 20:29:32 -05:00
David Bolack
d0c3765f8f
Move Snippets store to metadata block.
...
Note this still stores the snippets as a string for the passed about brew object.
2025-04-07 23:22:47 -05:00
David Bolack
a62588a4c9
Fix fouled up regex that only worked by accident
2025-03-24 14:58:14 -05:00
David Bolack
b605346c7d
Fix regeression in snippets
2025-03-14 18:36:18 -05:00
David Bolack
ab6c1ae402
Merge branch 'master' into localSnippetEditor
2025-03-14 17:44:32 -05:00
Trevor Buckner
50bda9455f
Immediately clear errors if a theme successfully loads
2025-02-13 15:51:22 -05:00
Trevor Buckner
659510e364
Remove unused function
2025-02-09 12:07:09 -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
70f86c6ebd
Merge branch 'master' into localSnippetEditor
2024-12-04 21:31:10 -06:00
Trevor Buckner
9f9948f531
Add comment
2024-12-02 12:23:54 -05:00
G.Ambatte
e17db0788c
Convert any tags strings to arrays
2024-12-02 16:18:18 +13:00
David Bolack
008b31e530
Correct failing test.
2024-11-24 18:58:50 -06:00
David Bolack
b6e445c445
Convert storage of snippets in Brew to yaml by request.
2024-11-24 18:13:32 -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
d541a70da5
Remove unneeded dedent
2024-11-14 06:54:36 -06:00
David Bolack
e0400c0425
Snippets should go after existing tab sections
2024-11-12 18:41:31 -06:00
David Bolack
f4e9516233
Remove testing helper
2024-11-03 12:41:04 -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
David Bolack
4f240bf110
WIP
2024-11-02 22:30:18 -05:00
David Bolack
7cd82ffc4e
WOrking snippets insertion from local.
2024-11-02 17:37:43 -05:00
David Bolack
4448410c3e
Partial implementation
2024-11-01 14:02:27 -05:00
David Bolack
1ed7e43db1
Implement G-Ambette's cleaner fix.
2024-08-13 12:09:45 -05:00
Trevor Buckner
8221579b6a
Linting
2024-07-28 18:03:25 -04:00
Trevor Buckner
e0425ec6c0
Simplify API call url
2024-07-28 16:47:16 -04:00
Trevor Buckner
8aa88a2e45
Add proper error popup when theme fails to load
2024-07-28 16:45:01 -04:00
Trevor Buckner
113f9b3fe3
No need to stringify Theme Bundle object
2024-07-27 02:00:38 -04: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
David Bolack
ade819c70c
A not so light rework.
...
This removes the existing endpoints and replaces them with /theme.
/theme/:id - return a theme bundle containing all styling from this USER theme and any parents.
/theme/:engine/:id - return a theme bundle containing all styling from this STATIC theme and any parents
The theme bundle returns a marshalled JSON object containing:
styles - an array of strings representing the collected styles in loading order
snippets - an array ( currently empty ) of collected snippets.
The various bits of theme rendering code for <style> an style <link> have been swapped out with an 'onDidMount' call that loads the thendpoint and appends a series of <style> blocks to the brewRender's head.
This loses some caching advantages, but probably won't matter in the long run.
2024-07-13 12:12:05 -05:00
Trevor Buckner
8a55658bd7
Rename printPage function to printCurrentBrew()
...
Avoid confusion with other "page" components.
2024-05-28 16:11:18 -04:00
Trevor Buckner
01d60c4520
lint
2024-05-28 13:22:33 -04:00
Trevor Buckner
ac3168e365
Move "printPage()" to helpers.js for reuse in multiple pages
2024-05-24 19:28:02 -04:00
Trevor Buckner
e62e185214
Lint a bunch of things
2024-05-21 17:32:17 -04:00
Víctor Losada Hernández
f93af38fa6
split-style-and-metadata moved to helpers.js
2024-03-06 18:09:26 +01:00