simonw / datasette-write

Datasette plugin providing a UI for executing SQL writes against the database
https://datasette.io/plugins/datasette-write
10 stars 2 forks source link

Row action linking to update SQL #11

Closed simonw closed 2 months ago

simonw commented 8 months ago

Refs:

Still needed:

simonw commented 8 months ago

Demo so far:

row-action-prototype

simonw commented 2 months ago

I decided to pass ?_title=... as a signed parameter too - if that's present it shows that title and hides the SQL behind a <details> thing like this:

CleanShot 2024-09-03 at 14 25 54@2x

Additionally, the primary key columns used to look up the value to edit are now sent as ?id_hidden=... and are hidden on that page.