datasette 1.0a47
Release: datasette 1.0a47
Several neat new features in today's Datasette alpha:
- Incoming many-to-one rows are now represented on the table page in the same way as many-to-many rows in Datasette 1.046.
- You can now re-arrange the order in which columns are shown on the table in a way that mixes the relationship columns with the regular table content. Previously the relationships always came at the end.
- On desktop, table columns can be dragged relative to each other, rather than having to use a separate ordering modal.
- This new column ordering is reflected in the URL, but is also be saved to
localStorageso that when you return to a table it remembers your preferences. - Related rows are displayed using a label. Datasette defaults to using a
nameorcolumntable, but this release introduces the ability to configure a template like{first_name} {last_name}which brings in label data from more than one column. - The label template can also now be set through the UI, allowing Datasette users to customize how different tables are presented as related rows.
Here's a short video showing how the new column sorting interface works:
Tags: datasette