Sanity Studio – Rapidly configure content workspaces powered by structured content
MIT License
Fixed a bug that made the edit button appear only on image fields when there were one or more fields defined on the image type, even when options: {hotspot: true}
was set.
Upgrade with:
sanity upgrade
Author | Message | Commit |
---|---|---|
Bjørge Næss | [form-builder] Always show edit button when hotspot tool is enabled (#498) | ca9013413 |
Published by skogsmaskin over 6 years ago
This release fixes a bug where the block editor would throw an error under some circumstances and refuse to open the document for editing.
Upgrade with:
sanity upgrade
Author | Message | Commit |
---|---|---|
Per-Kristian Nordnes | [block-tools] Remove key incorrectly set on inline text child | 21c2e282ec774890cd9c38e7d939d162c9bb485e |
This release fixes a bug that caused fieldsets to be non-collapsible and collapsed by default.
Upgrade with:
sanity upgrade
Author | Message | Commit |
---|---|---|
Bjørge Næss | [form-builder] Fix bug with fieldsets being non-collapsible and collapsed by default (#514) | 409f28f42 |
Published by bjoerge over 6 years ago
This release fixes a bug that sometimes caused an error when editing array items that used the block editor for editing the first field.
Upgrade with:
sanity upgrade
Author | Message | Commit |
---|---|---|
Bjørge Næss | [form-builder] Don't fail in if wrapped input is missing a .focus-method (#504) | 7fb6d8246 |
This release fixes a bug that was caused by an unintended breaking change in one of our third-party libraries.
Upgrade with:
sanity upgrade
Author | Message | Commit |
---|---|---|
Bjørge Næss | [uuid] Pin the 'uuid' package to v3.1.0 due to breakage in [email protected] | c5a313661 |
Published by rexxars over 6 years ago
This release adds a missing crop()
method in the @sanity/image-url
library.
Upgrade with:
sanity upgrade
Author | Message | Commit |
---|---|---|
Espen Hovlandsdal | [image-url] Add missing crop -transformation (#523) |
b32cc474e35b9425c2924a6226f8e33b0b4a0fde |
Published by rexxars almost 7 years ago
Upgrade with:
sanity upgrade
And install the latest Command Line Interface (CLI) with:
npm install --global @sanity/cli
Author | Message | Commit |
---|---|---|
Espen Hovlandsdal | [cli] Show prompt on whether or not to import data for a template | 3fa192c4 |
Espen Hovlandsdal | [cli] Add blog project template | cd047cdb |
Published by bjoerge almost 7 years ago
This release fixes a bug that broke sorting of array items in a grid view.
Upgrade with:
sanity upgrade
And install the latest Command Line Interface (CLI) with:
npm install --global @sanity/cli
Author | Message | Commit |
---|---|---|
Bjørge Næss | [form-builder] Use drag handle if array layout is not grid (#480) | ee06c9c72 |
Published by bjoerge almost 7 years ago
This release fixes a bug that caused preview of images in block text to not display.
Upgrade with:
sanity upgrade
And install the latest Command Line Interface (CLI) with:
npm install --global @sanity/cli
Author | Message | Commit |
---|---|---|
Kristoffer J. Sivertsen | [components] Adding support for new media in block preview (#477) | 1492ab15e |
Published by bjoerge almost 7 years ago
Upgrade with:
sanity upgrade
And install the latest Command Line Interface (CLI) with:
npm install --global @sanity/cli
Author | Message | Commit |
---|---|---|
Bjørge Næss | [form-builder] Remove onblur handler on ConfirmButton. Fixes #473 | df1e5dcbb |
Published by bjoerge almost 7 years ago
Upgrade with:
sanity upgrade
And install the latest Command Line Interface (CLI) with:
npm install --global @sanity/cli
A recurring annoyance in the content studio has been the ability to move focus between fields using the tab key, and also restore focus in list items after completed editing. We have rewritten the way we handle focus and made sure all input fields can be focused.
This should also improve the overall accessibility of the Content Studio. As a bonus, this change also unlocks the possibility to deep link to any input field in the content studio, which is something we plan to introduced in a near-future release.
You can now upload image data directly from the clipboard to an image field by pasting into the image field.
Pasting is still not implemented for block text, but works for image fields and image arrays.
Note: Today's browsers has very limited support for pasting files copied from the file system, so for now pasting images only works for image data, e.g. screenshots or if copy is done from an image editor.
The previews are now more easy to customize. All preview props [title, subtitle, description, media, status] now take string, react nodes and functions and render them properly. The media prop is now preferred over the earlier imageUrl prop, as you might want the thumbnail to be a custom component instead of just an image.
Hotspot UI now uses smaller images and debounced update patches to rid us of jank.
The loading screen is now dark and monochrome.
Author | Message | Commit |
---|---|---|
Bjørge Næss | [form-builder] Make inputs focusable and manage form builder focus (#393) | 8588a3974 |
Bjørge Næss | [components] Clean up tags textfield and make focusable (#369) | 64157d07f |
Bjørge Næss | [components] Cleanup fieldset - support isExpanded by default (#398) | dd80131f6 |
Espen Hovlandsdal | [components] Fix warnings caused by stray isSelected being passed to input | 590da1e73 |
Kristoffer J. Sivertsen | [infrastructure] More customizable preview (#414) | 8c3e15152 |
Kristoffer J. Sivertsen | [base] Loading screen and animated Content Studio Logo (with CSS) (#416) | 819aa1abe |
Kristoffer J. Sivertsen | [imagetool] Better UX on image tool (#426) | fc0cc625a |
Simen Svale Skogsrud | [mutator] Added a few more test cases for insert/replace patches | 9faee41ef |
Kristoffer J. Sivertsen | [components] Fix "input inside button"-issue, solves upload button not working in Firefox | 1ebb26943 |
Espen Hovlandsdal | [imagetool] Fix hotspot drag not working in Firefox | cd4cfd61c |
Kristoffer J. Sivertsen | [components] Design/tweaks (#439) | 2a2b147af |
Espen Hovlandsdal | [cli] Enable prepublish script | 9370cc14d |
Kristoffer J. Sivertsen | [base] Set spinner zIndex (#443) | 9e0459f43 |
Bjørge Næss | [deps] Upgrade @sanity/image-url (#444) | 9628a77f5 |
Per-Kristian Nordnes | [block-tools] Start block markDefs from empty array (#441) | 026b198c3 |
Bjørge Næss | [components] Fix ellipsis in array preview (#447) | 2d0ed4819 |
Bjørge Næss | [test-studio] Refine image test document types (#446) | 6611d8601 |
Kristoffer J. Sivertsen | [desk-tool] Force update of documents pane with key (#448) | 9e1951078 |
Per-Kristian Nordnes | [base/form-builder] Fix/blockquote css (#451) | c90674ec5 |
Bjørge Næss | [test-studio] Define a media preview to array of predefined colors | d32c54e48 |
Bjørge Næss | [form-builder] Remove scroll into view offset on FormBuilderInput (#453) | 0ba58da10 |
Bjørge Næss | [cli] Fix eslint error | 4618e7ad5 |
Bjørge Næss | [default-layout] Fix external intent links not working. Fixes #404 (#460) | 2e9888fbc |
Bjørge Næss | [base] Use span instead of div as wrapper element in PreviewSubscriber (#465) | 4120dde28 |
Bjørge Næss | [components] Fix: unable to close reference search popover (#463) | 4d95af1af |
Bjørge Næss | [components] Make DefaultTextArea focusable (#462) | 6fd1b6afe |
Bjørge Næss | [components] Reduce amount of duplicated code for button variants (#464) | c0bc12d8d |
Bjørge Næss | [form-builder] Refactor file and image fields (#401) | 3bdae0f57 |
Kristoffer J. Sivertsen | [design] Monochrome loading screen. Not bold (#466) | e963d9b9c |
Published by rexxars almost 7 years ago
Upgrade with:
sanity upgrade
And install the latest Command Line Interface (CLI) with:
npm install --global @sanity/cli
Author | Message | Commit |
---|---|---|
Per-Kristian Nordnes | [block-tools] Fix bug which expected node.children which is not always the case | 84f24392 |
Espen Hovlandsdal | [import] Use forked get-uri with redirect fix | bd146383 |
Espen Hovlandsdal | [form-builder] Fix crash when input/preview component could not be resolved | 993fc09f |
Espen Hovlandsdal | [core] Fix numeric datasets being treated as missing | 1e0969f4 |
Simen Svale Skogsrud | [image-url] Added support for the fit-parameter | 00f30d92 |
Espen Hovlandsdal | [image-url] Throw on invalid fit mode | 5860a65a |
Espen Hovlandsdal | [schema] Remove stray test code from array schema type | f2d8b5a2 |
Espen Hovlandsdal | [schema] Validate that type name is a string | b0736b2b |
Espen Hovlandsdal | [base] Asynchronously publish resolved user to bubble errors up | b8cb0757 |
Espen Hovlandsdal | [vision] Clone client on startup to prevent us from configuring the main studio client | bf5c98a4 |
Espen Hovlandsdal | [base] Solve swallowed error without defering to next tick | a73ef77d |
Published by rexxars almost 7 years ago
Upgrade with:
sanity upgrade
And install the latest Command Line Interface (CLI) with:
npm install --global @sanity/cli
Logging in through the Sanity CLI tool no longer requires you to open a browser from the same machine/terminal. This allows you to run Sanity on a remote server somewhere, but still log in through a local browser.
By running sanity init plugin
, you will get a list of plugin templates to start from. Included in this release is an example of how to build a chess board input, which highlights how to model a more complex data structure with arrays, and how to write fine-grained patches that will work in a real-time setting.
sanity docs
and sanity manage
sanity import
now assigns document IDs on the client side if they are missing, which solves problems with asset uploads and creating strong references on documents without an IDAuthor | Message | Commit |
---|---|---|
Espen Hovlandsdal | [cli] Add listener-based login flow | e9cddada |
Kristoffer J. Sivertsen | Make the dark theme plugin work (#360) | 556bff7d |
Espen Hovlandsdal | [cli] Restructure and clean up init command | b033986d |
Espen Hovlandsdal | [infrastructure] Package CLI on build | 9b201e44 |
Espen Hovlandsdal | [client] Make npm badge in readme use https | af5acf4e |
Espen Hovlandsdal | [cli] Add chess board input as plugin template | f65ee0d3 |
Espen Hovlandsdal | [cli] Don't wait for browser to close before resolving | 1079edc6 |
Espen Hovlandsdal | [cli] Whitelist fsevents module when packing | 20c4d343 |
Espen Hovlandsdal | [import] Generate document IDs on client side | dd796bd9 |
Per-Kristian Nordnes | [block-tools] Fix deserialization of blockquotes containing block elements (#410) | 3a7a56aa |
Published by rexxars almost 7 years ago
Upgrade with:
sanity upgrade
And install the latest Command Line Interface (CLI) with:
npm install --global @sanity/cli
Author | Message | Commit |
---|---|---|
Espen Hovlandsdal | [default-layout] Check for prevEvent before attempting to use it | 581f2c95 |
Published by rexxars almost 7 years ago
Upgrade with:
sanity upgrade
And install the latest Command Line Interface (CLI) with:
npm install --global @sanity/cli
Author | Message | Commit |
---|---|---|
Espen Hovlandsdal | [core] Lock uglify-js to version 3.1.10 | 8ab906f |
Published by rexxars almost 7 years ago
Upgrade with:
sanity upgrade
And install the latest Command Line Interface (CLI) with:
npm install --global @sanity/cli
Author | Message | Commit |
---|---|---|
Espen Hovlandsdal | [webpack-integration] Allow passing options to CSSNext/Lost | 6e4af6a |
Espen Hovlandsdal | [resolver] Fix sync functions being forced to async | 137bcbc |
Espen Hovlandsdal | [plugin-loader] Use postcss plugins, improved resolving | 494e6bf |
Espen Hovlandsdal | [form-builder] Set project ID for tests, allow local module resolution | 31c6ada |
Espen Hovlandsdal | [form-builder] Fix array index resolving bug | 93be532 |
Espen Hovlandsdal | [form-builder] Make out-of-sync warning full-width | 1725b47 |
Bjørge Næss | [form-builder] Fix false weak mismatch false positive (#390) | 99eb597 |
Per-Kristian Nordnes | [block-tools] Set keys on blocks and spans (#387) | 32b5d09 |
Bjørge Næss | [test-studio] Minor cleanup | 468c89c |
Bjørge Næss | [form-builder] Support skipping directly to block editor (#386) | db5aabe |
Bjørge Næss | [default-layout] Extract url state into its own store and support tool precedence for intent links (#388) | d0f1ddb |
Bjørge Næss | Experimental feature: Spaces (#389) | 9c465dc |
Bjørge Næss | [test-studio] Tweak test cases and add a few more (#391) | f2aeaf3 |
Bjørge Næss | [default-layout] Prevent unnecessary rerenders of Search component (#394) | 65ec018 |
Bjørge Næss | [form-builder] Memoize hot methods (#395) | 3c55877 |
Published by rexxars almost 7 years ago
Upgrade with:
sanity upgrade
And install the latest Command Line Interface (CLI) with:
npm install --global @sanity/cli
Author | Message | Commit |
---|---|---|
Espen Hovlandsdal | [cli] Upgrade yarn to latest version | b9639db |
Published by rexxars almost 7 years ago
Upgrade with:
sanity upgrade
And install the latest Command Line Interface (CLI) with:
npm install --global @sanity/cli
sanity init
twice when not authenticatedAuthor | Message | Commit |
---|---|---|
Espen Hovlandsdal | [cli] Move resolving of login action to an earlier stage | 4b1d8c9 |
Published by rexxars almost 7 years ago
Upgrade with:
sanity upgrade
And install the latest Command Line Interface (CLI) with:
npm install --global @sanity/cli
This release changes the way the CLI is distributed - bundling all dependencies in order to create a very fast installation.
You can now flag references as weak
in your schema, in the rare case where you want referenced documents to be deletable without first unsetting the reference. Should be used with caution!
Author | Message | Commit |
---|---|---|
Thomas Drevon | [client] Use correct URL for observable source code | 337537a |
Espen Hovlandsdal | [base] Fix outdated modules message (#363) | 63efb77 |
Espen Hovlandsdal | [test-studio] Add staging project id | 35368cc |
Bjørge Næss | Add support for weak references (#366) | ac13d15 |
Espen Hovlandsdal | [cli] Improve help text on init command | e578163 |
Espen Hovlandsdal | [cli] Show more useful next steps after initializing project | 536eb13 |
Bjørge Næss | [form-builder] Move item remove logic to ConfirmButton (#368) | 10a0245 |
Espen Hovlandsdal | [cli] Use webpack to bundle all code to a single file | 64b1418 |
Espen Hovlandsdal | [cli] Code style fixes | 7329229 |
Espen Hovlandsdal | [cli] Copy xdg-open binary to bin directory on pack | 78ddc6e |
Espen Hovlandsdal | [client] Fix incorrect link and query examples in readme | 9124e24 |
Espen Hovlandsdal | [cli] CommonJSify debug module | a72d909 |
Espen Hovlandsdal | [cli] Ensure template manifest is not inside node_modules | bdd4aa3 |
Espen Hovlandsdal | [cli] Support specifying dependencies in plugin templates | 529868b |
Espen Hovlandsdal | [cli] Allow specifying a minimum CLI version for templates | 467f955 |
Espen Hovlandsdal | [chore] Fix missing @sanity prefix | 03780ff |
Espen Hovlandsdal | [cli] Ban node versions 8.1.0 and 8.1.1 due to input issues | 97d52b5 |
Espen Hovlandsdal | [cli] Add more commands to list of core cmds | d8b0fc7 |
Published by bjoerge almost 7 years ago
Upgrade with:
sanity upgrade
And install the latest Command Line Interface (CLI) with:
npm install --global @sanity/cli
This release intoduces the @sanity/image-url
package that allows you to quickly generate image urls from Sanity image records + a builder api for the Sanity image pipeline url options. Check out the readme for more info.
@sanity/client
+ a few other React Native related issues.Author | Message | Commit |
---|---|---|
Bjørge Næss | [components] Don't enforce stickToTop in EditItemPopover | 6d83d9a39 |
Per-Kristian Nordnes | [default-login] Allow sending a React node as prop to title and description (#350) | 6656fc134 |
Bjørge Næss | [test-studio] Add a fieldsets test type | 111528fff |
Simen Svale Skogsrud | [image-url] Introducing the image-url package (#352) | 426cf9121 |
Espen Hovlandsdal | [cli] Add CLI methods for manage and docs (#351) | aa24531f4 |
Bjørge Næss | [observable] Add .babelrc to .npmignore + some dotfiles cleanup (#353) | 7c3db9561 |
Bjørge Næss | [client] Upgrade get-it (#354) | 3e7351b5b |
Espen Hovlandsdal | [cli] Allow bootstrapping plugins from templates (#355) | e9a62be60 |
Bjørge Næss | [chore] Add a release-notes script that outputs a release notes template (#356) | 06bf02535 |