npm @sanity/desk-tool 0.140.10
v0.140.10

latest releases: 2.36.2, 2.36.2-weighted-search.16, 2.36.2-weighted-search.10...
5 years ago

Upgrade the Command Line Interface (CLI) with

npm install --global @sanity/cli

Upgrade the Content Studio with:

sanity upgrade

✨ Highlights

hasAlpha, isOpaque fields for images

Newly uploaded image assets now have two additional metadata fields:

  • hasAlpha (bool) - Whether or not the image has an alpha channel (regardless of it being in use)
  • isOpaque (bool) - Whether or not the image is opaque (does not contain any transparent pixels)

Note that these fields are only present on newly uploaded image assets.

Keep-Alive in Sanity client

The @sanity/client module now uses keep-alive ♻️ connections against the Sanity API. This improves performance when doing more than one request against the API within a short window of time by reusing network connections.

Filename field on code input

The @sanity/code-input plugin now has an option to enable a filename field. Set options.withFilename to true in order to enable this field. Thanks to Raymond Julin for this improvement!

🐛 Notable bugfixes

  • Fixes a bug with Studio search that split words including numbers into separate terms
  • Fixes a bug where deploying a GraphQL API would fail in certain conditions

📓 Full changelog

Author Message Commit
Bjørge Næss [base] Split string on space and comma instead of using lodash.words for tokenization (#1222) 2664ef3
Espen Hovlandsdal [base] Add hasAlpha, isOpaque fields to image metadata fields (#1232) 9e8da6a
Bjørge Næss [chore] Upgrade to latest lerna and tweak publish scripts 5bc5448
Raymond Julin [code-input] Add a filename field to code input blocks (#1234) 37f488f
Espen Hovlandsdal [client] Introduce keepAlive in client (#1235) 63c5625
Bjørge Næss [form-builder] Remove import for overriding code-input part (#1238) e31ccf1
Thomas Drevon [dashboard] Implement skeleton for dashboard tool 84ed06f
Thomas Drevon [test-studio] Wire up dashboard tool in test-studio d6455c9
Thomas Drevon [dashboard] Update dashboard readme 0bcd7da
Thomas Drevon [test-studio] Add some plugins to make the dashboard tool show something fe1a7a2
Thomas Drevon [dashboard] Dashboard, first pass which works 66f10d2
Thomas Drevon [dashboard] Add a stack-overview placeholder widget 59adffc
Thomas Drevon [test-studio] Update format of dashboardConfig f7fa471
Thomas Drevon [dashboard] Change format of dashboardConfig and update code to handle the change 8ff6c39
Kristoffer Sivertsen [dashboard] Setup grid b3ffd85
Kristoffer Sivertsen [dashboard] CSS grid with simple config 89904ca
Thomas Drevon [dashboard] Add project-info dashboard widget f7ad007
Thomas Drevon [test-studio] Sample configuration of project-info widget aee1c66
Kristoffer Sivertsen [dashboard] Adding common styles 938ac93
Kristoffer Sivertsen [dashboard] Adding tutorial widget 9abe7e1
Kristoffer Sivertsen [dashboard] Styling widget wrapper 7109a5e
Kristoffer Sivertsen [dashboard] Document list mockup widget 2442c82
Kristoffer Sivertsen [dashboard] Styling stack overview 621605b
Kristoffer Sivertsen [dashboard] Styling project info 4ce7116
Kristoffer Sivertsen [dashboard] Dashboard configf example f93a1a5
Thomas Drevon [test-studio] Add project-users widget to test-studio dashboard config 39c89de
Thomas Drevon [dashboard] Make manage link open in new tab b64dfb1
Thomas Drevon [dashboard] Satisfy react key requirement 09e3c95
Thomas Drevon [dashboard] First pass at project-users widget 974505c
Thomas Drevon [dashboard] Minor formatting 26250ca
Thomas Drevon [dashboar] Minor fixes in several places d185f04
Thomas Drevon [dashboard] Fix some wonkieness while building urls d0c6d61
Thomas Drevon [dashboard] Added IntentLink on each doc in the document-list widget 6713227
Thomas Drevon [dashboard] Don't show drafts by default in document-list widget bba0ad8
Thomas Drevon [dashboard] Style profile images 5d5a326
Kristoffer Sivertsen [dashboard] Removing styles and using components 80c8ac0
Kristoffer Sivertsen [default-layout] Firefox does not respect relative height toolContainer 7879ccf
Kristoffer Sivertsen [dashboard] Adding button to document-list f9fb729
Thomas Drevon [dashboard] Fallback author rendering in tutorials widget a3179b5
Kristoffer Sivertsen [dashboard] Example of different document-list 2bcb00c
Thomas Drevon [dashboard] Fix preview db77fb9
Kristoffer Sivertsen [dashboard] Styling the document-list 2e116f4
Kristoffer Sivertsen [dashboard] Filter documentTypes from schema in document-list 13a3a06
Marius Lundgård [dashboard] Adjust grid layout 40c096e
Kristoffer Sivertsen [dashboard] Change content structure to feed 937871a
Kristoffer Sivertsen [dashboard] Update content structure for tutorials 5931073
Kristoffer Sivertsen [dashboard] Cleanup document-list a8e2bd0
Kristoffer Sivertsen [dashboard] Remove stack-overview 770afa1
Kristoffer Sivertsen [dashboard] Responsive styling cleanup 5fa1626
Kristoffer Sivertsen [dashboard-tool] Adding correct icon 71820da
Kristoffer Sivertsen [dashboard] Simplify and add hover on tutorials 8059128
Kristoffer Sivertsen [dashboard] Tidy up design and rename to styles.css .modules.css 14c4c81
Kristoffer Sivertsen [dashboard] Stretch instead of fill-avilable 8cf9468
Kristoffer Sivertsen [dashboard] Only show the IntentButton for one type 10162d0
Marius Lundgård [dashboard] Fix prop types and prettier format fae70fc
Marius Lundgård [test-studio] Make dashboard the first menu item 05a19e0
Marius Lundgård [dashboard] Add header element to widgets 54dd96c
Marius Lundgård [dashboard] Add hairline color 18f80e7
Marius Lundgård [dashboard] Add design updates (details) cb48479
Marius Lundgård [dashboard] Rename widgets directories 32e7380
Marius Lundgård [dashboard] Fix file names to conform to conventions, update design e76c4f2
Thomas Drevon [dashboard] Clean up package.json b2a0962
Thomas Drevon [dashboard] A dozen minor improvements based on code review 944027b
Thomas Drevon [dashboard] Make the feedItems fetch an observable 80bde7d
Thomas Drevon [dashboard] Allow missing posterUrl b59d217
Thomas Drevon [dashboard] Fix proptype expectation 2ab29b4
Thomas Drevon [dashboard] Extract hard coded sanity stuff to its own file bdbdf70
Thomas Drevon [dashboard] Extract DocumentList widget to its own repo 8dc442d
Thomas Drevon [test-studio] Wire up the external DocumentList widget 3d5d01a
Thomas Drevon [dashboard] In case of data load failure, give the user a way to attempt refetch 5798981
Marius Lundgård [dashboard] Add design tweaks 0cefa6b
Marius Lundgård [dashboard] Fix inconsistencies in ProjectUsers widget 61722db
Marius Lundgård [dashboard] Add an example of layout configuration to README 88148d6
Marius Lundgård [dashboard] Change default config 4ce2fbe
Marius Lundgård [dashboard] Add syntax highlighting to README e0a7489
Marius Lundgård [dashboard] Move default layout config to widgets d4e45d9
Marius Lundgård [test-studio] Add cats widget 61c41c7
Thomas Drevon [test-studio] Bump version of document-list widget 6fc14a5
Thomas Drevon [dashboard] Guard against a single users returning from members fetch cd142d4
Thomas Drevon [dashboard] Improved error display in project-info widget a4ba0fd
Thomas Drevon [dashboard] Fix additional categories render bug in project-info b7ff62e
Thomas Drevon [test-studio] More dashboard test config ad37d01
Thomas Drevon [dashboard] Fix graphQl url bug in the project-info widget 37969d6
Thomas Drevon [dashboard] First pass at some dashboard documentation 75c3453
Thomas Drevon [dashboard] Update readme c174fd6
Thomas Drevon [test-studio] Configure up non-existing widget in test-studio c2400b1
Thomas Drevon [dashboard] Improved handling of non-existing widget 356be08
Per-Kristian Nordnes [dashboard] Update README.md with styling tips 47c4d55
Espen Hovlandsdal [plugin-loader] Fix resolving paths with query strings bf01370

Don't miss a new desk-tool release

NewReleases is sending notifications on new releases.