0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-05-09 22:48:39 +00:00
Commit Graph

327 Commits

Author SHA1 Message Date
Trevor Buckner a6f787ea8f Remove getBrewThemeParentCSS 2024-07-10 17:56:39 -04:00
Trevor Buckner 28446d3ae2 Comments for theme CSS endpoints 2024-07-10 14:21:23 -04:00
Trevor Buckner a247e50c9f renaming "get" functions
rename `getStaticTheme` to `getStaticThemeCSS`
rename `getBrewThemeWithCSS` to `getBrewThemeCSS`
rename `getBrewThemeParent` to `getBrewThemeParentCSS`

to avoid confusion with other "get" endpoints like `getBrew`, and unify naming for endpoint functions that return CSS.

Simplify `isStaticTheme` function (getting the parent theme is handled elsewhere)
2024-07-10 14:15:03 -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 0945a5e47e Merge branch 'master' into brew_themes_user_selection 2024-06-13 15:15:30 -05:00
David Bolack 5442f232d5 Merge branch 'master' into brew_themes_user_selection 2024-05-31 22:32:14 -05:00
Trevor Buckner e62e185214 Lint a bunch of things 2024-05-21 17:32:17 -04:00
David Bolack c6f62142e1 Change the ID used for User Brews to the shareId for future-proofing. 2024-05-17 20:53:06 -05:00
G.Ambatte 4e11a0c737 Fix error message 2024-05-16 17:02:00 +12:00
G.Ambatte 96b955f2fe Change lock check to stub.lock from stub.lock.locked 2024-05-16 17:00:26 +12: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 b6c2f96b82 Change tag filtering for theme detection to require meta prefix 2024-05-10 01:40:01 -04:00
David Bolack 65495b4e7c Prevent Legacy renderer brews from being listed as themes. 2024-05-08 12:51:10 -05:00
David Bolack 9f04c34b06 Missed $ 2024-05-06 20:07:33 -05:00
David Bolack c9d416fec0 Small User Brew theme changes.
Move the Static Theme shortcut to getBrewThemeWithCSS to drop an unneeded URL load.

Change the comment in the CSS to refer to the shareURL for the theme
instead of its name if it is a user theme.
2024-05-06 19:39:27 -05:00
David Bolack 3dde6a098c Test code to reduce duplicate theme loading
This shorts out loading of 5ePHB and/or blank from getBrewThemeParent
2024-05-06 12:12:46 -05:00
G.Ambatte 4c6953a4e0 Differentiate between Edit and Share messages 2024-04-20 13:57:33 +12:00
David Bolack 1292d9ad9b Merge branch 'master' into brew_themes_user_selection 2024-04-18 21:13:01 -05:00
Trevor Buckner 7097897df8 Remove "stub.published" from thrown error, since no longer used 2024-04-09 15:24:04 -04:00
Víctor Losada Hernández 99f9b10348 initial commit 2024-04-07 16:16:21 +02:00
David Bolack 57f0aefbc8 Merge branch 'master' into brew_themes_user_selection 2024-03-25 20:38:28 -05:00
G.Ambatte 21c0916693 Switch to boolean lock state 2024-03-17 21:34:31 +13:00
David Bolack e487f9a951 Fix remaining jest issues 2024-03-06 23:27:43 -06:00
David Bolack eb4ecf853b Fix Jest issues I was able to understand 2024-03-06 22:50:24 -06:00
David Bolack 54e2deaddc Merge branch 'master' into brew_themes_user_selection 2024-03-06 19:28:37 -06:00
David Bolack a666c8def3 Heroku debug 2024-03-06 19:20:16 -06:00
David Bolack 87502f4249 Heavy rework for usertheme parents. 2024-03-06 18:55:12 -06:00
David Bolack 9adafbd473 more heroku debug 2024-03-06 14:12:13 -06:00
David Bolack 47ea2f6ed7 more heroku debug 2024-03-06 14:04:16 -06:00
David Bolack e2ba0ec059 more heroku debug 2024-03-06 13:59:36 -06:00
David Bolack 870cbc103d more heroku debug 2024-03-06 13:57:32 -06:00
David Bolack dfca664f6e more heroku debug 2024-03-06 13:53:54 -06:00
David Bolack 00cfd427b1 more heroku debug 2024-03-06 13:47:40 -06:00
David Bolack e639a32822 more heroku debug 2024-03-06 13:41:58 -06:00
David Bolack 8765bc800d more heroku debug 2024-03-06 13:38:48 -06:00
David Bolack 1dc73a951e more heroku debug 2024-03-06 13:35:08 -06:00
David Bolack 317b80bf4d more heroku debug 2024-03-06 13:20:57 -06:00
David Bolack 2aaae95e89 more heroku debug 2024-03-06 13:16:57 -06:00
David Bolack 0580e45af9 more heroku debug 2024-03-06 13:11:49 -06:00
David Bolack 0dbf6453ac more heroku debug 2024-03-06 13:04:03 -06:00
David Bolack 695324832c more heroku debug 2024-03-06 12:56:33 -06:00
David Bolack 18aa453bb0 Rearrange and leverage getBrew 2024-03-06 12:38:00 -06:00
David Bolack 17f78169f2 More debug 2024-03-06 12:03:27 -06:00
David Bolack 544bc9bd01 Catch bad assumption in unlogged saves 2024-02-28 08:32:15 -06:00
David Bolack 562daf9b04 Handle some statics 2024-02-27 21:13:22 -06:00
G.Ambatte 0d1d3a180d Handle missing lock property 2024-02-28 16:02:35 +13:00
David Bolack 8f15887c03 Cleanup of console logging 2024-02-27 20:51:59 -06:00
David Bolack 7384cdc241 My god it works 2024-02-27 20:20:43 -06:00
David Bolack 56851f2c2d Edit working - with noise. 2024-02-27 19:33:33 -06:00
David Bolack 4f4659b0e2 Cleaned up noise in homebrew.api.js 2024-02-27 13:57:58 -06:00