Commit Graph

254 Commits

Author SHA1 Message Date
48e3eb49d2 Update README.md 2023-09-05 23:28:41 -05:00
8efb1e045d Merge pull request #4 from brandonegg/create-resource
Create/Delete Resource Admin Functions
2023-09-05 23:26:32 -05:00
23e9f91323 minor styling changes 2023-09-05 21:47:50 -05:00
2ef07fd37a add delete function 2023-09-05 20:38:05 -05:00
f66c35a225 add confirm button for dangerous admin actions 2023-09-05 20:28:03 -05:00
8b42377453 reduce redundant trpc error handling code to function 2023-09-05 20:03:38 -05:00
ee7268e724 make input strict 2023-09-05 19:48:02 -05:00
cad4b78f47 add input fields for age range 2023-09-05 19:45:32 -05:00
634f35657e improve readability of server error for user 2023-09-05 19:45:05 -05:00
35c301a686 Merge remote-tracking branch 'origin/main' into create-resource 2023-09-05 18:51:48 -05:00
2edc5d57b6 improve resource schema to reflect new icon structure 2023-09-04 00:35:57 -05:00
f7144e7cf4 switch to handle submit 2023-09-04 00:25:54 -05:00
cd1dc2a555 add create resource trpc function 2023-09-04 00:03:42 -05:00
c243fda8e1 fix link add button alignment 2023-08-30 22:22:32 -05:00
7fc0895177 fix issue where edit page resource query was refetching causing icon file to be reset 2023-08-30 22:13:41 -05:00
6e4efe2842 reuse form to create resource create page 2023-08-30 22:08:51 -05:00
2e2f99e0ec add admin bar with create button 2023-08-30 21:48:04 -05:00
33b30264d9 Merge pull request #3 from brandonegg/add-next-auth-middleware
add redirect to login when user on page which requires account
2023-08-30 21:37:13 -05:00
13a8b2dbe8 fix conflicts 2023-08-30 21:36:59 -05:00
5c907a9808 add redirect to login when user on page which requires account 2023-08-30 21:34:18 -05:00
ad4e35a04c add redirect to login when user on page which requires account 2023-08-30 21:33:11 -05:00
a35297728c fix bar chart not appearing on some pages 2023-08-29 10:54:32 -05:00
41a0562228 improve error handling 2023-08-29 10:51:10 -05:00
562ff8d2a6 update query wait to use error message if one is available 2023-08-29 10:48:11 -05:00
8895fc31b4 update to raise NOT_FOUND error when no resource found 2023-08-29 10:30:18 -05:00
f180fb8fd1 fix type safety 2023-08-29 10:10:45 -05:00
6518dc5aec fix issue with edit page resource query 2023-08-29 10:07:52 -05:00
b972b860ac add loading to resource page 2023-08-29 09:43:39 -05:00
1566be88f6 create reusable query render wrapper that handles loading and error states 2023-08-29 08:14:07 -05:00
9074f79dee replace remaining pages with new layout 2023-08-24 13:39:23 -05:00
2180d798d0 add generic layout for reuse 2023-08-24 13:30:09 -05:00
71a956d28a deprecate old route 2023-08-24 11:35:33 -05:00
064269ca3f remove need for resource to be passed down components in form, use form data instead 2023-08-24 11:31:02 -05:00
4a03135f2d replace file uploading to integrate with the new blob image data through trpc 2023-08-24 11:29:05 -05:00
6253668e8a add better error handling for photo upload 2023-08-24 10:36:18 -05:00
2be3d16365 fix error where setting photo: null caused type error 2023-08-24 10:22:12 -05:00
d7f5fae14a add error notice component to resource page 2023-08-24 10:13:05 -05:00
9163b13e92 add error notice component to resource page 2023-08-24 10:11:19 -05:00
b839278366 add loading animation to resource page 2023-08-24 09:52:38 -05:00
4c49950122 add loading animation svg 2023-08-24 09:33:36 -05:00
352686db37 fix file upload 2023-08-23 19:00:19 -05:00
e3d73ecc5c update render logic for resource photo 2023-08-23 18:34:24 -05:00
34a2bd7361 add superjson transform 2023-08-22 16:58:46 -05:00
2cdd3b2347 remove static rendering 2023-08-22 16:48:39 -05:00
de803671c0 Merge pull request #2 from brandonegg/enable-custom-icon-uploads
switch to img element for blobl image icons so they work on server si…
2023-08-22 18:38:39 -05:00
3a5bda8b2e Merge pull request #1 from brandonegg/enable-custom-icon-uploads
Enable custom icon uploads
2023-08-22 18:27:28 -05:00
bdd14822e3 switch to img element for blobl image icons so they work on server side rendered pages 2023-08-22 15:54:03 -05:00
e61f9e10ce fix lint errors 2023-08-22 14:18:48 -05:00
712e263bfa add buffer support extension 2023-08-22 14:15:46 -05:00
8c7682251c add comment to explain why issue is occuring 2023-08-22 13:35:11 -05:00