34a136eba5
Move user to compliance complete page for submitted reports
2026-05-07 16:17:00 +00:00
7f71ff9a2e
Send submit PUT on compliance report flow, create communication then
...
This makes it so that people don't see compliance reports as they're
being formulated in the communication workbench
2026-05-01 21:27:17 +00:00
4bd62b3567
Fix publicreport store name pollution
...
This was causing a request to be made to the wrong API endpoint by going
to /api/publicreport instead of /api/rm/publicreport which doesn't work
on RMO's hostname.
2026-05-01 02:37:54 +00:00
8757f1cda3
Fix loading on status page
...
It was infinite looping in the computed value for report
2026-05-01 01:52:11 +00:00
33ecfce313
Use RMO publicreport store in compliance and district report creation
2026-04-29 22:36:33 +00:00
9229725300
Consistently show loading state on compliance flow button
2026-04-29 22:27:08 +00:00
aefb5ec6bd
Fix tooltips on water report page
2026-04-29 15:37:38 +00:00
ab5dd13fcb
Make "Submit Anothe Report" go to root so they can choose the type
2026-04-29 15:21:54 +00:00
dba8b6c475
Consistently use the correct public URI for public reports
2026-04-28 07:12:12 +00:00
4ae0410930
Fix various inter-linkings of public report paths
2026-04-28 06:53:58 +00:00
8bdd18649d
Separate out a public and non-public halves to publicreport APIs
...
This prevents us from leaking text messaging details on public
endpoints.
2026-04-28 06:36:55 +00:00
8fcd926d43
Format report IDs with hyphens
2026-04-28 05:33:53 +00:00
68adab88bc
Re-add notifications registered page
2026-04-28 05:30:08 +00:00
a8819c907e
Add concern page to mailer compliance flow
2026-04-22 21:22:03 +00:00
b4527fba8b
Develop patterns for creating links outside router
2026-04-22 14:33:56 +00:00
bcc5151116
Don't compliance report on root Compliance page
...
We're now doing that through our two entrypoint pages.
2026-04-21 19:39:18 +00:00
bad50a8772
Clean up compliance report creators and share UI
2026-04-21 14:45:11 +00:00
bd3e42f83e
Use the same create logic for Mailer report creation
2026-04-21 14:41:06 +00:00
f927b0a911
Split out ComplianceDistrict view for creating new compliance reports
...
The idea here is that we'll make compliance reports two different ways,
The first is if the user navigates to /district/:slug/compliance, the
second if they open a QR code from a mailer. In both cases we create the
report then feed them into a flow for updating the data on that report.
2026-04-21 14:35:13 +00:00
8eae73eefb
Add initial compliance mailer page
...
It loads at this point. Woot.
2026-04-20 23:16:57 +00:00
ffd424df12
Save the organization with the compliance report on creation
...
This avoids the problem of having to assign the compliance report later
when we get location data and image data.
2026-04-20 16:21:08 +00:00
b849eec7ea
Restore status page for standing water report
2026-04-14 16:28:58 +00:00
4a28a16639
Show address location, not reporter location, in the status page
2026-04-14 15:46:52 +00:00
5527731e83
Add can SMS question, fix error handling of client ID
2026-04-14 15:15:19 +00:00
7545b2e4ef
Update the report after uploading images
2026-04-14 02:44:10 +00:00
2408bcbeff
Save public_id after creating report so we see it in the UI
2026-04-14 02:35:41 +00:00
e2b6bc6502
Use JSON POST for creating the compliance report
2026-04-14 02:33:39 +00:00
3c62fe2ca1
Be consistent about using report.public_id over report.id
2026-04-14 01:26:23 +00:00
a189348b36
Remove existing report URI when submission completes
2026-04-13 23:51:43 +00:00
9c557a0391
Make it possible to save SMS support status on phone record
2026-04-13 22:23:29 +00:00
96878f24de
Get contact information to save in compliance flow
2026-04-13 21:45:29 +00:00
083c4ddae9
Save access information to database
2026-04-13 20:42:03 +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
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
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
553b65556a
Begin work on saving compliance report
2026-04-10 00:56:51 +00:00
86ab67e70b
Bind access information to the compliance model
2026-04-09 22:42:47 +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
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
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