Commit graph

198 commits

Author SHA1 Message Date
92f4282674
Track map loading, frame markers when map is loaded
This prevents missing the marker framing because we are still loading
the map.
2026-04-13 16:59:59 +00:00
0f94292ab7
Fix zoom in when we load existing report data 2026-04-13 15:22:50 +00:00
b701771dfb
Remove district loading debug log 2026-04-13 15:17:57 +00:00
447ea18d95
Bit of type cleanup when debugging 2026-04-13 15:17:57 +00:00
756cc0d266
Add properties to update compliance permission access 2026-04-13 15:15:33 +00:00
0297114faf
Remove unnecessary null coalesce 2026-04-13 15:14:48 +00:00
9ba99d5ceb
Remove now-empty report address fields
We'll instead create address rows and reference those
2026-04-12 18:33:41 +00:00
ae10e4fee8
Initial pattern for populating different report types 2026-04-12 17:53:25 +00:00
875298fe88
Show a warning if they will replace the images on the report 2026-04-12 16:44:20 +00:00
ab47259534
Fix sending empty longitude when creating the initial report 2026-04-12 16:29:37 +00:00
60eb6b9bbf
Use class heirarchy for different report types. 2026-04-10 23:57:47 +00:00
4060e7ddcd
Upload images on compliance report 2026-04-10 22:34:14 +00:00
e04b86218d
Fix bad compliance report PUT
Avoid attempting to PUT the location when we don't have a report URI
2026-04-10 20:30:22 +00:00
12aedaf543
Update the address when provided on a report 2026-04-10 20:30:22 +00:00
bac55774f8
Switch address to contain an embedded location, start saving compliance 2026-04-10 16:59:29 +00:00
14c0d453e9
Add loading indicator when checking for previous report data 2026-04-10 15:38:31 +00:00
c48aebcb0b
Set initial camera based on location in compliance 2026-04-10 14:20:04 +00:00
97acdb0e2c
Prevent the lock button from floating over address suggestion 2026-04-10 13:47:00 +00:00
f969f262b8
All spaces at the end of address input
Othewise you can't type, it sucks.
2026-04-10 13:44:58 +00:00
553b65556a
Begin work on saving compliance report 2026-04-10 00:56:51 +00:00
3ad95e1365
Bind contact info to compliance model 2026-04-09 22:48:49 +00:00
86ab67e70b
Bind access information to the compliance model 2026-04-09 22:42:47 +00:00
3bde7a9cac
Save image data on the compliance model 2026-04-09 22:33:45 +00:00
a4a9662c94
Make submit page read from model values 2026-04-09 22:29:42 +00:00
79a56c2d20
Don't show default locator value 2026-04-09 22:29:26 +00:00
d3662b8240
Preserve the locator model
This makes it possible to move back-and-forth in the compliance process
and still retain data.
2026-04-09 22:22:27 +00:00
dbc5db9727
Link up data to final page. 2026-04-09 20:55:30 +00:00
5b5a63114c
Make the permission property an enum 2026-04-09 19:55:08 +00:00
a6912929a7
Establish basic pattern for compliance data flow
We can get location, images, and string data. It's the trifecta.
2026-04-09 17:35:00 +00:00
8d6976c770
Actually go to the next step when we get the location 2026-04-09 17:24:50 +00:00
9dccd21cee
RMO frontend checkpoint
* Create a nwe AddressAndMapLocator which abstracts out the behavior of
   selecting a location
 * Fix the overlay causing render errors on the MapLocator by getting
   rid of the overlay and just using a lock indicator
 * Fix MapLocator zooming in to the wrong place by not framing the
   markers
 * Remove Latlng from platform and just use Location with optional
   accuracy
 * Use nested types with form-encoded POST
 * Fix styles on water report page
2026-04-09 17:21:35 +00:00
cb9e5146bf
Fix display of report ID and status on the by-id page. 2026-04-09 13:48:48 +00:00
882636de8f
Add nuisance report detail to status by ID page 2026-04-09 01:15:13 +00:00
531f3282d9
Move bounds to API types 2026-04-09 01:02:25 +00:00
f88ca57d97
Migrate existing ts types from the API into the API module
This makes it possible to start hydrating the types into valid data
types like Dates which means I can get type safety guarantees when
displaying information.
2026-04-09 00:25:21 +00:00
b2c24a0438
Show nuisance report status 2026-04-08 23:37:00 +00:00
37ce3183ca
Add beginnings of status page 2026-04-08 22:54:20 +00:00
2c0bfb9904
Update nuisance submission to go to submitted page 2026-04-08 17:51:41 +00:00
1a7a2b13aa
Navigate to report complete when report is submitted 2026-04-08 14:59:30 +00:00
6c79b8a85e
Add address GID to public report
This is _way_ better than trying to re-transmit structured address data
to the backend via strings
2026-04-08 14:40:27 +00:00
765b8fbef7
Better overlay logic for clicking on map controls 2026-04-08 14:25:47 +00:00
8e536d1d2f
Add map overlay for phone interactions 2026-04-08 14:11:30 +00:00
68315a3fb2
Fix button icons on complete page 2026-04-07 16:26:34 +00:00
6fb5a7f971
Fix icons on RMO, add phone data to district 2026-04-07 16:25:14 +00:00
cc7ce44f47
Finish porting styles of compliance flow 2026-04-07 16:05:30 +00:00
53bfbbc5ef
comment-out useHead 2026-04-07 16:05:04 +00:00
6f677b5638
Add the full compliance mocks 2026-04-07 00:53:44 +00:00
4faa7fa8c0
Figure out router pattern for compliance steps 2026-04-07 00:04:40 +00:00
20614acb86
Add initial compliance intro page 2026-04-06 22:38:17 +00:00
c393f6fd81
Add cache for all stadia requests 2026-04-06 22:36:25 +00:00