290 Commits

Author SHA1 Message Date
Brandon Egger
7fc0895177 fix issue where edit page resource query was refetching causing icon file to be reset 2023-08-30 22:13:41 -05:00
Brandon Egger
6e4efe2842 reuse form to create resource create page 2023-08-30 22:08:51 -05:00
Brandon Egger
2e2f99e0ec add admin bar with create button 2023-08-30 21:48:04 -05:00
Brandon Egger
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
Brandon Egger
13a8b2dbe8 fix conflicts 2023-08-30 21:36:59 -05:00
Brandon Egger
5c907a9808 add redirect to login when user on page which requires account 2023-08-30 21:34:18 -05:00
Brandon Egger
ad4e35a04c add redirect to login when user on page which requires account 2023-08-30 21:33:11 -05:00
Brandon Egger
a35297728c fix bar chart not appearing on some pages 2023-08-29 10:54:32 -05:00
Brandon Egger
41a0562228 improve error handling 2023-08-29 10:51:10 -05:00
Brandon Egger
562ff8d2a6 update query wait to use error message if one is available 2023-08-29 10:48:11 -05:00
Brandon Egger
8895fc31b4 update to raise NOT_FOUND error when no resource found 2023-08-29 10:30:18 -05:00
Brandon Egger
f180fb8fd1 fix type safety 2023-08-29 10:10:45 -05:00
Brandon Egger
6518dc5aec fix issue with edit page resource query 2023-08-29 10:07:52 -05:00
Brandon Egger
b972b860ac add loading to resource page 2023-08-29 09:43:39 -05:00
Brandon Egger
1566be88f6 create reusable query render wrapper that handles loading and error states 2023-08-29 08:14:07 -05:00
Brandon Egger
9074f79dee replace remaining pages with new layout 2023-08-24 13:39:23 -05:00
Brandon Egger
2180d798d0 add generic layout for reuse 2023-08-24 13:30:09 -05:00
Brandon Egger
71a956d28a deprecate old route 2023-08-24 11:35:33 -05:00
Brandon Egger
064269ca3f remove need for resource to be passed down components in form, use form data instead 2023-08-24 11:31:02 -05:00
Brandon Egger
4a03135f2d replace file uploading to integrate with the new blob image data through trpc 2023-08-24 11:29:05 -05:00
Brandon Egger
6253668e8a add better error handling for photo upload 2023-08-24 10:36:18 -05:00
Brandon Egger
2be3d16365 fix error where setting photo: null caused type error 2023-08-24 10:22:12 -05:00
Brandon Egger
d7f5fae14a add error notice component to resource page 2023-08-24 10:13:05 -05:00
Brandon Egger
9163b13e92 add error notice component to resource page 2023-08-24 10:11:19 -05:00
Brandon Egger
b839278366 add loading animation to resource page 2023-08-24 09:52:38 -05:00
Brandon Egger
4c49950122 add loading animation svg 2023-08-24 09:33:36 -05:00
Brandon Egger
352686db37 fix file upload 2023-08-23 19:00:19 -05:00
Brandon Egger
e3d73ecc5c update render logic for resource photo 2023-08-23 18:34:24 -05:00
Brandon Egger
34a2bd7361 add superjson transform 2023-08-22 16:58:46 -05:00
Brandon Egger
2cdd3b2347 remove static rendering 2023-08-22 16:48:39 -05:00
Brandon Egger
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
Brandon Egger
3a5bda8b2e
Merge pull request #1 from brandonegg/enable-custom-icon-uploads
Enable custom icon uploads
2023-08-22 18:27:28 -05:00
Brandon Egger
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
Brandon Egger
e61f9e10ce fix lint errors 2023-08-22 14:18:48 -05:00
Brandon Egger
712e263bfa add buffer support extension 2023-08-22 14:15:46 -05:00
Brandon Egger
8c7682251c add comment to explain why issue is occuring 2023-08-22 13:35:11 -05:00
Brandon Egger
0e311b0aa2 add resource table separate icon component 2023-08-22 13:02:12 -05:00
4dbc46c1c0 fix file upload 2023-08-22 12:55:01 -05:00
2c3d53f317 add route authentication to file upload 2023-08-21 09:54:08 -05:00
7322b0dde7 add formidable dependency 2023-08-15 22:59:56 -05:00
Brandon Egger
240efdfda1
Update README.md 2023-08-14 19:25:50 -05:00
Brandon Egger
35bdebb449 integrate file upload into save routine 2023-06-25 20:56:02 -05:00
Brandon Egger
5dfb5e5a9a add icon image selected preview 2023-06-25 20:42:59 -05:00
Brandon Egger
700f5582dc remove unused dependency axios 2023-06-25 20:06:18 -05:00
Brandon Egger
8f4ff71425 add basic implementation of file upload 2023-06-25 20:05:46 -05:00
Brandon Egger
89a21707ec add basic proof of concept for file uploads 2023-06-13 00:21:00 -05:00
Brandon Egger
d55f54ae86 make modal update after submission with default values 2023-06-10 18:47:37 -05:00
Brandon Egger
ac8250c1c4 sync UI with platform link changes 2023-06-10 18:43:50 -05:00
Brandon Egger
5644c7108f add custom generic input and dropdown selector components for the add link modal 2023-06-10 17:55:12 -05:00
Brandon Egger
1597cbe837 add setAppElement to fix accessibility issues with screen readers for react-modal 2023-06-07 00:58:40 -05:00