PolicyEngine / policyengine-app

PolicyEngine's free web app for computing the impact of public policy.
GNU Affero General Public License v3.0
32 stars 86 forks source link

Replace the Streamlit on the API documentation page with an interactive code editor #1695

Open anth-volk opened 2 weeks ago

anth-volk commented 2 weeks ago

We already have a code editor component that allows for interactive editing, but we've disabled this feature. The API documentation page's Streamlit has been challenging to maintain, mostly because it must be re-enabled if not used for long enough, and we do impose rate limiting on the endpoint that the code editor points to. It should be simple to support interactive editing, perhaps with a couple additional lines that specify that the user may have to be patient for the result and that the box is, indeed, editable.