Commit graph

93 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
0297114faf
Remove unnecessary null coalesce 2026-04-13 15:14:48 +00:00
60eb6b9bbf
Use class heirarchy for different report types. 2026-04-10 23:57:47 +00:00
12aedaf543
Update the address when provided on a report 2026-04-10 20:30:22 +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
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
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
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
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
20614acb86
Add initial compliance intro page 2026-04-06 22:38:17 +00:00
9ef6aaa406
Remove direct calls to stadia API from geocoding 2026-04-06 16:59:19 +00:00
2d5dca3fb5
Add proxied autocomplete for Stadia
This allows me to make the format consistent and to cache the
intermediate results, which is useful for speed and testing
2026-04-05 21:57:30 +00:00
beb6d9d066
Better zoom to location on address selection 2026-04-03 23:11:39 +00:00
e56e83161b
Include address information on nuisance form upload 2026-04-03 23:04:04 +00:00
e08f614d11
Make the locator model a camera, not just a location
That means we can track zoom
2026-04-03 22:42:50 +00:00
10e368c403
Get initial nuisance and water resources working
This is a straight port of the form-encoded POST submission logic.

It is missing a bunch of data.
2026-04-03 22:04:22 +00:00
07e48aa071
Zoom when an address is provided or the map is clicked 2026-04-03 20:29:30 +00:00
c5c78a2b84
Add initial ImageUpload component 2026-04-03 20:15:02 +00:00
9104e2f7c3
Start map with default framing on nuisance page 2026-04-03 20:01:23 +00:00
27fd1faa9c
Get clean-building locator map 2026-04-03 19:45:12 +00:00
6203e3da75
Add nuisance style, fix header on non-home district pages 2026-04-03 19:07:20 +00:00
b6037d7525
Add address suggestion component 2026-04-03 19:02:20 +00:00
51fe851c5a
Add district-styled pages for all 3 main RMO pages 2026-04-03 18:50:23 +00:00
4b87c74f41
Make impersonation ending work, fix frontend events 2026-04-02 21:31:31 +00:00
522c5785a2
Create button for ending impersonation 2026-04-02 19:36:49 +00:00
76c395d613
Add display in sidebar for impersonation 2026-04-02 17:39:16 +00:00
51811132a4
Add avatar display to user selector 2026-04-02 15:39:52 +00:00
42d111aac9
Add separate session endpoint for additional non-user data
This is conceptually much cleaner that encumbering the user object.
2026-04-02 01:07:55 +00:00
c253e655b1
Add avatar placeholer when avatar is empty 2026-04-01 14:48:31 +00:00
0ecf9c1be1
Populate user selector 2026-03-31 23:34:03 +00:00
af136f324d
Break sudo page into components
Makes it easier to fix the overall layout, which I've done.
2026-03-31 17:34:37 +00:00
7b3c1f2b54
Add initial implementation of user selector on sudo 2026-03-31 15:10:32 +00:00
21b7b68f50
Get new frontend to type check clean
Epic undertaking.
2026-03-31 14:52:53 +00:00
6f9a511874
WIP of user avatar work
Switching from laptop
2026-03-29 17:09:01 -07:00
9a9371301c
Get review detail UI to show without crashing
It doesn't fully work yet though.
2026-03-28 12:35:12 -07:00
9921618c12
Get to where we can display something on pool review 2026-03-28 09:14:09 -07:00
da14410fc7
Update sidebar links to new format 2026-03-28 06:47:20 -07:00
4bbfbdb9e6
Pretty all the things I missed
My laptop didn't have lefthook running. Oops.
2026-03-27 14:06:50 -07:00
1ad3c5a5c8
On upload redirect to upload detail page 2026-03-27 11:33:21 -07:00
747544bb58
Get file upload working
Even though the UI doesn't do anything with it yet.
2026-03-27 08:39:38 -07:00
aee9bb9267
All a click in an unselected item to immediately select 2026-03-27 06:25:43 -07:00
3ff7ff05ab
Remove clear selection button 2026-03-25 21:54:06 -07:00