Planned systems and known gaps
Things we still need to work on and why.
Planned systems and known gaps
This page keeps track of things we'd like to fix or support later. These aren't implemented yet.
Miscellaneous fixes
Running the local web app against staging
Context
Right now, you can run the web app with a local API and database, or use the deployed staging web app. The mobile app can also run on your computer or device while connecting directly to the staging API.
Sometimes we might want to work on the web frontend locally while using staging's API and test data. That would let us check frontend changes against the deployed backend without setting up a local database or deploying every frontend change first.
Problem
Our current setup doesn't support that combination just by changing the API URL in apps/web/.env.local.
The local web app and staging API are different sites. Browser sign-in depends on secure session cookies, trusted origins, and the deployed web auth proxy. Changing the API address alone doesn't configure those pieces, so it isn't a supported way to sign in to staging from the local frontend.
For now, use the full local stack for local web development, or open the deployed staging web app. See Accessing staging for the supported options.
Future work
Work out whether we want to support this as a development workflow. If we do, choose and review an approach for browser authentication, proxy routing, and allowed origins before adding configuration or setup commands.
The setup should make it clear that the local frontend is using shared staging data. It must keep backend secrets out of the browser and preserve staging's authentication protections, rather than disabling cookie checks or allowing arbitrary origins.
Before calling it supported, check sign-in, session restoration, authenticated API requests, and sign-out from the local frontend against staging. Then document the exact env files and commands needed.
Context features
Weather on posts
Context
Mobile can add a weather snapshot (condition, temperature, and place name) to a post, shown on post detail only. The phone fetches it from Open-Meteo and the API validates its shape and range. See Location and weather contexts.
Problem
- Open-Meteo's free tier is for non-commercial use and asks for attribution. A commercial launch needs a paid plan or a different provider.
Future work
Decide the weather provider before any commercial release, and record the decision in the product decisions.