d0f37c18cc
Make inspections failure for cells have unique error message
2026-01-07 14:24:56 +00:00
05b3caaa73
Add ongoing sync indicator to dashboard
...
This means I can remove the "loading" state of the dashboard.
2026-01-06 15:32:26 +00:00
b542b8268e
Add precalc h3 cells to fieldseeker tables
...
This makes it so we don't have to try to parse the geometry JSON and
instead can just pass pre-calculated h3 values, which take fewer bytes,
everywhere.
2026-01-05 23:25:16 +00:00
2e74f95e8c
Fix MustGet calls from when Globalid was not required.
2026-01-05 20:35:09 +00:00
c6b048d0cb
Actually show an error when we fail to get the user
...
Caught while reading code.
2026-01-05 20:34:49 +00:00
7779feac4b
Add dashboard for time between getting oath and creating org
...
I hit this on my new dev setup and we want to show something nice to our
users.
2026-01-05 20:34:13 +00:00
1395e3d3ac
Remove old FieldSeeker tables, use v2 generated tables.
...
This requires a bunch of changes since the types on these tables are
much closer to the underlying types of the Fieldseeker data we are
getting back from the API.
I now need to use proper UUID types everywhere, which means I had to
modify the bob gen config to consistently use google UUID, my UUID
library of choice.
I also had to add the organization_id to all the fieldseeker tables
since we rely on them existing for some of our compound queries.
There were some changes to the API type signatures to get things to
build. I may yet regret those.
2025-12-24 17:58:08 -07:00
5f86274b16
Add mocks for the various setting pages.
2025-12-12 21:52:55 +00:00
3a8d6395d7
Use common logic in mocks, add dispatch mock
2025-12-11 00:30:24 +00:00
62dbfb3ebc
Add mocks for data entry
2025-12-10 17:06:27 +00:00
41587c3694
Move database logic into separate subdirectory
...
I'm trying to see if this speeds up builds a bit. May not without a
module boundary, but for now it's nice organization to have as the
program grows.
2025-11-24 18:08:31 +00:00
009dc29e5d
Calculate treatment cadence by year
2025-11-21 17:26:49 +00:00
b7318ae973
Only get the latest 10 trap collections
...
Otherwise the page gets really swamped
2025-11-21 16:28:03 +00:00
d3b9d34bd2
Add basic average cadence calculation to treatments
2025-11-21 05:46:31 +00:00
e7ece52c8c
Add trap count data to source page
...
It's...way too many rows, now that I have the actual data. It needs to
be reworked.
2025-11-20 20:59:28 +00:00
9e3d12ae2a
Add treatment and inspection history to a source
2025-11-20 15:24:54 +00:00
f599d831c8
Add breeding source detail page
...
A bunch of it is currently placeholders, but I got the map marker
working so I'm saving it.
2025-11-20 14:56:34 +00:00
6dca03fd0a
Order rows in the data tables
2025-11-19 22:36:19 +00:00
aab9bd0c44
Add inspections to cell page
2025-11-19 22:30:01 +00:00
7b13b4b1ad
Add treatments information to cell debug page
2025-11-19 16:32:56 +00:00
782b13c6a0
Add basic query for breeding sources
...
Still a lot of placeholders.
2025-11-19 15:59:51 +00:00
c0b527c9a3
Add cell debug page.
...
This makes it much easier to troubleshoot information related to a cell
by showing detailed data about a single cell. At this point much is a
placeholder, but we at least get the cell boundary coordinates and a
map.
This also starts to make some code common around doing things like
mapping.
2025-11-19 15:21:06 +00:00
a14249710d
Add geometry info to h3 aggregation table
...
This makes it possible to use Tegola to show vector tiles.
2025-11-15 21:33:01 +00:00
7919f0da66
Wrap errors. Don't emit crash message on no oauth tokens.
2025-11-13 20:53:20 +00:00
134dcd7444
Push an H3 cell to javascript and render it
...
A proof-of-concept.
2025-11-13 20:01:15 +00:00
a6fe8f9027
Add basic MapBox integration.
...
It's just a demo at this point.
2025-11-13 17:48:38 +00:00
fc40309dd0
Make it possible to resolve notifications
2025-11-13 16:48:23 +00:00
20186f65bf
Create settings page placeholder, add auth pattern
...
This adds a pattern for creating pages that require authentication. The
settings page is currently empty, but it's helpful to figure out how to
do this pattern.
2025-11-13 16:48:23 +00:00
942fc42d5f
Show dashboard numbers with commas for readability
2025-11-13 15:05:05 +00:00
e6a90631ff
Fix search for latest sync data
...
We were pulling the oldest sync data
2025-11-13 14:57:14 +00:00
567c1b5064
Remove 'timeSince' debug logging
2025-11-12 21:28:07 +00:00
bf3dedf7cd
Pull notifications from the database
...
Previously we were storing them, just not showing them.
2025-11-11 22:53:48 +00:00
1a2e9f8a18
Don't crash on no latest sync
...
This makes the template function timeSince a little more forgiving of
situations where we don't have a latest time for sync because it's never
happened.
2025-11-11 20:10:56 +00:00
a2e67e3d60
Add oauth token failure model and notification
...
This will allow me to mark when an oauth token fails and surface it to
the user so that they can re-up on their auth token.
2025-11-11 20:10:56 +00:00
0a74bd8345
Embed html templates for deployment
2025-11-11 17:47:27 +00:00
96c25b256b
Add simple notifications system to header
...
This just allows me to indicate that I need to tell the user something.
2025-11-10 22:48:57 +00:00
89c4072a35
Add phone call page
...
Just mocks, and probably not great ones at that.
2025-11-10 22:43:31 +00:00
ae46b03e4b
Convert existing pages over to report template errors
2025-11-10 22:23:46 +00:00
b4830f7684
Add system for showing template render errors
...
Makes troubleshooting bad templates much easier. Need to convert
everything over.
2025-11-10 22:16:23 +00:00
7b48f6eddf
Add quick report page
2025-11-10 15:27:22 +00:00
31ca1a2f45
Add mocks for service request, sync information to dashboard
...
Should have been split, but I had commit challenges
2025-11-08 00:04:44 +00:00
eb52b36f45
Show recent activity from the actual account.
2025-11-07 11:03:06 +00:00
ed1b878b8d
Do update work in a pool for speed, and show some actual data.
2025-11-07 10:48:12 +00:00
72cbe2de5e
Check if we have oauth information, only prompt if its missing
...
Also include a rough dashboard of information that we'll pull from
Fieldseeker
2025-11-06 22:58:18 +00:00
fa89e0719f
Format all source files.
2025-11-06 22:31:51 +00:00
8cd11b350d
Add update location page.
2025-11-05 23:41:21 +00:00
44e39fa44a
Add update URL to the detail page.
2025-11-05 22:11:51 +00:00
711302f25d
Add a report confirmation page
2025-11-05 22:03:33 +00:00
a2a0fdb90a
Add a fake schedule page
2025-11-05 21:57:59 +00:00
056b871c38
Add pages for reviewing evidence and contributing evidence.
2025-11-05 21:51:23 +00:00