Commit graph

486 commits

Author SHA1 Message Date
2066840a40
Add district-specific nuisance reporting page. 2026-02-01 03:14:36 +00:00
93079c5c8e
Make urls with district slugs 2026-02-01 03:07:46 +00:00
c435feeebc
Show district branding on root with correct slug 2026-02-01 02:57:58 +00:00
c5f6db0b73
Lookup district and show on report submission complete 2026-02-01 02:37:35 +00:00
d28e3e2ccc
Re-add missing Geom4326 column
I removed it on accident when I destroyed the entire database and forgot
it has to be created by hand.
2026-01-31 22:28:17 +00:00
4809ec101d
Include GPS accuracy from the browser 2026-01-31 22:25:11 +00:00
a93b921103
Only parse lat/lng if present 2026-01-31 22:24:54 +00:00
527f6a5628
Store images with nuisance reports 2026-01-31 22:14:46 +00:00
a369758eda
Improve banner on mobile devices 2026-01-31 21:47:46 +00:00
f20067b323
Actually update reports when a subscriber subscribes 2026-01-31 21:07:03 +00:00
1d7484ef4d
Confirm when a user confirms a phone number 2026-01-31 20:16:12 +00:00
a9b0a55f20
Create report platform layer
Rework phone subscription at the database layer so that we have a
seprate phone status and subscriptions to district communications.
2026-01-31 20:08:08 +00:00
cbcd998803
Migrate latest mocks for report submission 2026-01-31 16:44:41 +00:00
f9fb04bd60
Populate address input with user's location data by default 2026-01-31 16:31:21 +00:00
a86149b8d7
Update form data whenever the address is set in any way 2026-01-31 16:29:13 +00:00
f00b32075a
Ensure address value gets sent in form submit 2026-01-31 16:24:41 +00:00
caf76abe3b
Center RMO logo for wide screens 2026-01-31 16:23:58 +00:00
bf8c4ca6da
Prune data layer on nuisance report
After this, we can successfully POST the report.
2026-01-31 16:14:19 +00:00
1fbe41b725
Clean out a bunch of unused nuisance report fields
Feedback had us simplify the form significantly
2026-01-31 15:39:14 +00:00
612f2fba77
Fix file upload in custom photo upload control
Hat tip to https://web.dev/articles/more-capable-form-controls for the
details.
2026-01-31 02:18:22 +00:00
64cd2f49dc
Fix creating a report with a new phone number 2026-01-30 23:09:21 +00:00
ba22ed2733
Make photo selector show preview thumbnails 2026-01-30 22:44:07 +00:00
dc77d56573
Wire up button click on photo input 2026-01-30 22:39:43 +00:00
74717ef48c
Make photo uploader a custom component 2026-01-30 22:35:18 +00:00
250a3cbf58
Wire up the zoom on the map 2026-01-30 22:13:22 +00:00
f0fcfe548e
Set highlight color for time of day cards 2026-01-30 22:07:32 +00:00
0700b1c446
Wire up nuisance submit form to endpoint 2026-01-30 22:07:20 +00:00
de3a1d23b6
Update address input based on marker drag 2026-01-30 22:00:43 +00:00
96e3441556
Fix up marker drag end event for detecting when the marker moves 2026-01-30 21:38:29 +00:00
27927c506e
Get map to update after geocoding 2026-01-30 21:28:07 +00:00
bab8af4572
Get basic bones of the nuisance page copied from the mock 2026-01-30 20:41:02 +00:00
48c49fc73e
Use colored svgs for pond and status on RMO 2026-01-30 20:17:29 +00:00
7fb02f4788
Update root RMO to use banner and new colored icon 2026-01-30 20:14:10 +00:00
40028744ba
Fix svg pipeline to not need an explicit list 2026-01-30 20:11:17 +00:00
38b1cdbbad
Auto transform SVGs into template portions
This means I don't have to modify the files correctly by hand
2026-01-30 19:32:01 +00:00
bb9dd1754f
Start setting up structure for generating URLs
This is to eventually avoid adding URLs through hard-coded strings to
our templates.
2026-01-30 19:32:01 +00:00
9b1d75d47f
Rename htmlpage to html
Because it's going to get more tools.
2026-01-30 19:32:01 +00:00
2bd848fa97
Rename rmo/endpoint.go to rmo/root.go
Because it contains the root page logic.
2026-01-30 18:01:39 +00:00
3bf40572e2
Rename rmo/page.go to rmo/template.go
Because it contains stuff for dealing with templates.
2026-01-30 18:00:56 +00:00
87893363e5
Remove redundant request logging 2026-01-30 16:34:58 +00:00
bc27a19534
Switch to dart-sass
Faster, and hopefully less error-prone
2026-01-30 16:32:13 +00:00
5970e9c5a4
Add anonymity checkbox 2026-01-30 16:22:35 +00:00
a41fdac13b
Add checkbox granting backyard access 2026-01-30 16:14:52 +00:00
78ee0483d3
Add "this is my property" checkbox 2026-01-30 16:10:17 +00:00
e7230eb3c2
Remove redundant contact information section
It's handled in the next page.
2026-01-30 15:56:46 +00:00
708b5925a7
Various fixes to standing water report
* remove optional label and section
 * change wording on additional fields button
 * make toggle button disappear after clicking
 * Add prompt about selecting location by map or address
2026-01-30 15:55:23 +00:00
62ec73c673
Add primary color to header bar 2026-01-30 15:48:47 +00:00
c820ec91c6
Add district name to periodic updates subscription 2026-01-30 15:45:56 +00:00
c42beaca66
Make district logo a link to their website 2026-01-30 15:40:28 +00:00
2baad02a0c
Make "submit another report" link work, remove "back home" button 2026-01-30 15:32:50 +00:00