Clickable titles and show active mapfix #211

Merged
itzaname merged 4 commits from issues-162-170 into staging 2025-06-29 19:06:53 +00:00
Member

Closes #144

Closes #144
ic3w0lf22 added 7 commits 2025-06-28 08:17:27 +00:00
Added titles, some buttons, made submitter display usernames instead of userids, quick links
Some checks failed
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is failing
f84f95fcc2
Closes #162
Closes #170
Add missing files
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
879a80e4ff
Re-implement placeholder avatar
Some checks failed
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is failing
7f939810cf
Submitter stuff
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
26314ff837
Remember last tab in comments & audit events, active mapfix, map->mapfix & mapfix->map
All checks were successful
continuous-integration/drone/push Build is passing
2e98c5f5fb
Closes #144
Closes #205 (hopefully something we can all agree on!)
link
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
e4cdb01951
Author
Member

omg what have i done

omg what have i done
Author
Member

i think it worked now i can delete this branch once merged :D

i think it worked now i can delete this branch once merged :D
Owner

Rebase this branch onto staging and force-push to this branch
Pro tip: you can avoid this by creating a new branch based on staging for every pull request

Rebase this branch onto staging and force-push to this branch Pro tip: you can avoid this by creating a new branch based on staging for every pull request
ic3w0lf22 force-pushed issues-162-170 from e4cdb01951 to 18cf6774df 2025-06-28 08:53:20 +00:00 Compare
ic3w0lf22 added 1 commit 2025-06-28 08:55:46 +00:00
Undo persistent tab
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
7825c275f5
ic3w0lf22 added 3 commits 2025-06-28 09:21:38 +00:00
Closes #144
Closes #205 (hopefully something we can all agree on!)
Undo persistent tab
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
ff69c95cd8
Merge remote-tracking branch 'origin/issues-162-170' into issues-162-170
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
4e7226a363
ic3w0lf22 added 1 commit 2025-06-28 09:22:23 +00:00
Revert "Merge remote-tracking branch 'origin/issues-162-170' into issues-162-170"
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
f422c0465e
This reverts commit 4e7226a363, reversing
changes made to ff69c95cd8.
ic3w0lf22 force-pushed issues-162-170 from f422c0465e to ff69c95cd8 2025-06-28 09:25:32 +00:00 Compare
ic3w0lf22 added 1 commit 2025-06-28 09:38:21 +00:00
No link if no asset id... :smart:
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
d7f316eca3
itzaname requested changes 2025-06-28 15:52:46 +00:00
Dismissed
@@ -90,0 +95,4 @@
const targetAssetId = map.ID;
async function fetchMapfixes() {
try {
const res = await fetch(`/api/mapfixes?Page=1&Limit=10&TargetAssetID=${targetAssetId}`);
Owner

I don't think it's impossible for a map to ever have more than 10 fixes.

I don't think it's impossible for a map to ever have more than 10 fixes.
ic3w0lf22 marked this conversation as resolved
ic3w0lf22 added 1 commit 2025-06-28 19:56:27 +00:00
Query multiple mapfixes pages
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
a0c78999d5
Author
Member

Backend currently only accepts one StatusID (api/mapfixes?Page=1&Limit=10&TargetAssetID=78486780449372&StatusID=4), maybe this could be changed to allow multiple StatusIDs so the frontend wouldn't need to fetch multiple pages containing mapfixes that were already completed and having to filter them out.

If not, I'll keep the current code as is.

Backend currently only accepts one `StatusID` (`api/mapfixes?Page=1&Limit=10&TargetAssetID=78486780449372&StatusID=4`), maybe this could be changed to allow multiple StatusIDs so the frontend wouldn't need to fetch multiple pages containing mapfixes that were already completed and having to filter them out. If not, I'll keep the current code as is.
ic3w0lf22 changed title from Clickable titles, active mapfix, remember comment/audit event tab to WIP: Clickable titles, active mapfix, remember comment/audit event tab 2025-06-28 20:11:23 +00:00
Author
Member

As far as I can tell, this is ready to be merged unless the API change I suggested will be implemented.

As far as I can tell, this is ready to be merged unless the API change I suggested will be implemented.
ic3w0lf22 changed title from WIP: Clickable titles, active mapfix, remember comment/audit event tab to Clickable titles, active mapfix, remember comment/audit event tab 2025-06-28 22:19:57 +00:00
itzaname changed title from Clickable titles, active mapfix, remember comment/audit event tab to Clickable titles show active mapfix 2025-06-29 19:03:45 +00:00
itzaname changed title from Clickable titles show active mapfix to Clickable titles and show active mapfix 2025-06-29 19:03:55 +00:00
itzaname approved these changes 2025-06-29 19:06:29 +00:00
itzaname left a comment
Owner

LGTM. In the future please attach screenshots of UI changes so it's easier to review.

LGTM. In the future please attach screenshots of UI changes so it's easier to review.
itzaname merged commit 825b2aa91a into staging 2025-06-29 19:06:53 +00:00
itzaname deleted branch issues-162-170 2025-06-29 19:06:53 +00:00
Sign in to join this conversation.