0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2025-12-24 16:22:44 +00:00
Commit Graph

91 Commits

Author SHA1 Message Date
Trevor Buckner
2e9c7b1d9b Shorten label 2024-11-12 00:20:37 -05:00
Trevor Buckner
8c6c8f861d Automatically re-check for scripts
Adding a separate `keepText` field for the `updateBrew()` API might be a bandaid for something that should be looked at more deeply as a separate refactor, considering `updateBrew()` is configured to just return the stub and not the whole document.

For now, re-scanning for script tags after updating can be as simple as just re-looking up the brew.
2024-11-12 00:08:56 -05:00
G.Ambatte
dc1d40512b Reinstate length check 2024-11-10 21:45:17 +13:00
G.Ambatte
b3793a3330 Simplify scriptCount logic 2024-11-10 19:30:57 +13:00
G.Ambatte
952b67aed3 Remove checkForScript state 2024-11-10 19:29:28 +13:00
G.Ambatte
a29aca32e7 Display createdAt time 2024-10-29 20:42:53 +13:00
G.Ambatte
28894adeab Add error check for no brew found 2024-10-25 11:17:44 +13:00
G.Ambatte
e3619bb1fc Add global flag to regex 2024-10-25 00:11:02 +13:00
G.Ambatte
db1fdca3ab Automatically check for SCRIPT tags 2024-10-24 20:45:12 +13:00
G.Ambatte
c2f56833f3 Merge branch 'addAdminFixScriptTool-#3801' of https://github.com/G-Ambatte/homebrewery into addAdminFixScriptTool-#3801 2024-10-24 17:21:00 +13:00
G.Ambatte
d3cc5c890b Display number of SCRIPT tags detected in brew 2024-10-24 17:20:55 +13:00
Víctor Losada Hernández
04baabc27d Merge branch 'master' into addAdminFixScriptTool-#3801 2024-10-23 21:25:36 +02:00
G.Ambatte
63f4104f81 Add UI to Admin page 2024-10-13 13:45:24 +13:00
Víctor Losada Hernández
656c9399ef initial commit 2024-10-10 02:06:00 +02:00
Trevor Buckner
e873dcf3a8 Fix error messages crashing page 2024-10-09 14:35:16 -04:00
Trevor Buckner
fabc0bea83 Merge branch 'experimentalNotificationDB' of https://github.com/G-Ambatte/homebrewery into pr/2586 2024-09-18 15:50:55 -04:00
Trevor Buckner
5c2ad7dfee More Linting 2024-09-18 15:50:46 -04:00
Víctor Losada Hernández
3e7d4714a2 Merge branch 'experimentalNotificationDB' of https://github.com/G-Ambatte/homebrewery into experimentalNotificationDB 2024-09-18 21:47:05 +02:00
Víctor Losada Hernández
77c4ac6640 deleting useless state 2024-09-18 21:47:03 +02:00
Trevor Buckner
a7c892c1bb Lint 2024-09-18 15:36:48 -04:00
Trevor Buckner
6c42a7e180 Lint 2024-09-18 15:34:58 -04:00
Trevor Buckner
3caec793d8 Linting 2024-09-18 15:30:30 -04:00
Trevor Buckner
9717f0cd66 Split state into separate states. 2024-09-18 15:09:53 -04:00
Trevor Buckner
0cdc1947c1 Linting 2024-09-18 14:45:17 -04:00
Víctor Losada Hernández
ebc3b4ee66 "Updated admin notification management: added error handling and styling, modified notification add and lookup functionality, and refactored server-side API routes and error handling." 2024-09-14 23:58:47 +02:00
Víctor Losada Hernández
dbbfb0b628 suggestions added, linted 2024-09-13 23:29:36 +02:00
Víctor Losada Hernández
4f2c2916d6 remove cx 2024-09-13 23:03:40 +02:00
Víctor Losada Hernández
629b51a26c remove logs and unecessary state 2024-09-13 20:33:58 +02:00
Víctor Losada Hernández
d947ff45e2 correct style to be coherent and nice 2024-09-13 20:33:21 +02:00
Víctor Losada Hernández
a2d260c297 remove lookup by id funct and fix lost state functions 2024-09-13 20:29:35 +02:00
Víctor Losada Hernández
d352b76efe join styles and lint 2024-08-31 13:12:53 +02:00
Víctor Losada Hernández
e88272c684 "Refactor admin UI components: update class names, element types, and nesting in admin.jsx, notificationLookup.jsx, and notificationUtils.jsx" 2024-08-31 12:51:06 +02:00
Víctor Losada Hernández
10ce696333 basic styles 2024-08-31 12:50:53 +02:00
Víctor Losada Hernández
4488fe36db "Refactored notification lookup and management functionality in admin API and model, added new endpoints for getting all notifications and deleting a notification by dismiss key." 2024-08-31 12:17:12 +02:00
Víctor Losada Hernández
c79765396d add notif working 2024-08-31 00:04:44 +02:00
Víctor Losada Hernández
36549f3224 "Added 'required' attribute to several form input fields in NotificationAdd component." 2024-08-30 20:25:39 +02:00
Víctor Losada Hernández
e81a9dab1f add good stylings, and lint 2024-08-29 23:40:13 +02:00
Víctor Losada Hernández
65759e18bd clean inputs 2024-08-29 23:39:54 +02:00
Víctor Losada Hernández
0c6c0c9fd6 use actual inputs and textarea with good attributes 2024-08-29 00:23:22 +02:00
Víctor Losada Hernández
51d3d11bff "Refactor notification utils components to use React Hooks instead of createClass" 2024-08-29 00:01:02 +02:00
Víctor Losada Hernández
760c1a9e8c Merge branch 'master' of https://github.com/naturalcrit/homebrewery into experimentalNotificationDB 2024-08-28 22:28:24 +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
G.Ambatte
da0372e44c WIP commit 2023-01-23 15:18:50 +13:00
G.Ambatte
ccd5cacb0c Stub notification deletion function 2023-01-15 23:25:17 +13:00
G.Ambatte
5e2171ceb1 Remove debugging console.log calls 2023-01-15 22:21:06 +13:00
G.Ambatte
b00a962e77 Fix typo 2023-01-15 20:44:41 +13:00
G.Ambatte
04916d8931 Initial notificationAdd functionality 2023-01-15 13:54:19 +13:00
G.Ambatte
9e169aba91 Tweak LookUp title 2023-01-05 10:56:50 +13:00
G.Ambatte
f5c7761c61 Add styling to active tab 2023-01-05 10:52:24 +13:00
G.Ambatte
ec040cc2bb Add DisplayNames 2023-01-05 10:04:45 +13:00