0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2025-12-30 06:42:45 +00:00
Commit Graph

830 Commits

Author SHA1 Message Date
Víctor Losada Hernández
5de20cb451 disabling owner input 2024-08-01 15:32:13 +02:00
Víctor Losada Hernández
c92f30cfe0 change owner default to false 2024-07-31 08:58:23 +02:00
Víctor Losada Hernández
51c7549b45 Merge branch 'master' of https://github.com/naturalcrit/homebrewery into experimental-development 2024-07-31 08:57:28 +02:00
Trevor Buckner
8aa88a2e45 Add proper error popup when theme fails to load 2024-07-28 16:45:01 -04:00
Víctor Losada Hernández
cef90f5ff9 Added !brewCollection condition to if statement in VaultPage component. 2024-07-28 11:18:26 +02:00
Víctor Losada Hernández
5a9b77190a "Removed console log statement in VaultPage.jsx and updated brewsQuery logic in vault.api.js to handle legacy and v3 filters" 2024-07-28 11:10:27 +02:00
Víctor Losada Hernández
59a5f641af search by author 2024-07-28 10:45:56 +02:00
Víctor Losada Hernández
0bda666127 "Changed condition in onKeyDown event handler from checking input validity and value to checking searchButtonRef.current.disabled" 2024-07-27 10:46:08 +02:00
Víctor Losada Hernández
5b96ef4406 "Refactor VaultPage component: updated validateInput to validateForm, changed input validation logic, and added refs for search button and checkboxes." 2024-07-27 10:41:10 +02:00
Víctor Losada Hernández
c1dc712542 better checkboxes and linting 2024-07-25 23:48:37 +02:00
Víctor Losada Hernández
3e2c2de269 Added hideMoveArrows prop to split pane for use in vault 2024-07-25 23:11:51 +02:00
Víctor Losada Hernández
cc08579583 change to splitPane component 2024-07-25 16:57:33 +02: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
Víctor Losada Hernández
e562ebef48 media query for mobile use expanded to vertical stack 2024-07-24 00:50:21 +02:00
Víctor Losada Hernández
e206b501a6 media query to show only one column in case of small window 2024-07-24 00:34:13 +02:00
Víctor Losada Hernández
016a9fa1e8 few css changes to make the page more responsive on smaller screens 2024-07-24 00:26:23 +02:00
Víctor Losada Hernández
01ee184044 "Update default count value from 10 to 20 in VaultPage component and vault API" 2024-07-23 23:57:05 +02:00
Trevor Buckner
27c52fc244 Fix loading CSS for Legacy 2024-07-23 17:11:48 -04:00
Trevor Buckner
ac82e3ecb2 Add to home page 2024-07-23 16:50:29 -04:00
Trevor Buckner
22b6aa14f0 Add to /new page 2024-07-23 16:43:23 -04:00
Trevor Buckner
24ab3d3392 Merge branch 'brew_themes_user_selection' of https://github.com/dbolack-ab/homebrewery into pr/3321 2024-07-23 16:26:35 -04:00
Trevor Buckner
0b01f27d11 Load theme bundles on /share page 2024-07-23 16:26:33 -04:00
Víctor Losada Hernández
270aa9e0f9 Merge branch 'master' into brew_themes_user_selection 2024-07-22 22:46:12 +02: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
Víctor Losada Hernández
ddf2006285 Merge branch 'master' of https://github.com/naturalcrit/homebrewery into experimental-development 2024-07-21 18:06:08 +02:00
Trevor Buckner
d741878f78 Also remove userthemes from Brew object in sharePage 2024-07-19 00:00:06 -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
G.Ambatte
cb9d24d5b4 Remove text-decoration from Brew Item links 2024-07-11 20:03:17 +12:00
David Bolack
0945a5e47e Merge branch 'master' into brew_themes_user_selection 2024-06-13 15:15:30 -05:00
Víctor Losada Hernández
5232c16eb2 change div to form 2024-06-13 01:32:34 +02:00
Víctor Losada Hernández
bdfd194672 changed order of params per request 2024-06-13 01:13:38 +02:00
Víctor Losada Hernández
cb0cb32860 minor style changes & lint less file 2024-06-13 01:04:39 +02:00
Víctor Losada Hernández
1e080b30fd finally fixed the damn issue 2024-06-13 00:41:40 +02:00
Víctor Losada Hernández
90431efbc9 "Removed ArchivePage and related files, replaced with VaultPage, updated routes and API endpoints, and made minor changes to theme configuration and error handling." 2024-06-11 00:33:36 +02:00
Víctor Losada Hernández
99b0c2b54e Merge branch 'master' of https://github.com/naturalcrit/homebrewery into experimental-development 2024-06-10 23:25:42 +02:00
Víctor Losada Hernández
042e217872 "Refactor ArchivePage component from createClass to functional component with hooks" 2024-06-10 23:23:31 +02:00
Trevor Buckner
65770782c2 Lint lockNotification.less 2024-06-07 11:28:30 -04:00
G.Ambatte
8bbf2e1ce4 Dim background while Modal displayed 2024-06-07 11:25:34 +12:00
G.Ambatte
4f4cef0f6c Tweak LockNotification styling 2024-06-06 12:02:07 +12:00
G.Ambatte
556ded9b08 Tweak Dialog to work with showModal and show LockNotifications 2024-06-06 12:01:55 +12:00
G.Ambatte
0efcd5d258 Shift LockNotification to use Dialog 2024-06-05 13:03:26 +12:00
Trevor Buckner
7272544724 Convert LockNotification.jsx to functional component 2024-06-04 14:53:19 -04:00
David Bolack
5442f232d5 Merge branch 'master' into brew_themes_user_selection 2024-05-31 22:32:14 -05:00
G.Ambatte
930709223a Lint fix 2024-06-01 12:42:40 +12:00
G.Ambatte
2424d34682 Merge branch 'master' into addLockNotification-#3326 2024-06-01 12:14:04 +12: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
b4349a0476 iframe hotkey printing only works in Edit/Share/New
Default browser printing still works
2024-05-28 12:51:58 -04:00