-
-
Notifications
You must be signed in to change notification settings - Fork 690
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update screenshots in documentation to match latest designs #1844
Comments
I just spotted some other out-dated screenshots in the |
New screenshot of FTS, from https://register-of-members-interests.datasettes.com/regmem/items?_search=hamper&_sort_desc=date |
For this image: https://latest.datasette.io/fixtures/binary_data has an extra row these days: This deletes every row past the first two (first three including the header row):
|
I'm going to use this page for the facets screenshot: https://congress-legislators.datasettes.com/legislators/legislator_terms?_facet=type&_facet=party&_facet=state&_facet_size=10 Trying for this bit: Which incorporates |
This seems to get every table cell in that table for the first 3 rows and the columns up to
|
I'm going to link the documentation screenshots directly to the images in the https://github.com/simonw/datasette-screenshots repository - but I don't want those images to reflect So I'm going to start tagging releases of |
I'm going to tag |
New images are now live on these pages:
|
Here's the YAML I added to https://github.com/simonw/datasette-screenshots/blob/main/shots.yml for this issue: - url: https://register-of-members-interests.datasettes.com/regmem/items?_search=hamper&_sort_desc=date
height: 585
width: 960
output: regmem-search.png
- url: https://register-of-members-interests.datasettes.com/regmem/items?_search=hamper
selector: "#export"
output: advanced-export.png
padding: 10
- url: https://congress-legislators.datasettes.com/legislators/legislator_terms?_facet=type&_facet=party&_facet=state&_facet_size=10
selectors_all:
- .suggested-facets a
- tr:not(tr:nth-child(n+4)) td:not(:nth-child(n+11))
padding: 10
output: faceting-details.png
- url: https://latest.datasette.io/fixtures/binary_data
selector: table
javascript: |-
Array.from(
document.querySelectorAll('tr:nth-child(n+3)'),
el => el.parentNode.removeChild(el)
);
padding: 10
output: binary-data.png |
Twitter thread about this issue: https://twitter.com/simonw/status/1581012617526595584 |
Extracted a TIL: https://til.simonwillison.net/shot-scraper/subset-of-table-columns |
Blogged about this here: https://simonwillison.net/2022/Oct/14/automating-screenshots/ |
https://docs.datasette.io/en/0.62/full_text_search.html has this out-of-date screenshot:
The text was updated successfully, but these errors were encountered: