f957dc6982
Migrate contact_email and contact_phone to allow dupes
...
The key item here is that comms.phone and comms.email are meant to
represent a real global namespace, but comms.contact is meant to
represent an organization-specific namespace. This means the mapping,
comms.contact_phone and comms.contact_email can't key off the global
namespace. Otherwise the contact namespace would implicitly be global.
2026-05-22 15:13:03 +00:00
cecb9ef0f0
Fix reactive nature of generic resource store
...
/ golint (push) Failing after 10s
These changes are meant to make it possible for new events that come in
to immediately render in the components that depend on them.
2026-05-21 23:12:37 +00:00
5e103f46a0
Fix populating water report from ID, make ContactSimple
...
ContactSimple is the replacement for ContactReporter, which was the
simplified form of a contact from a report. I made the name more generic
and use it in the general report structures for consistency.
2026-05-21 03:23:10 +00:00
b4ae9e5a95
Move communication workbench to use resource store
...
Because it's getting better all the time, including by adding the
ability to get new resources when they get created over SSE.
2026-05-20 23:49:59 +00:00
cfe166c0f2
Add view for showing contact details.
2026-05-18 23:37:59 +00:00
da229592f5
Handle selection within generic CardList
...
VueJS generics are kinda insane. And awesome.
2026-05-18 15:40:02 +00:00
83f76297b5
Add generic layout of listing cards
...
This should eventually by ported to other interfaces for consistency.
2026-05-18 15:21:01 +00:00
0256b9bb42
Fix references to public report reporter contact methods
2026-05-16 18:12:28 +00:00
725945d95c
WIP: creating contact resource
/ golint (push) Has been cancelled
2026-05-15 20:10:14 +00:00
8b203908a0
Add basic layout of the contact review
2026-05-15 17:19:06 +00:00
ffb981e40b
Add generic resource store, start adding context cards
...
These cards are meant to be generic and can show an unlimited amount of
related context about a communication.
2026-05-15 17:10:03 +00:00
17c6bf8d50
Add test lint action
2026-05-13 14:18:21 +00:00
ec98c8226e
Add log and related resources to API in frontend
2026-05-12 23:20:54 +00:00
fa012bebca
Add status and source filters to communications display
2026-05-12 00:19:19 +00:00
dc2fee3a9d
Fix selecting items in the communication list
2026-05-04 19:39:03 +00:00
3153e8bf13
Initial work marking communications
...
And a bunch of lint fixes
2026-05-04 19:07:29 +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
43edca7093
Add new response template
2026-04-30 13:58:31 +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
ff668c223b
Add update notification when version changes
2026-04-28 17:09:43 +00:00
52c41e29d8
Distinguish between status messages and resource messages in SSE
2026-04-28 17:06:21 +00:00
20bf272746
Clean up communication list display
2026-04-28 15:30:15 +00:00
060d0dd95f
Add compliance card detail information display
2026-04-28 15:22:20 +00:00
b68d93ec91
Load communication reports asynchronously
...
This solves some problems created by making the publicreport part of the
communication API consistent. There are a lot of optimizations still on
the table with this one, but for now I need to get this out.
2026-04-28 14:49:02 +00:00
878b43c0a6
Fix text log logo for outgoing
2026-04-28 07:45:51 +00:00
82b313f62f
Add text message log to report display
2026-04-28 05:15:01 +00:00
909665ab6c
Use new map system for communication pane, fix location markers
2026-04-27 20:53:46 +00:00
1dba58472b
Add support to communication list view for compliance entries
2026-04-27 20:06:44 +00:00
9c392e5791
Make public report card name consistent with other components
2026-04-27 19:53:22 +00:00
63ebe382b6
Properly convert communication API objects
...
Gets rid of a warning when showing relative time.
2026-04-27 19:50:47 +00:00
3867737fcc
Track camera changes during map load
...
This is necessary so that we can frame the map at any time in client
code, like with the user's location data, and still end up with the
correct location.
2026-04-27 19:44:25 +00:00
ffe427564b
Add email and phone display to communications workbench
2026-04-27 16:23:31 +00:00
8a05ba2faf
Initial reimplementation in VueJS of address or report suggestion
2026-04-25 00:17:35 +00:00
963254973b
Move map-utils into map/
...
Namespacing matters
2026-04-23 23:31:50 +00:00
516dd6f429
Don't show "send compliance mailer" if org isn't configured for Lob
2026-04-23 15:50:58 +00:00
1d266c88c1
Fix initial view of markers on map load
...
The issue here was that "fitBounds" doesn't work before the map is
loaded, we have to use the map constructor to set the location.
Therefore it makes no sense to even attempt these operations internally
before loading.
2026-04-22 22:43:16 +00:00
5caa9d8c7a
Populate address if we have enough data on compliance address form
2026-04-22 22:42:26 +00:00
78458760ec
Navigate to cell on aggregate map click
2026-04-22 15:46:02 +00:00
1286d0ea2a
Fix organization ID for aggregate map
2026-04-22 15:40:42 +00:00
8fd86d478c
Update mailer page to show actual data
2026-04-21 19:38:46 +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
55cb4ca962
Track the site with the URL
2026-04-17 22:04:24 +00:00
efd6f59fca
Populate ComplianceReportRequest on site review page
2026-04-17 21:40:04 +00:00
61351dabf1
Update UI when a compliance letter is sent
2026-04-17 15:20:17 +00:00
efa01cffc2
Move session management into session store
...
Trying to get rid of the redirect to signin on any page refresh
2026-04-17 14:52:02 +00:00
cb92b845e6
Show sites with leads more clearly
2026-04-17 03:10:08 +00:00
b85deb229f
Improve padding for multiple marker points
2026-04-17 03:07:16 +00:00
617631063f
Add quick'n'dirty interface for leads and features
2026-04-17 02:59:01 +00:00
1f8e6b698f
Allow for a lot more sites, and for scrolling
2026-04-17 02:40:05 +00:00
84da2bdc7d
Show full address on site page
2026-04-16 18:55:47 +00:00