sanity

Sanity Studio – Rapidly configure content workspaces powered by structured content

MIT License

Downloads
9.5M
Stars
5.2K
Committers
128

Bot releases are hidden (Show)

sanity - v1.148.3

Published by skogsmaskin over 4 years ago

Upgrade the Command Line Interface (CLI) with:

npm install --global @sanity/cli

Upgrade Sanity Studio with:

sanity upgrade

✨ Highlights

TypeScript definitions for @sanity/client

@sanity/client now has TypeScript support, including TSdoc for methods.

🐛 Notable bugfixes

  • Fixed a bug where an extra undo step was made when deleting everything inside the Portable Text editor.
  • You can now paste text from Notion.so into the Portable Text editor.
  • @sanity/block-tools htmlToBlocks will now normalize the produced content. Objects are given keys and adjecent spans with similar marks will be merged.

📓 Full changelog

Author Message Commit
Bjørge Næss [chore] Add ZEIT Now deployment for test-studio (#1739) eed05d20c
Per-Kristian Nordnes [block-tools] htmlToBlocks will now normalize blocks (#1732) 31df4e0bd
Espen Hovlandsdal [observable] Add typescript definitions da4561ac8
Espen Hovlandsdal [client] Add typescript definitions cc60002b7
Espen Hovlandsdal [client] Allow overriding response types in typings 0b69cc265
Per-Kristian Nordnes [block-tools] Test for doc.body.firstElementChild before using it (#1734) 6fa60320d
Per-Kristian Nordnes [form-builder] Don't put placeholder operation into undo step (#1733) 853673eb8
sanity - v1.148.2

Published by bjoerge over 4 years ago

Upgrade the Command Line Interface (CLI) with:

npm install --global @sanity/cli

Upgrade Sanity Studio with:

sanity upgrade

Rolling back some regressions for the publish and restore actions introduced in 1.148.0. Sorry for the inconvenience!

📓 Full changelog

Author Message Commit
Bjørge Næss Revert f0375e933..496103a56 7b709f639
Bjørge Næss Add missing dependency ae9452862
sanity - v1.148.1

Published by bjoerge over 4 years ago

Upgrade the Command Line Interface (CLI) with:

npm install --global @sanity/cli

Upgrade Sanity Studio with:

sanity upgrade

Rolling back some regressions for the publish and restore actions introduced in 1.148.0. Sorry for the inconvenience!

📓 Full changelog

Author Message Commit
Bjørge Næss Revert f0375e933..496103a56 7b709f639
Bjørge Næss Add missing dependency ae9452862
sanity - v1.148.0

Published by bjoerge over 4 years ago

Upgrade the Command Line Interface (CLI) with:

npm install --global @sanity/cli

Upgrade Sanity Studio with:

sanity upgrade

✨ Highlights

Moving from 0.x to 1.x

In this release we have bumped the official @sanity-packages on npm from v0.147 to v1.148.

Normally, a major version bump indicates breaking/non backwards compatible changes, but in this case everything that used to work with the previous release should also work with this release.

Read more about this "major non-event" and our position on breaking changes in our blog post.

TypeScript support for Sanity Studio

Sanity Studio and the Sanity CLI now supports TypeScript. Go to the documentation to learn how to get started.

Studio performance and stability improvements

We have also done a couple of stability fixes and performance fixes that should improve the overall editing experience.

Groundwork for upcoming features

We have also done a lot of restructuring of the internal Studio codebase to enable some long awaited features. Stay tuned!

📓 Full changelog

Author Message Commit
Espen Hovlandsdal [all] Remove unused interdependencies (#1700) 657f8f85f
Bjørge Næss Make mutator/perf-script runnable from node e63949e34
Bjørge Næss [chore] Add script for updating licenses 3255b1596
Bjørge Næss [chore] Update license files af81a2778
Espen Hovlandsdal [form-builder] Reuse empty markers array if none are present (#1709) 518bec11d
Espen Hovlandsdal [form-builder] Use shallow equality check on path property (#1708) a472da5f7
Espen Hovlandsdal [preview] Add support for extracting text from portable text (#1715) d1a8a2f93
Per-Kristian Nordnes [form-builder] Fix type error (#1720) d5f540f89
Bjørge Næss [form-builder] Remove deprecated function 815775bbc
Bjørge Næss [base] Enable TypeScript f0375e933
Bjørge Næss [base] Inline document store 445b16d07
Bjørge Næss [document-store] Remove package (for now) 360e26dc4
Bjørge Næss [desk-tool] Enable TypeScript 6f89fe3c3
Bjørge Næss [form-builder] Make FormField and Object Field pure components 4eac91562
Bjørge Næss [mutator] Make commit async and make sure onConsistencyChanged emits proper state updates ba588a9fa
Bjørge Næss [mutator] Export MutationParams type 0bb5c6520
Bjørge Næss [base] Add infrastructure for document-actions d10a64176
Bjørge Næss [react-hooks] Add @sanity/react-hooks package a8a51dbf7
Bjørge Næss [form-builder] Deprecate checkoutPair and move receiveEvent to SanityFormBuilderContext ab9ee8365
Bjørge Næss [desk-tool] Implement desk tool actions on top of new actions/operations infra 5a16ee258
Bjørge Næss [desk-tool] Add a component for showing document operation results 68e5e8020
Bjørge Næss [test-studio] Add an actions playground tool c4451ae07
Bjørge Næss [test-studio] Add some custom document actions and badges to test-studio 496103a56
Espen Hovlandsdal [core] Add support for typescript in studio 16f5cf0a2
Espen Hovlandsdal [base] Include typescript definition stubs for parts + css modules ccd552459
Espen Hovlandsdal [cli] Include tsconfig in newly initialized projects 8f868945d
Bjørge Næss [server] Add default extensions to webpack config too 22db93246
Bjørge Næss [base] Make part declaration work for named exports 461ca4802
Knut Melvær [chore] Small improvements to release notes script 9d0a4146b
sanity - v0.147.9

Published by rexxars almost 5 years ago

Upgrade the Content Studio with:

sanity upgrade

🐛 Notable bugfixes

  • Fixed import bug where missing asset documents would not be identified as actually missing

📓 Full changelog

Author Message Commit
Espen Hovlandsdal [import] Fix missing asset document check 6bdbfcc8b
sanity - v0.147.8

Published by jemmima almost 5 years ago

Upgrade the Command Line Interface (CLI) with

npm install --global @sanity/cli

Upgrade the Content Studio with:

sanity upgrade

✨ Highlights

Improved performance of import/export

The command line tools for importing and exporting datasets have had several improvements to performance and stability, especially when working with a large number of assets.

🐛 Notable bugfixes

  • Fixed an issue where many people editing the same document would occasionally fail
  • Fixed an issue where conflicting document IDs would be retried when importing
  • Fixed an issue where the progress indication for importing assets would show them as complete too early

📓 Full changelog

Author Message Commit
Espen Hovlandsdal [groq] Add typescript definition for tagged template literal (#1682) 6f33e94f8
Per-Kristian Nordnes [form-builder] Block editor paste plugin: Join plain text back as string 0511fb5ee
Espen Hovlandsdal [export] Use HTTP/HTTPS agent with keep-alive 247c8d8ec
j33ty [export] Add concurrency flag to export command 190d37855
Espen Hovlandsdal [core] Rephrase help text for dataset export 19add2804
Espen Hovlandsdal [export] Add validation for lower concurrency limit c7ea9efb9
Espen Hovlandsdal [import] Bump asset upload concurrency to 8, limit to 12 fe57e83e2
Espen Hovlandsdal [export] Rename concurrency flag to asset-concurrency ffb047496
Espen Hovlandsdal [export] Keep track of pending URLs 3ba5fcd40
Espen Hovlandsdal [export] Don't count pending downloads as completed 18ff6c52c
Knut Melvær [dashboard] Fix spelling error 864c73fe2
Simen Svale Skogsrud [mutator] Fixes the problem where diff-match-patch and inc-dec would yield exceptions when targetting array indicies or attributes that did not exist f44a5c0dc
Espen Hovlandsdal [import] Add --replace-assets flag to allow skipping sha1 check/reuse e321aed06
Espen Hovlandsdal [import] Add validation of raw asset documents 179c15e74
Espen Hovlandsdal [import] Don't retry 409s (conflicts) when importing 03825e8b7
Espen Hovlandsdal [import] Add test for import of asset doc with no file present 004a50174
Victoria Bergquist [cli] add error message when plugin name is invalid (#1698) acd24dbb5
Victoria Bergquist [cli] improve debug command help text (#1697) 4ca842597
sanity - v0.147.7

Published by rexxars almost 5 years ago

Upgrade the Content Studio with:

sanity upgrade

🐛 Notable bugfixes

  • Fixed desk tool lists not refreshing on when sort order changes

📓 Full changelog

Author Message Commit
Espen Hovlandsdal [desk-tool] Fix query not updating on changed sort order (#1677) b91fbb985
sanity - v0.147.6

Published by rexxars almost 5 years ago

Upgrade the Content Studio with:

sanity upgrade

✨ Highlights

🔗 Fine-grained reference fields

Reference fields can now be given an additional GROQ-filter to help constrain the search, making it easier to find the documents you are looking for.

Note that this only helps the search, it does not guarantee that the referenced document will match the filter in the future.

Read the documentation for the reference type to find out how to use this new functionality.

⚡ Faster loading of long lists

The desk tool should now load the initial set of documents in a list faster than previously. When scrolling, it will load additional documents. We're working on further improving the performance of lists.

🐛 Notable bugfixes

  • Fixed bug where documents with numeric IDs would not be sorted correctly in desk tool
  • Fixed bug where unsetting an image or file field would not unset the _type property
  • Fixed bug where the experimental spaces feature would link to incorrect space in certain cases

📓 Full changelog

Author Message Commit
Espen Hovlandsdal [base] Maintain order of documents when collating drafts/published (#1665) b92b6ac43
Espen Hovlandsdal [form-builder] Unset empty object when removing asset (#1647) 63964c72e
Espen Hovlandsdal [form-builder] Support additional filter to reference input d90e42cea
Espen Hovlandsdal [base] Include additional filter + params if passed 4a31a6941
Espen Hovlandsdal [form-builder] Allow passing filter resolver function instead of string 67f9ef61e
Espen Hovlandsdal [schema] Validate reference filter and filterParams properties 0ff5cad13
Espen Hovlandsdal [desk-tool] Remove unused scrollTop handler 693c2e446
Espen Hovlandsdal [base] Export query results observable from QueryContainer 686db3f72
Espen Hovlandsdal [desk-tool] Load partial document list before fetching full list 13385ddbb
Espen Hovlandsdal [desk-tool] Only load full list when scrolled to half-way point a68394b84
Espen Hovlandsdal [desk-tool] Style loading/more documents component f33a895b8
Espen Hovlandsdal [default-layout] Reload window when switching spaces (#1674) a8267c6d5
sanity - v0.147.5

Published by rexxars almost 5 years ago

Upgrade the Content Studio with:

sanity upgrade

🐛 Notable bugfixes

  • Fixed the desk tool potentially crashing on unpublished document when using a deprecated part

📓 Full changelog

Author Message Commit
Espen Hovlandsdal [desk-tool] Fix deprecated part crashing on unpublished documents (#1663) 24c6d1e
sanity - v0.147.4

Published by thomax almost 5 years ago

Upgrade the Command Line Interface (CLI) with:

npm install --global @sanity/cli

Upgrade the Content Studio with:

sanity upgrade

✨ Highlights

  • Fix an import issue introduced in previous release

📓 Full changelog

Author Message Commit
Thomas Drevon [default-layout] Proper sidecar imports b99e71e
Thomas Drevon [default-layout] Make sure sidecar is implemented before invoking 357b262
sanity - v0.147.3

Published by thomax almost 5 years ago

Upgrade the Command Line Interface (CLI) with:

npm install --global @sanity/cli

Upgrade the Content Studio with:

sanity upgrade

✨ Highlights

Hints mode

The Sanity Studio now comes with an optional sidebar that is used for onboarding new developers. It can be opened and closed, and removed by configuring sanity.json. It will not appear in existing studios unless you enable it youself. It will be added as a default to the starters on sanity.io/create.

🐛 Notable bugfixes

  • Normalize blocks received from custom paste handler 📋
  • @abrougher helped us spell correctly 🙇

📓 Full changelog

Author Message Commit
Per-Kristian Nordnes [form-builder] Normalize blocks received from custom paste handler (#1657) e2a65a713
Austin Brougher Fix spelling errors (#1658) 6808f5b42
Thomas Drevon [default-layout] Hints mode (#1660) 62eb7f1f8
sanity - v0.147.2

Published by rexxars almost 5 years ago

Upgrade the Content Studio with:

sanity upgrade

🐛 Notable bugfixes

  • Fixed incorrect options being passed to document component view
  • Fixed plugin configuration files not being initialized when running sanity graphql deploy
  • Fixed asset download connection errors not being retried on export

📓 Full changelog

Author Message Commit
Espen Hovlandsdal [desk-tool] Fix bug where pane options would be passed to view (#1653) c3c875ed5
Espen Hovlandsdal [core] Initialize plugin configs before resolving GraphQL schema (#1654) 4dd2974f2
Espen Hovlandsdal [export] Retry assets on connection errors (#1655) 11c60c553
sanity - v0.147.1

Published by rexxars almost 5 years ago

Upgrade the Content Studio with:

sanity upgrade

🐛 Notable bugfixes

  • Fixed bug where slug fields with no source property would crash the desk tool

📓 Full changelog

Author Message Commit
Espen Hovlandsdal [form-builder] Provide fallback for slug source path if none is provided 2222c6754
Espen Hovlandsdal [test-studio] Add slug example with no source 4b9714125
sanity - v0.147.0

Published by rexxars almost 5 years ago

Upgrade the Command Line Interface (CLI) with

npm install --global @sanity/cli

Upgrade the Content Studio with:

sanity upgrade

✨ Highlights

Environment variable support

A much requested feature - the Sanity Studio now allows configuration of key parameters such as the project ID and dataset through environment variables, both in development and for deployment. This should make it much easier to integrate it into continuous deployment workflows.

In addition, we now inject environment variables with the SANITY_STUDIO_ prefix into the build process, allowing you to use them when customizing the Sanity Studio.

Read more about this feature in our documentation.

Template for custom asset source plugins

With the recently launched support for pluggable asset sources, we've had a lot of fun seeing what people build with it. In this release of the CLI, we've included a plugin template for building an asset source. You can now do sanity init plugin in your studio folder and choose the "Custom asset source plugin" option to get the boilerplate code up and running.

🐛 Notable bugfixes

  • Fixed the experimental Action UI affordances not being respected
  • Fixed image and file fields not validating their fields property

📓 Full changelog

Author Message Commit
Victoria Bergquist [cli] add template for custom asset source plugin (#1639) ae4de9b23
Espen Hovlandsdal [cli] Reject template download if statusCode is not 2xx (#1638) 6c9d0a9be
Espen Hovlandsdal [structure] Try to infer schema type from filter in document lists (#1634) daae65f4b
Espen Hovlandsdal [schema] Validate file, image schema fields ea6825eef
Espen Hovlandsdal [schema] Pass correct index to field visitor 03e77e9f7
Espen Hovlandsdal [server] Fix potential crash when attempting to normalize module path (#1635) a7fb020c6
Espen Hovlandsdal [desk-tool] Resolve document type from template if available (#1633) adf1fbbe2
Espen Hovlandsdal [structure] Check if "create"-action is enabled before infering templates 318d3c56b
Espen Hovlandsdal [desk-tool] Only show publish button if action is enabled 85a5ea8d4
Espen Hovlandsdal [desk-tool] Disable publishing when action is disabled 4351fb99e
Espen Hovlandsdal [desk-tool] Set form as read-only on new document with create action disabled 2640b6016
Espen Hovlandsdal [desk-tool] Use noop onChange handler if in readonly mode 63c1c4073
Espen Hovlandsdal [desk-tool] Add missing setPayload method to pane router context (#1645) b283b1cd7
Bjørge Næss [chore] Upgrade TypeScript + eslint tooling (#1650) a34fcbe4b
Espen Hovlandsdal [webpack-integration] Expose SANITY_STUDIO_* environment variables 1ca6c4667
Espen Hovlandsdal [util] Allow setting projectId/dataset through environment variables 32f062f1c
Espen Hovlandsdal [chore] Pass studio path when reducing configuration da11acf1a
Espen Hovlandsdal [util] Try reading project ID/dataset from .env files b554f9e59
Espen Hovlandsdal [core] Read .env files when running sanity exec 4cd838d6a
Espen Hovlandsdal [webpack-integration] Include SANITY_STUDIO env vars from .env files 0ac87110a
Espen Hovlandsdal [chore] Pass through env based on command when determining .env-file b2dea4392
Espen Hovlandsdal [webpack-integration] Expose getSanityEnvVars() 8e71dad44
Espen Hovlandsdal [core] List environment variables used when building static bundle 115a77048
Espen Hovlandsdal [util] Use SANITY_STUDIO_API/SANITY_STUDIO_PROJECT namespaces ce4a2fd9e
Espen Hovlandsdal [all] Rename internal environment variable name aec56672c
Espen Hovlandsdal [core] Respect SANITY_ACTIVE_ENV when reading env files cf711afdc
Espen Hovlandsdal [structure] Allow setting options on component, component view f51b799a6
Espen Hovlandsdal [desk-tool] Pass on user-defined options to component panes/views 147802fdb
Espen Hovlandsdal [structure] Use referential identity when comparing immutability 0baed49ba
Espen Hovlandsdal [util] Types: Fix method declaration for path get() method 79d48245b
Espen Hovlandsdal [form-builder] Pass parent object to slug source function 63bdc129a
Espen Hovlandsdal [test-studio] Simplify experiment slug schema a0f286615
Espen Hovlandsdal [structure] Allow specifying a default document node resolver (#1637) 6eb440618
Marius Lundgård [components] Fix tabs overflow issue 2a3b4b021
sanity - v0.146.3

Published by skogsmaskin almost 5 years ago

Upgrade the Command Line Interface (CLI) with

npm install --global @sanity/cli

Upgrade the Content Studio with:

sanity upgrade

🐛 Notable bugfixes

  • Fixed issues with react-icons if you had installed a newer version locally that uses the new import syntax in that module. Fixed a problem introduced in v0.146.1
  • Reintroduced passing document prop to asset-source-plugin, that was reverted by v0.146.2 because of circular import issues in v0.146.1 which are now fixed.

📓 Full changelog

Author Message Commit
Per-Kristian Nordnes [form-builder] Send document to asset source plugin (#1628) (#1630) a4392c803
Per-Kristian Nordnes [form-builder] Fix react icons import issue (#1631) f483e867d
sanity - v0.146.2

Published by skogsmaskin almost 5 years ago

Upgrade the Command Line Interface (CLI) with

npm install --global @sanity/cli

Upgrade the Content Studio with:

sanity upgrade

✨ Highlights

  • Reverts a regression in the previous release. We are sorry.

📓 Full changelog

Author Message Commit
Per-Kristian Nordnes [form-builder] Revert "[form-builder] Send document to asset source plugin (#1628)" 637588e9
sanity - v0.146.1

Published by skogsmaskin almost 5 years ago

Upgrade the Command Line Interface (CLI) with

npm install --global @sanity/cli

Upgrade the Content Studio with:

sanity upgrade

✨ Highlights

  • An enhancement to the asset source plugin support, where plugins also recieve the document by props.

📓 Full changelog

Author Message Commit
Per-Kristian Nordnes [form-builder] Send document to asset source plugin (#1628) 4a030dfdd
sanity - v0.146.0

Published by skogsmaskin almost 5 years ago

Upgrade the Command Line Interface (CLI) with

npm install --global @sanity/cli

Upgrade the Content Studio with:

sanity upgrade

✨ Highlights

Introducing: Pluggable asset sources for Sanity Studio!

Read the blog post.

This release includes support for adding additional asset sources for the Sanity Studio. You can install them as plugins, or make you own. You can also customize if you want to override the default asset source selection globally, or for specific image fields.

📓 Full changelog

Author Message Commit
Per-Kristian Nordnes [form-builder] Asset Source Plugin support (#1591) 4c7cafffd
Espen Hovlandsdal [structure] Remove auto-inferring of ID based on function name (#1613) 1b750b14e
Espen Hovlandsdal [desk-tool] Redirect old edit URLs to new fallback edit route (#1618) 6d5e57047
Espen Hovlandsdal [validation] Fix unnamed object type matching incorrect array member (#1616) a9cb7ec7f
Espen Hovlandsdal [desk-tool] Prevent showing document inspector on no snapshot (#1615) accbd306a
Espen Hovlandsdal [schema] Guard against multidimensional arrays (#1614) 516478f02
Espen Hovlandsdal [mutator] Increase test timeout to 120 seconds (#1611) a12b76733
Espen Hovlandsdal [structure] Enforce unique IDs for views, add serializer tests (#1612) 6959ec52b
Espen Hovlandsdal [test-studio] Add ID to JSON dump node b91ca25eb
Espen Hovlandsdal [structure] Allow passing object spec to documentTypeList() (#1619) 1a5bec2ff
Thomas Drevon [client] Update readme with an example of how to delete an element from an array 731da3128
Thomas Drevon [client] Improve readme example c35c1b18f
Espen Hovlandsdal [state-router] Provider router as a hook: useRouter() 09fce2f91
Espen Hovlandsdal [state-router] Provide router state as hook: useRouterState() 76a04869e
Espen Hovlandsdal [desk-tool] Implement naive, shallow, async intent resolver 367b17641
Espen Hovlandsdal [desk-tool] Handle case where document type cannot be resolved for intent a58e2605a
Cameron Chamberlain Cleanup isEmpty function (#1621) c610b000e
Cameron Chamberlain [storybook] Remove duplicate key in story (#1620) 08e8955eb
sanity - v0.145.1

Published by skogsmaskin almost 5 years ago

Upgrade the Command Line Interface (CLI) with

npm install --global @sanity/cli

Upgrade the Content Studio with:

sanity upgrade

🐛 Notable bugfixes

  • Fix regression in v0.145.0: the title attribute was removed from the editor/document node.

📓 Full changelog

Author Message Commit
Espen Hovlandsdal [structure] Reintroduce title attribute to document node (#1617) e78801055
sanity - v0.145.0

Published by rexxars almost 5 years ago

Upgrade the Command Line Interface (CLI) with

npm install --global @sanity/cli

Upgrade the Content Studio with:

sanity upgrade

✨ Highlights

Improved editor user interface

The primary actions for a document (publish, unpublish, discard changes, delete) have been moved to a footer at the bottom of the screen, along with the current status of the document. This makes it easier to see the current status without scrolling to the top of the screen as well as logically groups document actions.

This change to the UI paves the way for upcoming features that we think will more than justify getting used to the new behaviour.

We've also centered the form within it's pane, giving you more whitespace and, we think, a more comfortable editing experience.

More helpful development server status

When the development server is rebuilding the latest changes, a message will now appear in the studio informing you that it's currently processing the change.

If the changes cannot be applied without reloading, you will get a message prompting you to reload the studio to see the latest changes.

Fixed GQL top-level reference/array types

A long-standing bug has prevented named reference and array types defined in the types array of your schema to be used in GraphQL schemas. This is now finally fixed - hooray! 🎉

React 16.9 minimum requirement

In a prior release several months ago, we deprecated React versions below 16.9. With this release we've made it the minimum required version to run the studio. This means that Sanity plugins targeting 0.145.0 or higher can now use the React hooks feature.

📓 Full changelog

Author Message Commit
Knut Melvær [readme] Update with new messaging and illustrations (#1574) 795fb901a
Knut Melvær [readme] Update README.md fb0b56793
Espen Hovlandsdal [core] Deploy: use passed SOURCE_DIR even when building 87588b791
Espen Hovlandsdal [preview] Fix typescript build issue 8d903bf68
Espen Hovlandsdal [cli] Require node version 8.6 or higher (#1592) aab05a9b4
Espen Hovlandsdal [form-builder] Fix typescript build errors 0ffab5811
Espen Hovlandsdal [chore] README: Add link to Twitter badge cac9c2921
Espen Hovlandsdal [core] Include GraphQL commands in CLI help output (#1597) 9e36787ad
Espen Hovlandsdal [components] Make snackbar items updateable (#1594) 300e6d144
Rune Botten [client] Update listening query example in readme (#1587) 6da2a4fa6
Espen Hovlandsdal [groq] Don't use arrow functions, fixes IE11 compatibility (#1598) 74082c97b
Espen Hovlandsdal [components] Spinner: Allow passing children instead of message (#1593) 28da8da40
Espen Hovlandsdal [server] Implement custom HMR client for in-studio build status (#1595) 8af544db5
Espen Hovlandsdal [core] GraphQL: Fix top-level references/array types (#1602) 4a743bded
Anders Stensaas [chore] Replace the in-publish package with prepublishOnly NPM step 9a6d6aa71
Anders Stensaas [chore] Reflect that tests have dependencies on compiled files in CONTRIBUTING.md 9ee5553dc
Espen Hovlandsdal [desk-tool] Implement initial split pane spike aab9abf5a
Espen Hovlandsdal [structure] Allow editors to have children 3cd6c0b16
Espen Hovlandsdal [structure] Allow custom components to have children 4eb2d73c1
Espen Hovlandsdal [base] Define contextual previews part and add eye icon 6ad075e73
Espen Hovlandsdal [desk-tool] Hide "params", introduce "payload" 649373fbb
Marius Lundgård [desk-tool] Refactor UI: move pane buttons to DefaultPane, and move things into place as per design sketch 58acc1391
Espen Hovlandsdal [structure] Introduce views, document node 48eee1f0e
Espen Hovlandsdal [desk-tool] Implement document pane (replaces editor pane) 2184b396e
Espen Hovlandsdal [components] Tabbed pane placeholder cea340034
Espen Hovlandsdal [test-studio] Rewire previews 049b865b3
Marius Lundgård [components] Add tabs components 4eec2b018
Marius Lundgård [desk-tool] Implement tabs components 58e85dceb
Marius Lundgård [components] Improve tabs accessibility and add Storybook example 342b73df9
Marius Lundgård [components] Implement tab panel 5504e1421
Marius Lundgård [base] Add and update icons 1ac7f36de
Marius Lundgård [components] Improve tabbed panes UI a29ad51f0
Marius Lundgård [components] Improve pane header and footer UI 25b1fb79d
Marius Lundgård [desk-tool] Improve footer UI 0a849d4ac
Marius Lundgård [components] Fix tab component paths a7e1d9faa
Marius Lundgård [components] Show pane footer only when hovering 4e030bb15
Marius Lundgård [components] Hide focus outline on tab panels c38384631
Marius Lundgård [components] Fix z-index issue 047ee1f8e
Espen Hovlandsdal [components] Render icon if set cf85d62db
Espen Hovlandsdal [desk-tool] Use pane key as id prefix for aria attributes e0a1191fe
Espen Hovlandsdal [structure] Deprecate editor in favor of document e533fa7a4
Espen Hovlandsdal [desk-tool] Remove EditorPane in favor of DocumentPane e452f7b25
Espen Hovlandsdal [desk-tool] Rewire initial template value templates to use params/payload babd0e803
Espen Hovlandsdal [structure] Make generic lists fall back to default intent checker 48533d4ae
Espen Hovlandsdal [desk-tool] Pass index (depth) of pane to intent checker ade2ade00
Espen Hovlandsdal [desk-tool] Fix fallback edit pane intent resolving cb6d74e49
Espen Hovlandsdal [test-studio] Set better title for developers pane a3fd6b4bf
Espen Hovlandsdal [state-router] Reuse base64 JSON encoding for params/payload 9656938f1
Espen Hovlandsdal [desk-tool] Fix issue where unknown schema types would fail 098cf1c5e
Espen Hovlandsdal [desk-tool] Use PaneRouterContext naming to allow for PaneViewContext 5f0db2672
Espen Hovlandsdal [components] Hide split pane button if only a single view is present ae8bdc7cc
Espen Hovlandsdal [desk-tool] Add duplicated pane next to current, not the end ba1469b6b
Espen Hovlandsdal [desk-tool] Pass child item id to panes d1f076b40
Espen Hovlandsdal [desk-tool] Only resolve panes based on IDs, not params/payloads ca881d54f
Espen Hovlandsdal [test-studio] Allow specifying delay in desk structure resolving e8f5947cc
Espen Hovlandsdal [desk-tool] Pass noop patch channel on history view, supressing warning c4c8fc382
Espen Hovlandsdal [desk-tool] Drop pane from pane router context methods 738d5ed56
Espen Hovlandsdal [desk-tool] Don't clear other params when switching view b21a1cbbf
Espen Hovlandsdal [desk-tool] Simplify duplicate pane group definitions, inherit params 955085cfa
Espen Hovlandsdal [desk-tool] Unsubscribe from history fetching on unmount b66c4f811
Espen Hovlandsdal [desk-tool] Share history revision across sibling panes 2b6af4976
Espen Hovlandsdal [test-studio] Use pre-wrap for preview component e91d512af
Espen Hovlandsdal [desk-tool] Make all pane context methods use objects over args 331b3ded4
Espen Hovlandsdal [desk-tool] Pass down historical document directly to InspectHistory 0b5b8888b
Espen Hovlandsdal [desk-tool] Pass params/payload to fallback editor resolver 9be1fed84
Marius Lundgård [desk-tool] Implement new document footer 2522e5c67
Espen Hovlandsdal [components] HistoryListItem: Use '-' for current revision 9c39d1604
Espen Hovlandsdal [desk-tool] Move most history state to URL-params 03ba12871
Espen Hovlandsdal [desk-tool] Scroll to selected history event on mount c390ca251
Marius Lundgård [desk-tool] Fix issue with history footer not rendering 6917c7348
Marius Lundgård [desk-tool] Rename 'staticContent' property to 'footer' 8f149d7b5
Marius Lundgård [desk-tool] Make onHistoryStatusClick optional 5b4f4d4bc
Marius Lundgård [components] Remove unused scroll UI logic 8998ce7ef
Marius Lundgård [test-studio] Improve DeveloperPreview appearance + small screen fixes 8bb84647b
Marius Lundgård [desk-tool] Improve panel content rendering 18acd9329
Marius Lundgård [components] Fix visual bug in pane header 72756d02e
Marius Lundgård [components] Fix pane header z-index issue 0a9b5905e
Espen Hovlandsdal [structure] Update tests to reflect intent handler changes 38e33ebac
Espen Hovlandsdal [desk-tool] Don't show history list if collapsed 7395bb2e5
Espen Hovlandsdal [desk-tool] Reintroduce keyboard shortcuts on focus 7386523d9
Espen Hovlandsdal [desk-tool] Remove historical revision from URL on mobile 9f4ccca59
Espen Hovlandsdal [desk-tool] Remove outdated tests 7ab4dbbf2
Espen Hovlandsdal [desk-tool] Reintroduce "discard changes" 347ad6d06
Espen Hovlandsdal [transaction-collator] Reintroduce "discarded draft" event da969ac48
Espen Hovlandsdal [state-router] Try to parse JSON params as non-base64 params too (legacy) 738b3b347
Marius Lundgård [desk-tool] Improve document pane layout e7af42502
Espen Hovlandsdal [all] Require React >= 16.9 for all studio modules 01190dc84
Espen Hovlandsdal [structure] Inherit document type list title from item if possible b82820498
Espen Hovlandsdal [structure] Allow . in structure node IDs 30009c1bd
Espen Hovlandsdal [test-studio] Add image asset document list to structure 5b1d7a6a7
Espen Hovlandsdal [desk-tool] Use useContext for link components 3af314153
Espen Hovlandsdal [desk-tool] Fix incorrect pane diff index calculation f51ae2648
Espen Hovlandsdal [desk-tool] Use context hook for PaneItemWrapper b3de6b507
Espen Hovlandsdal [desk-tool] Do not pass pane context as prop to panes d1b1969c7
Espen Hovlandsdal [desk-tool] Improve transition between historical revisions cfbc8dd6e
Espen Hovlandsdal [desk-tool] Simplify props passed to pane views 94e5091d8
Marius Lundgård [desk-tool] Add tests of action index resolving 03bb9d78d
Marius Lundgård [components] Improve pane UI and tab navigation a3e41c7f3
Marius Lundgård [components] Move the snackbars higher on the screen 91aa60a21
Marius Lundgård [components] Minor DefaultPane visual improvements 90055522e
Marius Lundgård [desk-tool] Show hotkey hints in actions 8cea20fe0
Marius Lundgård [components] Make min-height fill pane for preview on mobile 08db3b574
Marius Lundgård [components] Make tab list scrollable 4206866b7
Espen Hovlandsdal [desk-tool] Fix pane resolving when closing group members 687e914b1
Espen Hovlandsdal [default-layout] Use published document ID for search result intents da5b831d0
Espen Hovlandsdal [desk-tool] Add document ID to structure node ID for fallback pane a3b98df6f
Espen Hovlandsdal [components] Only render split/close buttons if onSplitPane is defined 0f89d9549
Espen Hovlandsdal [desk-tool] Only allow splitting panes on large screens 0491660ea
Espen Hovlandsdal [desk-tool] Cut split panes from URL on narrow screens 8d162a23b
Espen Hovlandsdal [structure] Add documentWithInitialValueTemplate function efe452c3a
Espen Hovlandsdal [desk-tool] Fix incorrect template being passed to fallback pane 21a6da433
Espen Hovlandsdal [desk-tool] Prevent partial re-render before sync structure resolves 4b2017883
Marius Lundgård [components] Improve pane UI fd0c72e48
Marius Lundgård [components] Fix pane footer overlapping issue 3c634e49b
Marius Lundgård [components] Fix scroll container width on small screens 5bdd18fe3
Espen Hovlandsdal [components] Fix non-scroll container width on small screens 90cc5f839
Marius Lundgård [desk-tool] Improve document status bar UI 3ac73301f
Espen Hovlandsdal [base] Skip checking versions for missing dependencies 496f743b8
Espen Hovlandsdal [components] Add "secondary" to list of known button kinds da27d006b
Espen Hovlandsdal [test-studio] Remove delayed resolving of initial value template for author 200fcfeaf
Espen Hovlandsdal [desk-tool] Resolve from root if no panes are present in URL 49c6981f0
Espen Hovlandsdal [desk-tool] Fix panes not resolving on transition to fewer pane segments 2c4f8033b
Espen Hovlandsdal [components] Make pane footer sticky unless we have tabs 68ec69ca2
Espen Hovlandsdal [desk-tool] Expose hasGroupSiblings property on pane router context 221b30196
Espen Hovlandsdal [components] Remove unused template selection logic from pane components 5920a4b11
Espen Hovlandsdal [components] Render sticky footer if no sibling panes are present 83afad29e
Espen Hovlandsdal [core] Upgrade to Terser 4.4, execute out-of-process (#1608) 33d310c40