AIFeed

datasette 1.0a47

Summary

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 localStorage so that when you return to a table it remembers your preferences. Related rows are displayed using a label. Datasette defaults to using a name or column table, 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…

Original text(via Simon Willison)

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 localStorage so that when you return to a table it remembers your preferences.
  • Related rows are displayed using a label. Datasette defaults to using a name or column table, 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:

The text above was extracted automatically from the source page and may miss images, tables or code blocks. The original is authoritative.

Published by Simon Willison
This site only summarises and aggregates; copyright stays with the original author. Headlines and summaries follow the source — where they differ, the original wins.
Read the original ↗