Commit graph

1631 commits

Author SHA1 Message Date
dc2fee3a9d
Fix selecting items in the communication list 2026-05-04 19:39:03 +00:00
387be40076
Return ID as a string from API
Because they are opaque, not something to math
2026-05-04 19:37:05 +00:00
3153e8bf13
Initial work marking communications
And a bunch of lint fixes
2026-05-04 19:07:29 +00:00
67c99436d1
Properly set submitted on PUT, return new status properties on comms 2026-05-02 00:41:31 +00:00
431435f8bd
Set the organization on inserted communications 2026-05-02 00:38:38 +00:00
57dc2023cd
Remove unused submit function 2026-05-02 00:38:12 +00:00
d6b664d84a
Return the communication we create
...or else it'll be empty.
2026-05-02 00:37:51 +00:00
52d4c47e43
Fix lint errors related to not checking errors 2026-05-02 00:37:28 +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
a82732a49c
Return communication database rows from communication API
This is a pretty big refactor of how communication works to start moving
us in the direction we want to go long-term. This adds the new
communication row and migrates existing reports to add rows for
communication.

There's also a bunch of automatic fixes from the new linter. I should
have added them separately, but whatever.
2026-05-01 21:00:23 +00:00
a6ce0b7e67
Add golangci-lint to lefthook workflow 2026-05-01 17:36:32 +00:00
bab3200b6c
Port all of the arcgis schema to using jet
Have not tested anything at this point, it just compiles.
2026-05-01 17:28:33 +00:00
89ed2003fa
Ignore custom jet schema binary 2026-05-01 15:13:50 +00:00
a82b2b8cb8
Add new communication table
It allows us to track when communication tasks are complete, and
information about how they were completed, separate from the entries
that created the tasks in the first place (reports, emails, texts)
2026-05-01 15:13:05 +00:00
6a47302192
Create custom jet template for both stadia and arcgis 2026-05-01 15:11:20 +00:00
0e0b2489e6
Get beginnings of custom column type working 2026-05-01 06:27:26 +00:00
9ef4dad27c
Initial custom jet generator
I'll need it for Postgis data types
2026-05-01 05:45:45 +00:00
e5a84e09a8
Initial working version of using jet for SQL building 2026-05-01 05:11:28 +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
503cde6063
Init sentry first, then mount the app
Gets rid of a warning from the Sentry SDK
2026-05-01 01:52:44 +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
ace2557a60
Fix navigation from RMO status page on report table 2026-05-01 01:43:57 +00:00
537d5c9133
Save address input if the user clicks the "back" button. 2026-04-30 16:46:28 +00:00
00d26a684a
Handle EXIF location data set to "NaN"
Probably Android's new privacy thing. Jerks.
2026-04-30 15:34:08 +00:00
1cfe51f894
Actually check the error state for saving an image 2026-04-30 14:27:45 +00:00
43edca7093
Add new response template 2026-04-30 13:58:31 +00:00
839ed138ca
Ignore vite deps 2026-04-30 03:48:53 +00:00
797067ee38
Refuse to send compliance letters to addresses without a postal code 2026-04-30 03:09:42 +00:00
e45e05f337
Copy vite build output to frontend in nix package
Then we can upload the symbols when we run
2026-04-30 03:09:06 +00:00
b8a9ecb253
Fix warning from vite about concern having multiple root entities 2026-04-30 00:07:37 +00:00
0c464a9963
Get working sentry for the UI
Previously it almost, but didn't quite work. Now it actually works, but
the stack traces are minified.
2026-04-29 23:59:34 +00:00
2f6cbe59eb
Add root API to RMO api
For getting sentry integration information
2026-04-29 23:58:49 +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
89eca2ddf9
One more attempt to handle report null-ness 2026-04-29 20:58:47 +00:00
a1b2d580a8
Return nil through on by id compliance 2026-04-29 20:37:36 +00:00
c6cb645453
Don't error out on missing report 2026-04-29 20:24:41 +00:00
7e79308868
Don't return an error when report doesn't exist 2026-04-29 20:18:36 +00:00
da75aeecf2
Allow multiple posts of address report
Since this is the first step of scanning the mailer.
2026-04-29 19:30:43 +00:00
af39a73e8f
Add address raw content to report
This populates the address in the compliance flow UI
2026-04-29 19:30:38 +00:00
53ce100859
Fix copy-paste error on mailer store 2026-04-29 19:17:20 +00:00
364b4ddc32
Remove click timeout on MapLocator
This was added to try to fix scrolling passed the map on phones.
Instead, it just confuses click-and-drag. Instead we rely on the
lock/unlock overlay for the map to make scrolling passed work.
2026-04-29 15:58:57 +00:00
06fda0554c
Fix link to report status 2026-04-29 15:55:27 +00:00
0375f666d6
Remove detailed identification guide link
It didn't go anywhere.
2026-04-29 15:54:31 +00:00
aefb5ec6bd
Fix tooltips on water report page 2026-04-29 15:37:38 +00:00
0a0e6f6301
Prevent nuisance and water form submission on enter 2026-04-29 15:31:04 +00:00
ab5dd13fcb
Make "Submit Anothe Report" go to root so they can choose the type 2026-04-29 15:21:54 +00:00
d67c54c6e7
Set authenticated after sigin completes without error 2026-04-29 15:04:44 +00:00
4bb37c5ab3
Reconnect SSE event stream after shutdown
Otherwise we'll never know we have updates
2026-04-29 15:02:18 +00:00
2fbceb11e3
Don't bail on district match early, check address
This is the other half of doing proper district match via raw address -
we have to use the address if available for looking up a district.
2026-04-29 15:01:35 +00:00