On 2026-01-28 14:03, Michael Keller via subsurface wrote:
In terms of preventing bitrot, or rather catching it before it takes
hold, just having the flask app and website design in the same
repository isn't going to give us much - we'd also have to set up a
CICD task that builds and spins up a full website plus backend, and
then runs UI tests against it.
Is flask not one of those things where doing that is basically a
one-liner? It's not my normal dev space, but I thought all the new
cool-kid frameworks didn't require you to have a big boy webserver
running to be able to develop and test with them?
And I'm (ultimately) thinking of this in terms of something that I
could spin up on one of my home servers, to give me remote access to
the subsurface instance/data running there, not something that
strictly requires a full multi-user cloud instance backing it.
Maybe I'm off track, but that's what "also has a HTML UI" means to me
as the 3rd option after desktop and mobile apps.
So you could do things like plan a dive, then have everyone on the
team review
it and be able to tweak it, without everyone needing to manually enter
the same
data into their own devices or to crowd around a single device looking
over
someone's shoulder.
I'd guess that before we get to this point we'd probably want to add
support for displaying the extra information needed for technical
dives, like dive mode or actually used gases
Yes, that was very much a moonshot thought bubble with my very best
propeller hat on more than something we're actually one small step
from right now. :D
But that is exactly what I was thinking, once all the things on your
wishlist are true. If someone wants it enough to implement it, we
should be able to expose the full planner via that UI too.
It turned out that the Hard Parts of doing that for the mobile app
were actually surprisingly easy from where I was at the point that
I decided I should give it a shot. It only took a couple of hours
from where I was in the backend cleanup to use exactly the same
code and models that the desktop does for planning and the normal
mobile profile widget to display it.
And that the *actual* hard part, which sent me down a rabbit hole
that I've been in for a couple of days now and still haven't *quite*
popped back out of again yet - was Those Bloody Unicode Arrows!
So I've been sidetracked neck deep into the font and locale handling
swamp a bit before I was actually planning on that, but it should be
worth it once it's drained.
I can't see multiple users poring over the plan for a recreational
dive. 😛
Yeah, sci-fi hasn't really delivered on the kind of implants it would
need for computers to be involved in how (and at what point(s) in the
dive) we most often "plan" those. That tends to more of a knowing
glance, a nod, and wink, thing, unless they are more borderline
technical in some respect.
Ron
_______________________________________________
subsurface mailing list -- [email protected]
To unsubscribe send an email to [email protected]