Commit graph

13 commits

Author SHA1 Message Date
Alex Garcia
866b2d34e1 Add <datasette-sql-editor> form-associated custom element
Light-DOM element built on createSqlEditor(): form participation via
ElementInternals (name= field, reset support), schema fetched from
{base-url}/{database}/-/editor-schema.json or schema-url= without ever
blocking editing, cancelable submit event on Mod/Shift-Enter driving
form.requestSubmit(), readOnly/value/schema/view properties, format()
via the sql-formatter global, theming through CSS custom properties
with appearance-preserving fallbacks. Auto-registers the tag on import
(guarded). Manual-QA page at demos/sql-editor-element.html.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-10 11:15:45 -07:00
Simon Willison
5ea7098e4d Fixed an unnecessary f-string 2024-02-04 10:15:21 -08:00
Cameron Yick
452a587e23
JavaScript Plugin API, providing custom panels and column menu items
Thanks, Cameron Yick.

https://github.com/simonw/datasette/pull/2052

Co-authored-by: Simon Willison <swillison@gmail.com>
2023-10-12 17:00:27 -07:00
Simon Willison
9676b2deb0 Upgrade Docker images to Python 3.11, closes #1853 2022-10-25 12:04:53 -07:00
Simon Willison
080d4b3e06 Switch to python:3.10.6-slim-bullseye for datasette publish - refs #1768 2022-08-14 08:49:14 -07:00
Simon Willison
10659c3f1f datasette-debug-asgi plugin to help investigate #1590 2022-01-13 16:38:53 -08:00
Simon Willison
ed77eda6d8 Add datasette-redirect-to-https plugin
Also configured suprvisord children to log to stdout, so that I
can see them with flyctly logs -a datasette-apache-proxy-demo

Refs #1524
2021-11-20 15:30:25 -08:00
Simon Willison
f11a13d73f Extract out Apache config to separate file, refs #1524 2021-11-20 12:23:40 -08:00
Simon Willison
48951e4304 Switch to hosting demo on Fly, closes #1522 2021-11-20 10:51:51 -08:00
Simon Willison
494f11d5cc Switch from Alpine to Debian, refs #1522 2021-11-20 10:51:14 -08:00
Simon Willison
24b5006ad7 ProxyPreserveHost On for apache-proxy demo, refs #1522 2021-11-19 17:11:13 -08:00
Simon Willison
a1ba6cd6bb Use build arguments, refs #1522 2021-11-19 16:34:35 -08:00
Simon Willison
c76bbd4066 New live demo with Apache proxying, refs #1522 2021-11-19 14:50:06 -08:00