Use shot-scraper images from datasette-screenshots repo, closes #1844

This commit is contained in:
Simon Willison 2022-10-14 12:56:48 -07:00
commit fdf9891c3f
9 changed files with 14 additions and 6 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.4 KiB

View file

@ -8,7 +8,7 @@ SQLite tables can contain binary data in ``BLOB`` columns.
Datasette includes special handling for these binary values. The Datasette interface detects binary values and provides a link to download their content, for example on https://latest.datasette.io/fixtures/binary_data Datasette includes special handling for these binary values. The Datasette interface detects binary values and provides a link to download their content, for example on https://latest.datasette.io/fixtures/binary_data
.. image:: binary_data.png .. image:: https://raw.githubusercontent.com/simonw/datasette-screenshots/0.62/binary-data.png
:width: 311px :width: 311px
:alt: Screenshot showing download links next to binary data in the table view :alt: Screenshot showing download links next to binary data in the table view

View file

@ -1452,7 +1452,8 @@ CSV export
Any Datasette table, view or custom SQL query can now be exported as CSV. Any Datasette table, view or custom SQL query can now be exported as CSV.
.. image:: advanced_export.png .. image:: https://github.com/simonw/datasette-screenshots/blob/0.62/advanced-export.png?raw=true
:alt: Advanced export form. You can get the data in different JSON shapes, and CSV options are download file, expand labels and stream all rows.
Check out the :ref:`CSV export documentation <csv_export>` for more details, or Check out the :ref:`CSV export documentation <csv_export>` for more details, or
try the feature out on try the feature out on

View file

@ -11,7 +11,8 @@ data as CSV" link.
You can also use the advanced export form for more control over the resulting You can also use the advanced export form for more control over the resulting
file, which looks like this and has the following options: file, which looks like this and has the following options:
.. image:: advanced_export.png .. image:: https://github.com/simonw/datasette-screenshots/blob/0.62/advanced-export.png?raw=true
:alt: Advanced export form. You can get the data in different JSON shapes, and CSV options are download file, expand labels and stream all rows.
* **download file** - instead of displaying CSV in your browser, this forces * **download file** - instead of displaying CSV in your browser, this forces
your browser to download the CSV to your downloads directory. your browser to download the CSV to your downloads directory.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 54 KiB

View file

@ -7,7 +7,10 @@ Datasette facets can be used to add a faceted browse interface to any database t
With facets, tables are displayed along with a summary showing the most common values in specified columns. With facets, tables are displayed along with a summary showing the most common values in specified columns.
These values can be selected to further filter the table. These values can be selected to further filter the table.
.. image:: facets.png Here's `an example <https://congress-legislators.datasettes.com/legislators/legislator_terms?_facet=type&_facet=party&_facet=state&_facet_size=10>`__:
.. image:: https://raw.githubusercontent.com/simonw/datasette-screenshots/0.62/non-retina/faceting-details.png
:alt: Screenshot showing facets against a table of congressional legislators. Suggested facets include state_rank and start and end dates, and the displayed facets are state, party and type. Each facet lists values along with a count of rows for each value.
Facets can be specified in two ways: using query string parameters, or in ``metadata.json`` configuration for the table. Facets can be specified in two ways: using query string parameters, or in ``metadata.json`` configuration for the table.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 38 KiB

View file

@ -3,9 +3,12 @@
Full-text search Full-text search
================ ================
SQLite includes `a powerful mechanism for enabling full-text search <https://www.sqlite.org/fts3.html>`_ against SQLite records. Datasette can detect if a table has had full-text search configured for it in the underlying database and display a search interface for filtering that table. SQLite includes `a powerful mechanism for enabling full-text search <https://www.sqlite.org/fts3.html>`_ against SQLite records. Datasette can detect if a table has had full-text search configured for it in the underlying database and display a search interface for filtering that table.
.. image:: full_text_search.png Here's `an example search <https://register-of-members-interests.datasettes.com/regmem/items?_search=hamper&_sort_desc=date>`__:
.. image:: https://raw.githubusercontent.com/simonw/datasette-screenshots/0.62/non-retina/regmem-search.png
:alt: Screenshot showing a search for hampers against a table full of items - 453 results are returned.
Datasette automatically detects which tables have been configured for full-text search. Datasette automatically detects which tables have been configured for full-text search.