58 Commits

Author SHA1 Message Date
a119c4292e
web: change submit text to match mapfix submit page 2025-04-01 15:07:25 -07:00
4cf7889db9
web: add submit page at /maps/[mapId]/fix 2025-04-01 15:07:25 -07:00
146d627534
web: mapfixes: rename all occurrences of submission with mapfix 2025-04-01 14:45:21 -07:00
97180ab263
web: clone submissions page for mapfixes 2025-04-01 14:44:42 -07:00
b0f1e42a06
web: fix SubmissionInfo type 2025-03-31 19:57:48 -07:00
0e29ca98dd
web: remove TargetAssetID 2025-03-31 16:27:42 -07:00
a7784bdaf5 web: fix api types 2025-03-28 18:26:59 -04:00
f0e18a5963
web: Validate button calls retry-validate endpoint 2025-03-28 15:07:07 -07:00
b02b3d205e Switch to using /api/session/validate for determining if the user is not logged in ()
My apologies for being stupid not knowing the NextJS framework fully, as I have little experience with it and its non intuitive SSR and CSR workflow

Code successfully built locally running `bun run build`

Reviewed-on: 
Co-authored-by: rhpidfyre <brandon@rhpidfyre.io>
Co-committed-by: rhpidfyre <brandon@rhpidfyre.io>
2025-03-27 21:47:03 +00:00
251a24efae
web: Revert auth redirect 2025-03-26 17:23:21 -07:00
a9afdf38cf
web: auth redirect fix 2025-03-26 16:27:32 -07:00
936a1f93aa web: use --turbopack for dev 2025-03-26 21:29:07 +00:00
d5d0e5ffc9 web: redirect if the user is not logged in based on session_id cookie's presence 2025-03-26 21:29:07 +00:00
3da4023466 web: throw error on failure status ()
Thanks to ai for knowing javascript

Co-authored-by: rhpidfyre <brandon@rhpidfyre.io>
Reviewed-on: 
Co-authored-by: Quaternions <krakow20@gmail.com>
Co-committed-by: Quaternions <krakow20@gmail.com>
2025-03-24 23:03:53 +00:00
b4be174d98 web: implement reset from softlock 2025-03-19 17:49:26 -07:00
b377405762 web: display validation error 2025-03-18 16:45:41 -07:00
49e767f027 web: note when submissions list is loaded but empty 2025-03-18 12:32:48 -07:00
59e5e529c6 Strip /api prefix 2025-03-17 20:25:02 -04:00
a82a78c938 middleware: oops, thats the wrong path 2025-03-16 20:38:49 -04:00
75e8d2b7b2 middleware 2025-03-16 16:33:16 -04:00
ic3w0lf
040488d85f small changes 2025-01-13 04:31:33 -07:00
c95d10a0d4 web: submit GameID 2024-12-27 18:50:36 -08:00
94abe3137b web: submit TargetAssetID 2024-12-27 18:50:24 -08:00
78db4eeba7 web: display model id 2024-12-27 18:31:49 -08:00
56ff5670dd web: fix status codes 2024-12-27 18:24:54 -08:00
d584ee2c03 web: submit page navigates to newly created submission 2024-12-27 18:14:02 -08:00
f629ac2998 web: submission page reload after action request completes 2024-12-27 18:00:26 -08:00
1b58bfd096 web: describe when each button should be visible 2024-12-26 18:28:26 -08:00
cd57ead995 web: remove maptest button 2024-12-26 18:18:59 -08:00
a7e9dbb94d web: fix up
When possible you should not use inline styling and instead use SCSS files for following convention and keeping consistency, Grid is also a deprecated React component in Material UI
You should also separate components that are client only to its own .tsx module rather than having it be mixed with components that aren't required for being client only
2024-12-19 02:30:45 -05:00
ic3w0lf
b0b16c91dc compilable:) 2024-12-18 22:55:12 -07:00
ic3w0lf
9bd3eb69f9 Huge mess 2024-12-18 22:12:15 -07:00
ffadaa44be web: review buttons are no longer hard-coded for submission id 1 2024-12-17 18:31:59 -05:00
ed68af80b0 docker: rename stuff for no reason 2024-12-15 01:41:13 -08:00
75d8cafc7b web: change buttons 2024-12-15 01:05:51 -08:00
d4303612ac web: material ui form inputs on the submission page, "Target" radio buttons 2024-12-14 03:25:04 -05:00
203ae67384 web: maybe /submit instead of /submission_new 2024-12-14 01:53:44 -05:00
e31dec6424 web: form page base concept 2024-12-14 01:49:36 -05:00
ae6e968135 web: remove Roblox.ts 2024-12-14 00:37:52 -05:00
dff37906c6 web: reorder status buttons 2024-12-13 21:22:23 -08:00
50911af656 web: fix proxy 2024-12-13 21:22:23 -08:00
1243203085 web: do not overwrite existing cookie 2024-12-13 21:22:23 -08:00
046d95c5b3 web: change hardcoded dev address 2024-12-13 21:05:33 -08:00
3c0028f308 web: working Container file 2024-12-12 14:24:07 -08:00
a2c6981d36 web: proxy the dev port 3000 to 8081 for api calls 2024-12-12 14:24:07 -08:00
d37cc9cdf2 CSS variables for coloring 2024-12-12 14:24:07 -08:00
7c2e8f00ad web: custom action per review button 2024-12-11 18:11:36 -08:00
aea340fe97 Submission buttons working? 2024-12-11 19:07:54 -05:00
c630b44ad3 Containerfile for web 2024-12-11 17:07:15 -05:00
bc5b84d447 buttons exist for making api requests 2024-12-11 03:30:55 -05:00