Commit graph

85 commits

Author SHA1 Message Date
b4e6bac566
Fix reference to number_ column 2026-04-23 13:53:22 +00:00
1ddba5ebb1
Fix qr code generator functions 2026-04-23 00:30:42 +00:00
10dc5c0bd7
Move qr-code generation to the API 2026-04-23 00:28:31 +00:00
23819961e6
Populate compliance address based on site location 2026-04-22 21:22:33 +00:00
a8819c907e
Add concern page to mailer compliance flow 2026-04-22 21:22:03 +00:00
b5923137a7
Set organization (district) for compliance reports from mailer 2026-04-22 19:54:06 +00:00
839abcbd28
Mave frontend data to base api root
Because many times we don't have a session
2026-04-21 23:53:42 +00:00
544ac78a3b
Add frontend configuration to session for env, sentry, version 2026-04-21 23:44:59 +00:00
0ce3420792
Save all lob events to the database
They're pretty raw, but this will help us to understand what we can
collect
2026-04-21 22:24:12 +00:00
4db1a6f678
Add support for data fields for letter.created 2026-04-21 22:11:53 +00:00
f24104dc94
Update lob hook to handle both address created and letter billed payloads
Seems we'll have a lot of optional values
2026-04-21 22:00:09 +00:00
810a13cee0
Add initial lob hook receiver 2026-04-21 21:55:37 +00:00
fe2041f22b
Add an evidence field to compliance reports
This allows us to show a page with information about what the district
is concerned about when asking the user to fill a report.
2026-04-21 21:35:40 +00:00
eb27af7d90
Add mailer API and initial mailer view 2026-04-21 19:19:59 +00:00
80031c1d1a
Make response to compliance report creation consistent 2026-04-21 15:01:01 +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
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
c938cb231e
Add org name and user name to dashboard 2026-04-17 17:51:02 +00:00
b6e1bffd79
Add support for satellite tiles, with caching 2026-04-17 17:47:38 +00:00
61351dabf1
Update UI when a compliance letter is sent 2026-04-17 15:20:17 +00:00
1f8e6b698f
Allow for a lot more sites, and for scrolling 2026-04-17 02:40:05 +00:00
f1890332ae
Get proper cached images from the tile server 2026-04-16 20:51:17 +00:00
a6f9396760
Add first draft of mailer integration
This adds a bunch of stuff, including setting the organization's Lob
sender address ID, inserting mailer/compliance_report relationships,
adding external id from Lob (or maybe some other provider) and
attempting to load up the pool feature for a site.
2026-04-16 19:49:18 +00:00
2ea47f03f4
Start wiring together request for a mailer to database 2026-04-16 10:15:28 +00:00
c4c22f6733
Start to populate site information in review task 2026-04-16 06:58:05 +00:00
e894ae28dc
Add initial site list resource 2026-04-16 02:45:48 +00:00
5451c297c2
Harmonize review page properties between front and back ends 2026-04-14 23:29:29 +00:00
4a440e3022
Add a resource for getting service requests 2026-04-14 19:59:32 +00:00
28ec1c3d67
Get latest syncs from the API 2026-04-14 19:21:51 +00:00
fe41df3e16
Make publicreport by ID base redirect to detailed information 2026-04-14 16:07:17 +00:00
7e2a22c58c
Mave report ByID to their own resources 2026-04-14 15:31:10 +00:00
9b1de15373
Fix public report ID for water reports 2026-04-14 15:28:41 +00:00
c84a2ef42b
Properly set public ID 2026-04-14 15:24:21 +00:00
5527731e83
Add can SMS question, fix error handling of client ID 2026-04-14 15:15:19 +00:00
84db38c985
Include client ID in nuisance and water reports 2026-04-14 14:50:28 +00:00
a23866619d
Start saving client ID on compliance reports 2026-04-14 14:38:22 +00:00
5448702a7d
Fully populate report after PUT
Otherwise we miss stuff like the number of images
2026-04-14 02:38:36 +00:00
cadf6afb5f
Use embedded address location rather than external location on geocode 2026-04-14 01:42:53 +00:00
3c62fe2ca1
Be consistent about using report.public_id over report.id 2026-04-14 01:26:23 +00:00
02139450c6
Always set reporter phone can SMS 2026-04-14 01:21:50 +00:00
9c557a0391
Make it possible to save SMS support status on phone record 2026-04-13 22:23:29 +00:00
083c4ddae9
Save access information to database 2026-04-13 20:42:03 +00:00
ba76c8b1db
Return full compliance report on PUT 2026-04-13 19:32:22 +00:00
9bca15ae7e
Use the right URI for compliance reports 2026-04-13 19:25:54 +00:00
dcab2e1f8f
Fix failing to find matching address with publicreport 2026-04-13 17:19:20 +00:00
8baa056fab
Return a compliance URI on creation 2026-04-13 16:59:34 +00:00
5db4c05544
Add proper compliance report type
Can't believe I missed this.
2026-04-13 16:42:29 +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
c8f74d3c26
Consistently use 'public' prefix for reports 2026-04-12 17:07:14 +00:00