sanity

Sanity Studio – Rapidly configure content workspaces powered by structured content

MIT License

Downloads
9.5M
Stars
5.2K
Committers
128

Bot releases are visible (Hide)

sanity - v3.25.0

Published by ricokahler 9 months ago

Installation and upgrading

To initiate a new Studio without installing the CLI globally:

npm create sanity@latest

To upgrade a v3 Studio, run this command in its folder:

npm install sanity@latest

✨ Highlights

New Documents Validate CLI Command (beta)

https://github.com/sanity-io/sanity/assets/10551026/36dd1d32-84a3-4755-b629-1798bd845e46

The sanity documents validate command is now available! This powerful tool checks your documents against your project's schema directly from your command line. It uses a mocked browser environment to validate all documents locally, perfect for ensuring data integrity.

Note: As this feature is currently in beta, some projects may not load correctly. We encourage users to report any issues encountered to help us improve here: https://github.com/sanity-io/sanity/issues/5510

Improved Copy-Paste experience from Google Docs and Notion

The Studio now preserves formatting more reliably when content is pasted from Google Docs in Safari, and no longer incorrectly applies underline decorators to pasted links. Additionally, the Studio now preserves formatting more reliably when content is copied from a single block in Notion.

User interface and experience updates

  • Root page link: The workspace icon now consistently serves as a direct link to the 'root' page (the first configured tool), streamlining navigation.
  • Improved Workspace Switcher: A new tooltip feature has been added to the workspace switcher for better clarity.
  • Simplified Tool Menu: The tool menu will now be hidden when only one tool is installed, reducing clutter.
  • Layout stability: We've resolved an issue with long workspace titles disrupting the navbar layout. Titles now truncate with ellipses to maintain a clean appearance.
  • Localized tooltip text: The 'open menu' button tooltip text has been localized and is now more accessible on smaller screens.
  • Intuitive icons: The help and resources button now features the correct icon, making it more intuitive and consistent with previous versions.
  • PTE improvements: Ensures that clicking to edit in presentation mode correctly focuses the relevant block, improving the editing workflow.

🐛 Notable bugfixes

  • Fixes a bug where logging out didn't invalidate the cookieless auth token.
  • Fixes an issue in the Portable Text Editor where the 'Empty' placeholder placement was off.
  • Fixes an issue where array item focus rings were cropped, ensuring they're now displayed in full.
  • Fixes a bug where the workspace switcher tooltip wasn't displaying correctly.

📓 Full changelog

Author Message Commit
Fred Carlsen feat(block-tools): add special notion handling for single block decorators (#5411) a28106160
Fred Carlsen fix(block-tools): more robust formatting detection on copy paste in Safari (#5485) 0cec72bad
Cody Olsen fix(deps): update dependency @sanity/presentation to v1.5.3 (#5486) 4a25ee9fe
renovate[bot] fix(deps): update dependency @sanity/client to ^6.11.1 (#5488) 0f51ba97c
renovate[bot] chore(deps): update dependency @sanity/ui to v2.0.0-beta.17 (#5487) 48066a3e0
Rico Kahler fix(test): use "runtime": "automatic" for "@babel/preset-react" (#5492) 8023c3305
shur fix: mark builds as completed/errored and indicate empty cli runs (#5469) a581d8dfb
Ash fix(core): include cookieless auth token in logout request if it exists (#5491) ee9f89f1b
Nina Andal Aarvik fix(core): add missing inter fontface for weights 800+900 (#5490) ec84a4293
Bjørge Næss fix(cli): telemetry: only log first 10 elements in args array (#5471) 5281b42fa
Tommy Petty chore(i18n): fixed missing translations with document status pulse (#5498) c558040a5
Ash test(cli): fix flaky dev server test (#5476) 87cc62b74
Bjørge Næss chore(deps): regenerate lockfile 2fe7f0957
Per-Kristian Nordnes fix(form/inputs): include text blocks in PT-members when theya are focused (#5502) f2a228fb7
Robin Pyon fix: use help icon for help + resources button (#5506) 9105ec767
Robin Pyon fix: ensure list array card focusRing isn't cropped and renders with correct radii (#5505) ffb626893
Robin Pyon fix(deps): update @sanity/ui to 2.0.0 and @sanity/color to 3.0.0 (#5507) cc27cb842
Robin Pyon fix: various navbar improvements (#5504) 6c8dce9aa
Cody Olsen fix(deps): update dependency @sanity/presentation to v1.6.0 (#5508) ddece4c55
Rico Kahler feat(cli): new documents validate command (#5475) 836906142
sanity - v3.24.1

Published by ricokahler 9 months ago

Installation and upgrading

To initiate a new Studio without installing the CLI globally:

  npm create sanity@latest

To upgrade a v3 Studio, run this command in its folder:

  npm install sanity@latest

✨ Highlights

Updated legacy theme customization

Legacy themes for Sanity Studio will now handle custom colors without losing the scaffolding provided by the default studio theme. This improvement means that the custom colors you define will no longer revert to default values, but instead integrate seamlessly with Sanity Studio.

Experimental document pane title opt-out

A new flag __experimental_formPreviewTitle has been introduced, allowing you to hide the large preview title displayed in the document pane form. This grants more control to users with custom implementations that do not benefit from this title being displayed.

import {defineType} from 'sanity'

export const playlistType = defineType({
  name: 'playlist',
  type: 'document',
  // 👇👇👇
  __experimental_formPreviewTitle: false,
  // 👆👆👆
  // ...
})

Comments feature now enabled by default

The comments feature within Sanity Studio is now enabled by default, embracing collaboration and social interactions on your documents right out of the box.

Importing Structure as structureTool

The import path for the structure tool has been updated. Developers should now import from sanity/structure instead of sanity/desk. A helpful codemod is available to facilitate the migration of any existing code. Existing imports to sanity/desk will still work but those imports have been marked as deprecated and will be removed in a later major version.

A codemod is available to migrate any code that may be using it:

npx @sanity/cli codemod deskRename

Be sure to check in any local changes to version control before running the codemod in case it should fail.

GraphQL deployment optimization

A new opt-in cache, --with-union-cache, improves GraphQL schema generation speed by up to 95% for schemas with numerous self-referencing documents. This optimization is essential for larger projects and significantly improves the deploy experience.

🐛 Notable bugfixes

  • Fixes a regression where custom document action modal dialogs were not rendering footer content correctly.
  • Resolves issues related to incorrect default locale strings, ensuring the restoration process of document revisions is accompanied by proper messaging.
  • Fixes problems with the strike-through formatting when pasting content from Google Docs.
  • Corrects font weight rendering issues on iOS16, ensuring consistent visual experience across platforms.
  • Fixes the improper alignment of button text in the Portable Text Editor to match standard UI practices.
  • Ensures annotation toolbar popover in PTE follows the correct element on scroll, enhancing usability.
  • Fixes fieldset border issues in forms for a cleaner UI presentation.
  • Resolves console warnings stemming from passing non-DOM properties to styled-components.
  • Updates navbar button positions for better user discoverability and accessibility by adding aria labels to expand buttons in PTE.

📓 Full changelog

Author Message Commit
Binoy Patel chore(e2e): update docs and make missing env more clear (#5421) a63a20a24
renovate[bot] chore(deps): update babel monorepo to ^7.23.7 (#5430) 232aab865
renovate[bot] chore(deps): update dependency turbo to ^1.11.2 (#5436) cee0e15fb
Pedro Bonamin fix(legacy-theme): update buildLegacyTheme to support custom colors (#5437) b4fb5b67f
Fred Carlsen feat: conditionally set maximum search depth in studio search (#5440) 261b05efc
renovate[bot] chore(deps): update dependency @sanity/ui to v2.0.0-beta.14 (#5445) ac1e465ee
renovate[bot] chore(lockfile): update dependency framer-motion to v10.17.4 (#5450) e462d96c8
renovate[bot] chore(deps): update dependency styled-components to ^6.1.6 (#5446) 5cc319db3
Robin Pyon fix: opt-out of internal studio ui-components for user facing custom document action dialogs (#5444) 5a9d1f8fa
Robin Pyon fix(i18n): use correct locale string for document restore confirmation (#5453) 2d817cb7e
Jørn Knutsen fix(vision): use untranslated value for "other" api version (#5433) f3181ba94
Espen Hovlandsdal refactor(structure): desk => structure file rename 7c484f798
Espen Hovlandsdal refactor(structure): rename references to desk/Desk e3ea119be
Espen Hovlandsdal fix(structure): fix typo in renamed structure tool context 00496ab8f
Espen Hovlandsdal feat(cli): add desk rename codemod 749444d19
Espen Hovlandsdal chore: run desk rename codemod e6a2b3acc
Espen Hovlandsdal fix(cli): bootstrap new studios with structure import 7516d0f78
Espen Hovlandsdal refactor(desk): explicitly import/export for improved deprecation handling 47c5e4b29
Espen Hovlandsdal fix(core): correct typesVersions path for structure export b01819332
ecospark[bot] chore(prettier): fix unformatted files 🤖 ✨ (#5454) c446609c6
Cody Olsen fix(deps): update dependency @sanity/presentation to v1.4.2 7972ff48b
ecospark[bot] chore(deps): dedupe yarn.lock (#5455) 01d52388e
Fred Carlsen fix(block-tools): keep strike-through formatting when pasting from gdocs (#5443) 779a114e1
Nina Andal Aarvik fix(core): remove variable fonts in global styles (#5456) 47d84a213
Tommy Petty fix(cli): uniquify temp directory used during dataset import (#5400) a84cfeb84
Cody Olsen chore(deps): update dependency @sanity/ui to v2.0.0-beta.15 d916bd7a5
Cody Olsen fix(deps): update dependency @sanity/presentation to v1.4.3 547906964
Nina Andal Aarvik fix(desk): utranslate when form title is missing (#5439) 8c52faa15
Robin Pyon fix: add custom resize handle icon (#5462) 38f951c5b
Herman Wikner fix(core): form fieldset border (#5468) 8ff030823
Pedro Bonamin feat(desk): add __experimental_formPreviewTitle to documents (#5452) 90c24c895
Nina Andal Aarvik fix(core): left align button text in PTE (#5422) a21656efe
Nina Andal Aarvik fix(core): add scroll event listener for AnnotationToolbarPopover referenceBoundary (#5410) 5719a092d
Nina Andal Aarvik fix(core): add useClickOutside function to filter buttons afdb3f969
Herman Wikner feat(comments): enable by default (#5467) c09a26d7c
Pedro Bonamin chore(dependencies): update @sanity/ui to 2.0.0-beta.16 (#5474) 49e1a7eae
Sindre Gulseth refactor(graphql): use Set to speedup guard check 31b755914
Sindre Gulseth refactor(graphql): optimize multiple loops into two for loops ab1459a2d
Sindre Gulseth chore(graphql): remove unncessary type cast and optimize readability 330c621c0
Sindre Gulseth feat(graphql): add experimental mode to optimize/cache schema union definitions 52e436973
Espen Hovlandsdal fix(i18n): pass Code component to document list pane error (#5434) 30f9bef0b
Rico Kahler fix(cli): update esbuild options for better compat (#5461) fc45930ee
Cody Olsen fix(deps): update dependency @sanity/presentation to v1.5.0 75b052c96
Robin Pyon fix: update reverse trial button styles, add tooltips to nav button and localize (#5478) 8e8c474ed
Cody Olsen fix: prevent props that are unknown html attributes from passing through (#5481) ddf605ff7
Robin Pyon fix: position search button in the LHS navbar (#5479) 8b3aa07e0
Nina Andal Aarvik fix(core): add aria-label to expand PTE button (#5459) d7091127b
Robin Pyon chore: add codeowners for search, theming and visual components (#5480) f59774b53
Pedro Bonamin fix(theme): update studio theming, support only color and fonts customisation. (#5442) 078574bde
Rico Kahler feat(validation): validateDocument (#5465) 3c5421efb
sanity -

Published by bjoerge 10 months ago

Installation and upgrading

To initiate a new Studio without installing the CLI globally:

npm create sanity@latest

To upgrade a v3 Studio, run this command in its folder:

npm install sanity@latest

🐛 Notable bugfixes

  • Fixes occational wrong placement of the free trial popover
  • Fixes an issue where custom icons were displayed with incorrect sizes in previews

📓 Full changelog

Author Message Commit
Herman Wikner fix(core): icon size in previews with custom icon (#5425) c6becc9a2c
Bjørge Næss fix(core): wait until the ref is available before showing trial popover (#5424) 26d08fe435
sanity -

Published by bjoerge 10 months ago

Installation and upgrading

To initiate a new Studio without installing the CLI globally:

npm create sanity@latest

To upgrade a v3 Studio, run this command in its folder:

npm install sanity@latest

🐛 Notable bugfixes

  • Makes sure latest version of next-sanity is installed when initializing in a Next.js project

📓 Full changelog

Author Message Commit
Fred Carlsen chore(cli): pin next-sanity to v7 (#5423) 7827696525
sanity -

Published by bjoerge 10 months ago

🐛 Notable bugfixes

  • Improves error handling if enabling telemetry consent fails
  • Fixes an issue that could happen if using an older system version of the Sanity CLI in combination with a more recent version installed in a project directory

📓 Full changelog

Author Message Commit
Rico Kahler Revert "test(e2e): disable dataset creation per PR (#5210)" (#5402) 75eac0a25c
Binoy Patel chore(test): update cli tests to use staging env (#5404) 31109cf01d
Bjørge Næss fix(cli): provide more detailed info if consent status change fails (#5416) e97a6396f6
Bjørge Næss fix(sanity): guard against telemetry not provided from older global CLI versions (#5420) 1327bbc34d
sanity -

Published by bjoerge 10 months ago

Installation and upgrading

To initiate a new Studio without installing the CLI globally:

npm create sanity@latest

To upgrade a v3 Studio, run this command in its folder:

npm install sanity@latest

🐛 Notable bugfixes

  • Fixes missing subtitle in object and reference previews inside arrays
  • Improves error handling if enabling telemetry consent fails
  • Fixes issue with inverted color for field action buttons
  • Fixes an issue that could happen if using an older system version of the Sanity CLI in combination with a more recent version installed in a project directory

📓 Full changelog

Author Message Commit
Fred Carlsen fix(portable-text-editor): copy paste improvements (#5274) a5901b0135
Fred Carlsen fix(block-tools): fix broken unit tests 87895f13b0
ecospark[bot] chore(prettier): fix unformatted files 🤖 ✨ (#5399) 6bd95d6e5d
Robin Pyon fix: temporarily disable locale selection in nav drawer menu (#5406) 67aac929e0
Fred Carlsen fix(form): fix missing subtitles in array previews (#5412) 963b77843a
Pedro Bonamin fix(core): adds consistent padding to document footer (#5415) dfe10391f5
Pedro Bonamin fix(core): box sizing content box in preview elements, free trial popover position (#5418) 37d9c28186
Nina Andal Aarvik fix(core): add missing deprecated tag to workspace logo (#5413) cc53cca457
Bjørge Næss fix(cli): provide more detailed info if consent status change fails (#5416) 8eaea189f9
Rico Kahler Revert "test(e2e): disable dataset creation per PR (#5210)" (#5402) 30de036acc
Binoy Patel chore(test): update cli tests to use staging env (#5404) 2cedcaf856
Bjørge Næss fix(sanity): guard against telemetry not provided from older global CLI versions (#5420) 7e435e47e6
Nina Andal Aarvik fix(desk): add bleed mode to field action button (#5414) 790a71addf
sanity - v3.22.2

Published by rexxars 10 months ago

Installation and upgrading

To initiate a new Studio without installing the CLI globally:

npm create sanity@latest

To upgrade a v3 Studio, run this command in its folder:

npm install sanity@latest

🐛 Notable bugfixes

  • Fixes relative time formatting in certain languages

📓 Full changelog

Author Message Commit
Espen Hovlandsdal fix(i18n): use short instead of narrow formatting for relative time cf7e4b5133
sanity - v3.23.1

Published by rexxars 10 months ago

Installation and upgrading

To initiate a new Studio without installing the CLI globally:

npm create sanity@latest

To upgrade a v3 Studio, run this command in its folder:

npm install sanity@latest

🐛 Notable bugfixes

  • Fixes relative time formatting in certain languages
  • Fixes some peer dependency warnings

📓 Full changelog

Author Message Commit
Espen Hovlandsdal chore(test-studio): update locale plugins 511eaca749
renovate[bot] fix(deps): update dependency @sanity/presentation to v1.4.0 (#5405) 3365bb6ee7
Espen Hovlandsdal fix(i18n): use short instead of narrow formatting for relative time 4e753ffeb9
sanity - v3.23.0

Published by rexxars 10 months ago

Installation and upgrading

To initiate a new Studio without installing the CLI globally:

npm create sanity@latest

To upgrade a v3 Studio, run this command in its folder:

npm install sanity@latest

✨ Highlights

Early release: Sanity Studio UI Upgrade

We have been working on updating and finessing the Sanity Studio UI for a while. We think it is quite an improvement and will talk more about it as we return after New Year's.

CleanShot 2023-12-19 at 20.25.10@2x

We wanted to get it out before the holidays to learn how it works for new users and allow existing users to test it out with any Studio customizations they might have. We might have missed edge cases, so if you encounter anything — do let us know

We will also publish new versions of Sanity UI with corrensponding documentation — stay tuned!

To upgrade: npm install sanity@latest

To downgrade to the last stable release: Pin the sanity dependency in package.json to 3.22.x and run npm install

📓 Full changelog

Author Message Commit
Robin Pyon feat: studio facelift 8a9d18fb4c
Robin Pyon core(test-studio): remove custom branding and localised text 073dc5ae87
Robin Pyon fix: add localized text for shared dialog component a23aa6e814
Robin Pyon fix: localize pane header back button tooltip dac416c6d7
Robin Pyon refactor: render plain text buttons in invalid and untyped value inputs 21e8bdb2fc
Robin Pyon feat: add common localized context menu button component 96462cce03
Robin Pyon refactor: change dialog i18n key 9b2d451c26
Robin Pyon refactor: remove unused components and i18n strings ee9f9f06ff
Robin Pyon fix: localize search button tooltip text 1b7e65813a
Robin Pyon fix: localize create new button tooltip in document pane headers b8197d6860
Robin Pyon fix: localize create new document button b720e4a236
Robin Pyon fix: add localized text for common loader component 544eaf17c2
Robin Pyon fix: add localized text for review change button tooltips 9734ed1906
Robin Pyon fix: localize untitled text in compact preview d038b7d403
Robin Pyon feat: update file and image input + placeholder styles 511b291675
Robin Pyon feat: update delete confirm dialog styles, use compact cards e981dcb223
Robin Pyon fix: show checkmark on selected locale in locale menu 162f9d646b
Robin Pyon fix: ensure media border styles are only applied on the targeted element only 4ed01ffb4b
Robin Pyon fix: update create new button localized text c2d27bfeba
Robin Pyon fix: add clarifying comments on container query support, reverse header font size selection (fixes edx-860) 069a622042
Robin Pyon chore(deps): bump @sanity/ui 432ff4990f
Robin Pyon feat: update user menu and presence menu items with new avatar sizes e41e7d75ee
Robin Pyon fix: add localized text for config issue tooltip button (fixes edx-859) e8acd4e83c
Robin Pyon chore: fix typos 0495028144
Robin Pyon feat: update image + file asset source styling 12c1b77359
Robin Pyon fix: re-enable buildLegacyTheme (fixes edx-857) 142b44fe95
Robin Pyon fix: tweak navbar padding, minor cleanup 1afcc29f35
Robin Pyon fix: fix back button alignment on smaller breakpoints, tweak search styles d680d5fd4c
Robin Pyon fix: localize document actions button tooltip, update ContextMenuButton signature 32efb69dff
Robin Pyon fix: remove subtitle support from studio UI menu items, update layout, update search string list inputs a08d1e9c17
Robin Pyon chore(deps): bump @sanity/ui in other studios d7bc6f1abf
Robin Pyon fixup! fix: remove subtitle support from studio UI menu items, update layout, update search string list inputs 4bfbea9381
Robin Pyon chore(deps): bump @sanity/ui 5d1d3de49a
Robin Pyon feat: use smaller font size for hotkey + badge text in menu items and tooltips f8343ed559
Robin Pyon fix: tweak placement for workspace + presence menu tooltips ccf45dfeea
Robin Pyon refactor: use studio UI buttons, remove unused components 5fdc6ef2b2
Robin Pyon test: add test ids to PTE toolbar component, fix failing ct test fcb0a1080f
Robin Pyon fix: use relative paths for core imports a71bd8de30
Robin Pyon fix: hide loading text in generic loader by default, tweak timings, update test snapshots d09822e4f4
Robin Pyon fix: minor regression with menu item spacing 41caf72173
Robin Pyon fix: remove extraneous padding on manage members menu item 5d6ec16def
Robin Pyon fix: use localized relative time hook 1061d86425
Robin Pyon feat: align search popover overlay background with dialog 83e3163730
Robin Pyon fix: ensure field names correctly truncate in search filter tooltips 1ea1ed0ebd
Robin Pyon fix: use correct focus ring offset + width for list panes + comment pte input 995fb0af30
Robin Pyon fix: use single pixel border for document banners 78dde3c87a
Robin Pyon feat: update font styles for no search results + insufficient permissions messages 6324dd1b09
Robin Pyon feat: DRY document banners and update styles, create dedicated spacer button 2a6aed24ec
Robin Pyon fix: large button size for remove field button d88fa79dad
Robin Pyon feat: update comments discard dialog styles 23c3ba7a86
Robin Pyon refactor: simplify useDocumentStatusTimeAgo 78fd1ee419
Marius Lundgård fix(deps): upgrade @sanity/color e8a8047f58
Marius Lundgård fix(deps): update @sanity/ui 8da8961bfc
Marius Lundgård fix(studio): update navbar spacing 38787a5b99
Marius Lundgård fix(deps): update @sanity/ui 9c5de6ad3a
Robin Pyon fix: localize drag handle button, use correct delay values f9c2ec86c9
Robin Pyon fix: add padding to workspace auth page, tweak mobile nav drawer 3d445b6c42
Robin Pyon fix: new presence menu item avatar sizes a6fd7f6c26
Robin Pyon feat: add absolute tooltip dates to document statusbar, don't render statusbar until ready, minor cleanup 9a811da9a3
Robin Pyon chore: update snapshots 3adbed5b2d
Marius Lundgård fix(deps): update @sanity/ui d276475b84
Marius Lundgård fix(ui): fade preview when menu item is disabled d75397475d
Marius Lundgård fix(studio): do not use experimental avatar status f237032dca
Marius Lundgård fix(studio): adjust avatar size in user menu e525b02ac4
Marius Lundgård fix(form): align form field header 1ba30f5cb4
Marius Lundgård fix(form): simplify and set status color using theme v2 d83c70526e
Marius Lundgård fix(ui): align tooltip 4fdca80e54
Robin Pyon feat: new document status indicator, lockup and tooltips bad7091fd3
Robin Pyon fix: force useRelativeTime to always render idiomatic dates with weeks in full af3056cee9
Robin Pyon fix: use correct document status indicator colors, update document status tooltip spacing ee5b543aba
Robin Pyon chore: update workshop story 56293e9fa6
Robin Pyon chore: update snapshots ee1b7dbb0b
Robin Pyon refactor: remove TooltipWithNodes component, no longer infer aria-label in buttons 1aee93619f
Marius Lundgård fix(deps): update @sanity/ui d2415539eb
Marius Lundgård fix(sanity): set maximum-scale viewport property 0b2935e478
Pedro Bonamin fix(facelift): update i18n imports after rebase 320f6959bd
Pedro Bonamin fix(facelift): update i18n ignore rules 879aee1091
Marius Lundgård fix(studio): update change indicator 22d6867566
Marius Lundgård fix(studio): update beta badge a6d93fa378
Marius Lundgård fix(studio): update preview components e8ac66098f
Marius Lundgård fix(form): update date input and picker 603d01f051
Marius Lundgård fix(form): use border instead of shadow for reference input 3374503b79
Marius Lundgård fix(form): use border instead of shadow for file input c8e241c79b
Marius Lundgård fix(studio): update global styles 1a837bf9fd
Marius Lundgård fix(studio): decrease heading size in config issues dialog 4a5349f9a2
Marius Lundgård fix(ui): change copy from 'Updated' to 'Edited' fc15d0d283
Marius Lundgård fix(desk): always use icon for publish action a7b54d7ec2
Marius Lundgård fix(desk): update inspect dialog ae499a4452
Marius Lundgård fix(desk): align pane header 5794688a6c
Marius Lundgård fix(desk): use json icon a7f792bfa9
Marius Lundgård fix(desk): align document actions dbab681f15
Marius Lundgård fix(ui): update document status components 14e9d4dfb9
Marius Lundgård fix(desk): align comment feature feedback 8658e93879
Marius Lundgård fix(deps): update @sanity/icons 174d209d3c
Marius Lundgård test(test-studio): update config 7a68d4ee86
Marius Lundgård test(studio): update snapshot dce8f2c8ab
Marius Lundgård fix(form): align elements cd541591b5
Marius Lundgård fix(i18n): simplify copy ea3e77e466
Marius Lundgård fix(desk): align id container 463646bfa3
Marius Lundgård fix(ui): include paddingY property 415240ce57
Marius Lundgård fix(desk): simplify copy 9e15e9ea34
Marius Lundgård fix(ui): align document status 93bc894258
Marius Lundgård fix(studio): simplify TextWithTone component 928ca2adf6
Marius Lundgård fix(desk): align document status bar 60b17faeb9
Marius Lundgård fix(studio): update scrollbar style 8a42dcd4e2
Marius Lundgård fixup! fix(studio): update scrollbar style f45896d88c
Robin Pyon fix(deps): update @sanity/ui 46882244c2
Robin Pyon fix: update global search date picker styles, remove unused LazyTextInput component c4b4187c07
Robin Pyon fix: use correct tooltip styling for search datetime errors, simplify + remove Translate usage 993599753e
Robin Pyon fix: expose document status indicator and tooltip in global search results 4c049a7bc1
Robin Pyon fix: update global search result item padding 0cf060e0de
Robin Pyon fix: re-use StatusButton component in mobile search header, localize tooltip text 24ed95b912
Robin Pyon fix: ensure focus is returned when closing search (defer focus handling to <FocusLock>) 1c6a62c975
Robin Pyon fix: remove responsive styles from global search filters 91a361fb82
Robin Pyon chore: update snapshots 9b253d9c57
Robin Pyon feat: animate search popover 74d513f8aa
Robin Pyon feat: add customized Popover and MenuItem components and enable animation, update comments daa0de504e
Robin Pyon refactor: simplify tooltip usage in ActionMenuButton 489765ca2d
Robin Pyon feat: detach global search position from header 9fed9cd49f
Pedro Bonamin fix(facelift): update focus ring offset in WithFocusRing cards ac8b995e72
Marius Lundgård fixup! fix(studio): update preview components fe28c7fdde
Marius Lundgård fix(form): update pte styles b6a852c437
Marius Lundgård fix(form): update border radius 86e85198d5
Marius Lundgård refactor(form): use theme v2 74f1a23f6d
Marius Lundgård fix(studio): render smaller avatars in document previews 48c9642b4f
Marius Lundgård fix(studio): set global selection color 3acc6f6aa7
Marius Lundgård fix(studio): increase button size in mobile search overlay c9fc18610e
Marius Lundgård fix(deps): update @sanity/ui ad87f0e65b
Robin Pyon fix: use updated background color for global search popover 02a70fc3a5
Marius Lundgård fix(studio): update default studio theme a01e31aeef
Marius Lundgård fix(studio): align navbar menus fbf967127d
Pedro Bonamin fix(deps): update @sanity/ui 8aac0c998f
Pedro Bonamin fix(facelift): remove duplicated const after rebase 3d28b0b888
Marius Lundgård fix(deps): update dependencies b80ba292a7
Marius Lundgård fix(preview): use icon color a827f29494
Marius Lundgård fix(tooltip): use regular font weight d9f319e0a9
Marius Lundgård fix(deps): update @sanity/ui 6d180e3fa2
Nina Andal Aarvik fix(desk): add tooltip on menuitem when disabled only (#5375) 0127ba72c2
Marius Lundgård fix(ui): do not show dot on hover 9813368087
Pedro Bonamin fix(core): fields actions position shift (#5348) 132cf0c6ca
Pedro Bonamin fix(facelift): self serve Inter font (#5374) e41ffcad94
Robin Pyon feat(desk): add responsive layout to document status bar c885024f2a
Robin Pyon feat(core): add locale switcher in navdrawer, update layout 83b47b8d0c
Pedro Bonamin chore(deps): update @sanity/ui c424b1d11a
Pedro Bonamin fix(facelift): update free trial to match facelift 9b04d87695
Nina Andal Aarvik fix(core/tests): fix failed tests (#5376) 0fd3ad1fa4
Pedro Bonamin chore(colocation): update location of the new components (#5383) 11887ba4e3
Pedro Bonamin fix(desk): update DeskRename popover e2c28d2c46
Pedro Bonamin chore(deps): update @sanity/ui 97a3ef9ee2
Robin Pyon fix: hide document status dot for published documents with no edits f208707352
Pedro Bonamin fix(core): updates after rebase fda5cdd0fb
Pedro Bonamin fix(tests): fix studio.spec test 45b2cdeb4e
Pedro Bonamin fix(comments): update spacing for SpacerAvatar dd3a249149
Pedro Bonamin fix(tests): remove studio.components.logo test 88b326f064
Pedro Bonamin fix(test-studio): remove i18n.loadNamespaces function d775fe6517
Pedro Bonamin fix(core): newDocumentButton filter not working in mobile f597584850
Pedro Bonamin fix(core): update corsOriginErroScreen 16f7fc5a5b
Pedro Bonamin chore(cleanup): clean pr changes 782cb8c64d
Pedro Bonamin chore(i18n): restore removed keys ec366f6610
Pedro Bonamin fix(i18n): translate DocumentStatus 12642b6158
Pedro Bonamin fix(tests): add react reference to fix broken test ebad2de6ad
Pedro Bonamin fix(core): update changes inspector revert confirmation popovers (#5398) 95144dff87
Pedro Bonamin chore(deps): update sanity/presentation package 6a29b6a2c7
Espen Hovlandsdal fix(i18n): regression in reference create button text e0976c2336
Espen Hovlandsdal refactor(core): use more specific path to hooks 6f577cabd5
Espen Hovlandsdal fix(i18n): init with all namespaces, optimize later 00c424a9f3
Bjørge Næss fix(cli): upgrade templates to use @sanity/ui@beta (#5401) 92fdc06d43
sanity -

Published by bjoerge 10 months ago

Installation and upgrading

To initiate a new Studio without installing the CLI globally:

npm create sanity@latest

To upgrade a v3 Studio, run this command in its folder:

npm install sanity@latest

📓 Full changelog

Author Message Commit
Bjørge Næss fix(cli): include command context in all trace event logs (#5397) 0ed9a81fc6
Espen Hovlandsdal chore(test-studio): upgrade locale packages b2ba465059
sanity - v3.22.0

Published by rexxars 10 months ago

Installation and upgrading

To initiate a new Studio without installing the CLI globally:

npm create sanity@latest

To upgrade a v3 Studio, run this command in its folder:

npm install sanity@latest

✨ Highlights

🌍 Publish! Veröffentlichen! Publicar! 公開!: Sanity Studio UI Localization! 🌍

The Translate the studio UI #1603 issue has been one of our most popular feature requests on GitHub. Now we can finaly close it, because we have launched Studio UI localization.

What's New?

  • Multilingual support: You can now configure the Sanity Studio user interface to use languages other than English. We're kicking off with many languages, including Spanish, French, Norwegian, German, Portuguese, Korean, Turkish, Icelandic, Thai, Vietnamese, Swedish, Finnish, Czech, Italian, Japanese, Chinese, and Polish. Don’t see your preferred language? It's easy to request additional language plugins!
  • AI-Translated language plugins: These initial translations are generated by AI — we're inviting the community (that’s you!) to help us improve and maintain these translations for accuracy and cultural relevance. Interested? Read more about how to contribute over on GitHub.

First steps to a localized Studio

This is our first step towards a fully global studio. The support for localization will grow, starting with our official plugins. We appreciate your patience and contributions as we expand these capabilities!

Getting started:

  • Choose your language: Visit github.com/sanity-io/locales to find the plugin for your desired language. If it's not listed, we’d love you to request it - we can do a first auto-translated pass, and you can help us review and improve the automated translations.
  • Plugin setup:
    • Ensure you are using Sanity version 3.22.0 or newer
    • Install the plugin for your desired language (npm install @sanity/locale-nb-no)
    • Import it (import {nbNOLocale} from @sanity/locale-nb-no
    • Add it to your studio's plugins array (plugins: [nbNOLocale()])
    • You’ll find full instructions on the locale plugin’s README!
  • Documentation:

We're eager to hear from you and welcome any feedback. This is just the beginning, and your insights are invaluable in making Sanity Studio even better.

Introducing telemetry 📡

As a product company, we have to prioritize what to work on. Ideally, those decisions are based on a healthy amount of vision (how we think things could be better) and insight (how people use the product). We have had a good amount of the former but less of the latter.

With this release, we’re introducing telemetry data collection in the CLI and Studio. Participation is optional, and you can easily opt-out by running npx sanity telemetry disable, setting the DO_NOT_TRACK=1 environment variable, or visiting Account Settings in Manage. For more details on what data is collected, how it’s being used, and how consent is handled, go to sanity.io/telemetry.

Other features

  • Adds experimental support for using Bun as package manager when creating new Sanity projects (bun create sanity)
  • Adds ability to customize the suffix added to auto-generated GraphQL filter types (Filter by default), by configuring filterSuffix in the GraphQL configuration of sanity.cli.ts

🐛 Notable bugfixes

  • Fixes issue where annotation popover would open in the wrong location when selecting annotation text in the Portable Text editor
  • Fixes removal of marks in the Portable Text editor not always cleaning up unused mark definitions
  • Fixes issue where Portable Text editor would crash when attempting to use annotations on text over multiple blocks
  • Fixes issue in which new empty text blocks were added when adding a non-text block in the Portable Text editor.
  • Fixes an issue where selecting a custom API version in the Vision tool would sometimes crash

📓 Full changelog

Author Message Commit
Espen Hovlandsdal chore(test-studio): add locale plugins fe21e8258b
Nina Andal Aarvik fix(core): add timestamps to all preview components (#5352) 2083fd31d2
Nina Andal Aarvik fix(core): simplify code for getting preview paths (#5360) 423c1b4c63
Nina Andal Aarvik fix(core): prevent annotation popover from jumping when opening (#5280) 8c77a10582
Binoy Patel chore(e2e): add @sanity/test package (#5359) 5acafe9f0e
Pedro Bonamin fix(pte): clear unused markdefs when removing annotations (#5254) 41552c305c
Pedro Bonamin fix(pte): disable multiple blocks annotations (#5257) 74528480a8
Pedro Bonamin fix(pte): removes empty text block when inserting a new block in that position (#5271) b6ef7dc366
Pedro Bonamin fix(core): update getPreviewPaths function (#5362) a70bf39f85
renovate[bot] fix(deps): update dependency @sanity/presentation to v1.2.1 (#5364) d0a43f6128
Espen Hovlandsdal docs(import): add missing allowFailingAssets option to readme 072fccd684
Pedro Bonamin fix(pte): add transalation to disabled tooltip text (#5366) da54a288bf
Pedro Bonamin fix(pte): update removing annotations function (#5267) d4e5409ea2
Pedro Bonamin feat(free-trial): adds free trial button, popover and modal. (#5345) 16a8b58d3b
Herman Wikner refactor(core): desk renaming popover (#5369) 5de2c6f184
Espen Hovlandsdal chore(deps): upgrade jsdom dependency (#5327) 05287bedf7
Rico Kahler fix(i18n): fix incorrect menu items; localize default group titles (#5370) bd87ffc4b7
Binoy Patel feat(graphql): add support for customizing the filter suffix for graphql types (#5372) 67dee782a5
Binoy Patel fix(vision): fixes an issue where selection other would crash (#5377) 87e5493fbb
Espen Hovlandsdal test(block-tools): update snapshots to account for i18n changes bc1bdd8572
Bjørge Næss fix(cli): add (experimental) support for bun as package manager (#5356) 0c6a32ee43
Herman Wikner feat(core): document layout (#5340) adaae0e7eb
ecospark[bot] chore(deps): dedupe yarn.lock (#5379) a52187194d
Pedro Bonamin fix(free-trial): add apiVersion stamp to free trial request (#5385) 785d87caf6
Bjørge Næss feat(cli) add telemetry scaffolding (#5321) 69dfe87ad9
Espen Hovlandsdal fix(i18n): add missing string for cancelling uploads (#5388) 2a7aff1e5c
Espen Hovlandsdal feat(i18n): use last registered locale as default (#5381) 30cbe315ab
Espen Hovlandsdal chore(design-studio): fix incorrect type import e164745fcc
Espen Hovlandsdal fix(i18n): give default root structure node an i18n title 2b16afb474
Espen Hovlandsdal fix(i18n): translate placeholder text for tags input 3dae10b491
Espen Hovlandsdal fix(i18n): translate structure tool loading pane 7f517d2e35
Rune Botten docs: update readme contribution info (#5365) 9cd0cb2cb2
Bjørge Næss feat(cli): instrument cli with telemetry events (#5320) 75e4555de5
Per-Kristian Nordnes fix(portable-text-editor): return unless range count (#5391) 5b3492b6e3
Espen Hovlandsdal refactor(free-trial): fault tolerance, code conventions (#5387) 8b03846dcb
Bjørge Næss feat(cli): add telemetry cli commands (#5322) 02f4cf25eb
Bjørge Næss feat(cli): add env var for logging telemetry events to file (#5347) 44008f4a15
Per-Kristian Nordnes refactor(portable-text-editor): remove obsolete code (#5393) e4bc20df1a
Bjørge Næss fix(cli): improve telemetry exit flushing (#5392) 53232c7392
Espen Hovlandsdal fix(i18n): correct "create new" button translation labels 4790958e19
sanity - v3.21.3

Published by rexxars 10 months ago

Installation and upgrading

To initiate a new Studio without installing the CLI globally:

npm create sanity@latest

To upgrade a v3 Studio, run this command in its folder:

npm install sanity@latest

🐛 Notable bugfixes

  • Fixes a missing export for a newly introduced typescript type

📓 Full changelog

Author Message Commit
Espen Hovlandsdal fix(core): export LocaleWeekInfo type 759c476f35
sanity - v3.21.2

Published by rexxars 10 months ago

Installation and upgrading

To initiate a new Studio without installing the CLI globally:

npm create sanity@latest

To upgrade a v3 Studio, run this command in its folder:

npm install sanity@latest

🐛 Notable bugfixes

  • Fixes virtualization issue which caused array items to erroneously be hidden when navigating between groups inside a modal
  • Fixes Portable Text Editor in expanded mode not closing when switching tabs/views
  • Fixes date/datetime inputs and date search filters showing incorrect week day in calendar

📓 Full changelog

Author Message Commit
Robin Pyon fix: prefer narrow relative time formatting in useRelativeTime (#5338) 6e76d89c32
renovate[bot] fix(deps): update dependency @sanity/presentation to v1.1.5 (#5341) 95ccd44b6d
Espen Hovlandsdal refactor: fix strict typing error 40170169f1
Ash fix(form): recalculate virtualized descendants when selected group changes (#5314) ed726878ff
Nina Andal Aarvik fix(core): close PTE fullscreen when changing tab (#5251) 4d62fbb016
Espen Hovlandsdal fix(core): incorrect week day names for calendar (#5342) f5c1927799
Rico Kahler feat(i18n): localize menu items (#5308) d08ce66741
Rico Kahler chore(i18n): use @sanity/eslint-config-i18n (#5349) c8229383a1
renovate[bot] fix(deps): update dependency @sanity/presentation to v1.1.6 (#5346) a7eb2f8e48
Espen Hovlandsdal feat: expose all locale info from useCurrentLocale hook (#5343) 6ad0e3f2ec
Espen Hovlandsdal refactor(i18n): lift date time formatting hook a1c502a65a
Espen Hovlandsdal refactor(i18n): lift list formatting hook 4b95cf43f1
Espen Hovlandsdal refactor(i18n): lift number formatting hook 6effc8b181
Espen Hovlandsdal refactor(i18n): align tsdoc tags for i18n exports 64a8edad9c
Espen Hovlandsdal feat(i18n): add weekInfo to locale definition facf708509
Espen Hovlandsdal feat(core): make calendars aware of locale week start day dc50df99fa
renovate[bot] fix(deps): update dependency @sanity/presentation to v1.2.0 (#5358) 7248a04fee
renovate[bot] fix(deps): update dependency @sanity/client to ^6.10.0 (#5357) 260387af49
sanity - v3.21.1

Published by binoy14 11 months ago

Installation and upgrading

To initiate a new Studio without installing the CLI globally:

npm create sanity@latest

To upgrade a v3 Studio, run this command in its folder:

npm install sanity@latest

🐛 Notable bugfixes

  • Fixes an issue where studio would crash when embedded inside a vite app

📓 Full changelog

Author Message Commit
renovate[bot] fix(deps): update dependency @sanity/client to ^6.9.3 (#5336) 5a7bde14b8
renovate[bot] fix(deps): update dependency @sanity/presentation to v1.1.3 (#5335) 98f46f18a7
Binoy Patel fix(core): fixes issue where studio crashes when embedded w/ vite (#5337) 7dd3f250ce
sanity - v3.21.0

Published by binoy14 11 months ago

Installation and upgrading

To initiate a new Studio without installing the CLI globally:

npm create sanity@latest

To upgrade a v3 Studio, run this command in its folder:

npm install sanity@latest

🐛 Notable bugfixes

  • Removes a console warning about using an experimental API version
  • Adds type declarations for the assetRequired rule to validation for image and file schema types
  • Fixes an issue in the Next.js template where the urlForImage function would return a class instead of a url
  • Fixes an issue where the image crop tool would not work on touchscreen devices with connected pointer devices
  • Fixes a bug in the Portable Text Editors drag-and-drop functionality that would make any block which opens in a modal, that was dragged and placed directly above an array block wrongly affect the array, leading to a “Can’t upload this file here” error
  • Fixes an issue where the --skip-cross-dataset-references flag was not working with sanity dataset import

📓 Full changelog

Author Message Commit
Cody Olsen fix: remove circular dependency between useGlobalPresence and usePresenceStore (#5286) 5aa6c74c27
Cody Olsen fix: prevent props that are unknown html attributes from passing through (#5284) edf2709c2d
Ash fix(form): include group name in group tab test id (#5278) 6890b10082
Espen Hovlandsdal chore: prevent tests, workshop files from being published (#5276) ee008de773
Snorre Eskeland Brekke feat(i18n): proof of concept i18n framework daa3fa8020
Espen Hovlandsdal fix(core): adjust mismatched tsdoc visibility f855ec8c21
Espen Hovlandsdal fix(i18n): fallback when no localStorage is available d1dee316c4
Espen Hovlandsdal refactor(i18n): drop ability to provide i18n init options bf6b172729
Espen Hovlandsdal chore(i18n): provide example of local studio localization 8f8de21d8b
Espen Hovlandsdal refactor(core): dedupe localStorage checks 060753e840
Espen Hovlandsdal refactor(config): improve i18n config error messages 4676485f69
Espen Hovlandsdal refactor(i18n): align naming to locale over language/i18n 843a6935d4
Espen Hovlandsdal refactor(i18n): drop default namespace exception in backend ebf2f5ef4e
Espen Hovlandsdal feat(i18n): make backend retry on failure to load bundles 32c2dc26a7
Espen Hovlandsdal refactor(i18n): simplify i18next initialization, providers d849edd068
Espen Hovlandsdal refactor(i18n): limit exposure to i18next library 593bab95cb
Espen Hovlandsdal refactor(i18n): drop unused resource key test 99190097fe
Espen Hovlandsdal refactor(i18n): add i18n property to config context 31609cba9b
Espen Hovlandsdal refactor(i18n): provide a smaller locales object through context 5f310164af
Espen Hovlandsdal fix(i18n): drop use of flags for languages 2a8b5a7c12
Espen Hovlandsdal fix(i18n): change tsdoc visibility tag for LocaleSource 2cbb3c14b3
Espen Hovlandsdal fix(i18n): annotate alpha/beta items with @hidden 3a1e589232
Espen Hovlandsdal feat(i18n): weave locale source into validation context b34301e1c9
Espen Hovlandsdal refactor(types): use interface instead of type for ValidationContext 3308ab07c6
Espen Hovlandsdal refactor(i18n): do not load language variations for now 848d17433d
Espen Hovlandsdal fix(desk): show all validation errors for a given path f6e39806e3
Espen Hovlandsdal feat(i18n): add loadNamespaces method to i18n source f0cb6e3edf
Espen Hovlandsdal feat(i18n): localize default validation messages 7ac27f6fe1
Espen Hovlandsdal fix(i18n): error in minimal seconds/minutes localization string 0c00667208
Espen Hovlandsdal feat(i18n): allow specifying object of localized validation messages e97f60693e
Espen Hovlandsdal chore(test-studio): provide norwegian validation strings 49d62e7631
Espen Hovlandsdal fix(i18n): hide internal helper method, use explicit exports 760a2f9e4c
Espen Hovlandsdal chore(test-studio): include validation example with "all" types 0c3502a86b
Espen Hovlandsdal fix(core): re-export ValidationContext from sanity module b4739732e5
Espen Hovlandsdal feat(i18n) allow returning localized messages from custom validators 9ebec52cf2
Espen Hovlandsdal refactor: do not expose locale namespaces as exports e00cbf5b53
RitaDias feat(desk): add i18n primitives to ChangesInspector b3036a07d0
RitaDias feat(desk): add i18n primitives to NoChanges a45ae42265
RitaDias feat(desk): add i18n primitives to LoadingContent 02c99cc2d9
RitaDias feat(desk): add i18n primitives to ChangeList - Change all button 1aae71b596
RitaDias feat(desk): add i18n primitives to FieldChange 6d6010e735
RitaDias feat(desk): add i18n primitives to GroupChange 8331556127
RitaDias feat(desk): add i18n primitives to DiffTooltip e9f5b42e4e
RitaDias feat(desk): add i18n primitives to timelineMenu ac2c3fc21f
RitaDias feat(desk): add i18n primitives to TimelineError a7f553b420
RitaDias feat(desk): add i18n primitives to timeline db821b8a72
RitaDias feat(desk): add i18n primitives to timelineItem + removal of unused consts 162e5dc28e
RitaDias refactor(desk): capitalisation on i18n for timeline 2e527d39d3
RitaDias refactor(desk): remove unneeded method for revLabel 9921ad05b9
RitaDias refactor(desk): remove unused imports + rely on i18n translate for time formatting - timelineMenu 895a3b8058
RitaDias refactor(desk): remove "desk" prefix from resources b9caa15531
RitaDias refactor(desk): remove "core" prefix from studio 24de8058dd
RitaDias refactor(core): add plural to diff "revert changes" 3490c08e55
RitaDias refactor(desk): update error subgroup c6b9baa995
RitaDias chore(desk): remove unused usememo 67c46a7d70
RitaDias fix(core): add 'action' subgroup to core (change panel) c7b443db2d
RitaDias fix(core): add 'action' subgroup to desk (change panel) 61ecda0f63
Espen Hovlandsdal refactor: move all change-related resources to core 77695e5ff4
Espen Hovlandsdal refactor: pluralize revert changes confirmation 1e88672df3
Espen Hovlandsdal refactor: sort dependencies of useMemo call e20f492890
Espen Hovlandsdal refactor: use unabbreviated resource strings ef190e60d2
Espen Hovlandsdal refactor: move timeline resources into core 4bbffd5517
Espen Hovlandsdal refactor: import from sanity, not i18next bf51e999d8
Espen Hovlandsdal refactor: remove unused import b1a4ebae22
RitaDias feat(core): add i18n primitives to SlugInput 86d3373113
Espen Hovlandsdal refactor(i18n): use inputs subgroup for resource keys 264ef2c7ad
RitaDias feat(vision): add translation bundle + "dataset" translate key 0cc3a198ea
RitaDias feat(vision): add i18n primitives to VisionGui 375df2e195
RitaDias feat(vision): add i18n primitives to PerspectivePopover 02ab21838c
RitaDias feat(vision): add i18n primitives to perspectives dropdown (adjust consts) 199751f633
RitaDias feat(vision): add i18n primitives to QueryErrorDetails 8f12e0711c
RitaDias feat(vision): add i18n primitives to tryParseParams c2d08172a3
RitaDias fix(vision): add missing 't' param to tryParseParams in ParamsEditor b6ab76264a
Espen Hovlandsdal refactor(vision): reorganize strings by responsibility, move i18n into src f58c2316e3
RitaDias feat(core): add i18n primitives to StudioNavBar 3e8872f8f7
RitaDias feat(core): add i18n primitives to WorkspaceMenuButton 8b3ee10c77
RitaDias feat(core): add i18n primitives to NewDocumentButton 22f3e401ba
RitaDias feat(core): add i18n primitives to SearchDialog a0c84fad55
RitaDias feat(core): add i18n primitives to Filters fbfb5f303c
RitaDias feat(core): add i18n primitives to FilterPopoverContentHeader + DocumentTypesPopoverContent 782c12ba2e
RitaDias feat(core): add i18n primitives to FilterButton 74a4c65be8
RitaDias feat(core): add i18n primitives to AddFilterButton 7c85b25969
RitaDias feat(core): add i18n primitives to AddFilterPopoverContent + add plural for "filters" + generic no search found ff37beb2e7
RitaDias feat(core): add i18n primitives to NoResults 45c88e97e0
RitaDias feat(core): add i18n primitives to SearchPopover 224e142a21
RitaDias feat(core): add i18n primitives to SearchResults a86f88fb5d
RitaDias feat(core): add i18n primitives to SearchError d9b9aee9df
RitaDias feat(core): add i18n primitives to RecentSearches defe3bd0be
RitaDias feat(core): add i18n primitives to Instructions c8827e141a
RitaDias feat(core): add i18n primitives to ConfigIssuesButton 60801beed0
RitaDias feat(core): add i18n primitives to SchemaProblemGroups 847cb1b696
RitaDias feat(core): add i18n primitives to ResourcesButton 44705baf92
RitaDias feat(core): add i18n primitives to ResourcesMenuItems 43f9db29bb
RitaDias feat(core): add i18n primitives to UserMenu + AppearanceMenu 0cd9e3bfac
RitaDias feat(core): add i18n primitives to LocaleMenu d89f4670a9
RitaDias feat(core): add i18n primitives to NavDrawer 65bd1da117
RitaDias feat(core): add i18n primitives to NewDocumentList 21a477fa91
RitaDias feat(core): add i18n primitives to NewDocumentListOption b7a932db9a
RitaDias feat(core): add i18n primitives to PresenceMenu 126c5b8829
RitaDias feat(core): add i18n primitives to PresenceMenuItem 548dac95d9
RitaDias feat(core): add i18n primitives to FilterTooltip 109dca749d
RitaDias feat(core): add i18n primitives to createFilterMenuItems 4489693c97
RitaDias feat(core): add i18n primitives to ButtonValue 43e4610a2a
RitaDias feat(core): add i18n primitives to Asset aec0156e70
RitaDias feat(core): add i18n primitives to AssetSourceError d8b9866586
RitaDias feat(core): add i18n primitives to Boolean 1cbbad92e3
RitaDias feat(core): add i18n primitives to Number 142aaa34c6
RitaDias feat(core): add i18n primitives to NumberRange a292a859a3
RitaDias feat(core): add i18n primitives to Reference 47138ff320
RitaDias feat(core): add i18n primitives to ReferenceAutocomplete 1059d175cf
RitaDias feat(core): add i18n primitives to String f4db5f93bd
RitaDias feat(core): add i18n primitives to StringList 7a3841c7d2
RitaDias feat(core): add i18n primitives to FilterError 2677178f86
RitaDias feat(core): add i18n primitives to SearchHeader 5d8e790408
RitaDias feat(core): add i18n primitives to useSearchState 11b3330e6b
RitaDias feat(core): add i18n primitives to documentTypesTruncated 5e20a23f0a
RitaDias fix(core): workplace -> workspace fe85683207
RitaDias feat(core): add i18n primitives to Layout (in WorkspaceAuth) 60b158675d
RitaDias feat(core): add i18n primitives to WorkspaceAuth 19a804e8f6
RitaDias refactor(core): way that intruction for search was being called ff036a4c6d
RitaDias chore(core): update packages/sanity/src/core/i18n/bundles/studio.ts typo 3d3c74f16a
RitaDias chore(core): remove unused keys from workspace menu d09bf78c8d
RitaDias chore(core): update comments for fall back links for help and resources 9bef0c3b8b
RitaDias refactor(core): use component in NewDocumentList + ReferenceAutocomplete f3adc73571
RitaDias refactor(core): use Trans component in SchemaProblemGroups c04cc05c69
Espen Hovlandsdal fix(core): inconsistent navbar prefix 5338da40e0
Espen Hovlandsdal fix(core): fix namespace generic for TFunction b16807c1cb
Espen Hovlandsdal refactor: improve resource string names for new documents menu, workspace selector f2d503824d
Espen Hovlandsdal feat(core): add sliceString/truncateString unicode utility functions 6343939fb5
Espen Hovlandsdal refactor(i18n): move search resources out of navbar prefix 8a4620e190
Espen Hovlandsdal refactor(i18n): align remaining search filter resources a8891f6249
Espen Hovlandsdal refactor(i18n): drop configuration issues translations for now f4a6fb4c07
Espen Hovlandsdal refactor(i18n): drop navbar prefix for help & resources menu cb76b075fa
Espen Hovlandsdal refactor(i18n): prepare to send locale for help & resources request 4d37f89fc5
Espen Hovlandsdal refactor(i18n): drop navbar prefix for user menu resources 894a5dc810
Espen Hovlandsdal refactor(i18n): drop navbar prefix for presence resources 8fdc4b5de4
Bjørge Næss feat(i18n): implement simplified Translate component (#4921) c42d65b5f2
Espen Hovlandsdal refactor(i18n): drop unused imports in useLocale hook b48aebd5dd
Espen Hovlandsdal refactor(i18n): allow string arrays as values c61fe1ccff
Espen Hovlandsdal refactor(i18n): make components prop required for e970afc784
Bjørge Næss feat(i18n): convert date/datetime input strings to use i18n primitives (#4973) 8ecf93a303
Espen Hovlandsdal feat(i18n): add useIntlListFormat hook 259e901583
Espen Hovlandsdal feat(i18n): localize reference input 6289e546cd
Espen Hovlandsdal fix(i18n): improve error message on whitespace in translation components 0af303b500
Espen Hovlandsdal feat(i18n): localize reference preview 8e0b035a5f
Espen Hovlandsdal chore: minor norwegian i18n fix (timeAgo needs complete refactoring) 52a42d7509
Espen Hovlandsdal refactor(i18n): drop unused value in locale message 2591ef6afb
Espen Hovlandsdal refactor(i18n): use consistent naming (searchTerm over searchString) b501d21961
Espen Hovlandsdal refactor(i18n): add missing visibility tag to useIntlListFormat 92ba78f8df
RitaDias feat(core): add i18n primitives to Grid/ErrorItem + List/ErrorItem 123b06dbc4
RitaDias feat(core): add i18n primitives to GridArrayInput + ListArrayInput 13162e1452
RitaDias feat(core): add i18n primitives to IncompatibleItemType (array, grid, list) 8e563d504f
RitaDias feat(core): add i18n primitives to GridItem + PreviewItem 0945e0947c
RitaDias feat(core): add i18n primitives to ArrayOfObjectsFunctions + ArrayOfPrimitivesFunctions 524a664e2d
RitaDias refactor(core): use Trans component in InsertMenu e1c567816b
RitaDias feat(core): add i18n primitives to uploadTarget in array inputs 7b1c2b8c88
RitaDias feat(core): add i18n primitives to ArrayOfObjectsItem e0f2c6902a
Espen Hovlandsdal refactor: drop unused imports a7c344ab2c
Espen Hovlandsdal refactor(i18n): drop use of <Trans /> component b204882e16
Espen Hovlandsdal fix(i18n): use translated strings for primitive array item row actions 8da638f3ab
Espen Hovlandsdal refactor(i18n): remove unused import c34ab6908b
Espen Hovlandsdal chore(test-studio): use norwegian schema for allTypes type feefa564fe
Bjørge Næss feat(i18n): convert document actions strings to use i18n primitives (#4968) caf69d4a2e
Bjørge Næss feat(i18n): convert file, image and imagetool input strings to use i18n primitives (#4984) 23b96581b6
Tommy Petty feat(i18n): convert review changes button to use i18n primitives (#4993) 4b769b53a0
Tommy Petty fix(i18n): camelCase to kebab-case for resource ids (#4994) 71ec6ad84b
Espen Hovlandsdal feat(i18n): add internal intlCache for instances 95405816db
Espen Hovlandsdal refactor(i18n): make useIntlListFormat() hook use intlCache aeeb20c243
Espen Hovlandsdal feat(i18n): implement relative time/timeAgo using i18n primitives 4984d548c3
Espen Hovlandsdal refactor(i18n): reimplement timeAgo using Intl APIs only be7182a49c
Espen Hovlandsdal refactor: use RelativeTime instead of TimeAgo e0e7cafb6a
Espen Hovlandsdal test: add LocaleProvider to TestProvider c4cf286747
Espen Hovlandsdal feat(i18n): use i18n primitives for publish status button 96b6862fec
Espen Hovlandsdal chore(i18n): add missing norwegian resource strings a8f44defd9
Espen Hovlandsdal feat(i18n): use i18n primitives for document changes, validation panels f8919499b4
Espen Hovlandsdal feat(i18n): use i18n primitives for inspect dialog, document pane menu items 6910c6d684
Espen Hovlandsdal refactor(i18n): use kebabcased resource names for "help & resources" 1d12b3537f
Espen Hovlandsdal feat(i18n): add flag for debugging i18n (#5010) b5e328ca56
Tommy Petty chore(i18n): add the i18next/no-literal-string eslint rule (#4999) 6a56e9739b
Espen Hovlandsdal refactor(i18n): pass locale to help/versions check (#5022) 1f2e7196e3
Espen Hovlandsdal feat(i18n): provide formatted duration hook (useFormattedDuration) (#5014) 9ef27b8de9
Espen Hovlandsdal fix(i18n): add missing calendar labels (#5011) ef71aabb37
Tommy Petty chore(i18n): add no-literal-string lint exceptions for workshop dirs (#5064) 73b88b0658
Rico Kahler chore: add eslint-plugin-no-attribute-string-literals (#5086) 685db474da
Tommy Petty feat(i18n): add localization for UnknownPaneType (#5019) c15012cdd8
Tommy Petty feat(i18n): adds translation for desk panes (#5085) 669ef6488d
Rico Kahler feat(desk): localize desk tool components 0e91a727f4
Rico Kahler chore(core): add release tags to RelativeTime 1f9141ad7f
Rico Kahler fix(i18n): move quotes to resource string 6c7703929e
Espen Hovlandsdal feat(i18n): allow certain simple HTML tags when using Translate component (#5114) 7c192c82d8
Espen Hovlandsdal fix(i18n): allow < and > before/after tags in resource strings ccf2323fd9
Espen Hovlandsdal fix(i18n): allow more types as values for Translate component f1f88b4d89
Espen Hovlandsdal feat(i18n): add useUnitFormatter hook 206428d140
Espen Hovlandsdal feat(i18n): add useIntlDateTimeFormat hook 0a28b22471
Espen Hovlandsdal feat(i18n): localize global search filters and results 461a268077
Espen Hovlandsdal feat(i18n): allow debugging i18n by using right-to-left modifier d6860bfcde
Espen Hovlandsdal fix(i18n): drop microsecond, nanosecond from unit formatter e3d8760fa6
Espen Hovlandsdal feat(i18n): translate/localize diff components (#5129) 036bcc4bbb
Espen Hovlandsdal refactor: minor type import adjustments 52e716ff4c
Espen Hovlandsdal fix(i18n): pass through the count parameter to replacement values (#5138) bb65da9d26
Espen Hovlandsdal feat(i18n): translate form field components (#5137) e69303e3b1
Tommy Petty fix(i18n): rework translation keys for form/inputs/files (#5134) 968051311a
Tommy Petty feat(i18n): updates translation for object form inputs (#5135) b61a8042b5
Tommy Petty chore(i18n): temporarily ignore i18n in Comments files (#5143) 32e9d8d0e3
Rico Kahler feat(i18n): fix confirm delete dialog (#5139) 5a538b2ee8
Espen Hovlandsdal feat(i18n): translate preview components (#5159) 023f4f7bf6
Espen Hovlandsdal feat(i18n): translate/localize references, cross-dataset references 75e619821c
Espen Hovlandsdal refactor(i18n): simplify "no results" message by using simple components 73155016f8
Espen Hovlandsdal refactor(i18n): simplify simple translation usages 9ddda8ef13
Tommy Petty chore(i18n): updates eslint config to exclude more comments files (#5167) 0e476ffcc6
Tommy Petty chore(i18n): fixes missing react import for some files (#5182) 7bf1e4f26a
Bjørge Næss fix(core): remove unused css selector 18152ec6a4
Bjørge Næss refactor(form): improve internal structure of default asset source 8dfd3eb4f7
Bjørge Næss feat(i18n): localize default asset source 89791c5139
Rico Kahler feat(i18n) localize insufficient permissions message (#5140) 602faefc52
Tommy Petty chore(i18n): adds missing react import (#5206) 5b58d3f738
Espen Hovlandsdal chore(i18n): add missing Norwegian translations ed286722ef
Espen Hovlandsdal chore(i18n): add missing Norwegian desk translations 1be5c7eab6
Espen Hovlandsdal fix(i18n): correct title text for pane context menu button 52a0faf804
Espen Hovlandsdal feat(i18n): expose useIntlDateTimeFormat hook 00df52277f
Espen Hovlandsdal feat(desk): use localized date time format for timeline 49c3b9440c
Tommy Petty chore(i18n): ignore i18n eslint rules for files out of scope for translation (#5220) d4c75977c3
Tommy Petty feat(i18n): adds missing translation for a few random files d4939da2b5
Espen Hovlandsdal feat(i18n): translate portable text editor (#5225) 532569e58a
Espen Hovlandsdal refactor(i18n): adjust types to correct i18nTitle rename 0f8e783012
Espen Hovlandsdal feat(i18n): add a few missing translations for aria labels 7de94dfa36
Espen Hovlandsdal refactor(core): drop duplicate export of ValidationContext 9671724cee
Espen Hovlandsdal refactor(core): prevent circular reference e243f6e28a
Espen Hovlandsdal feat(i18n): translate insert block/inline object actions for PTE cc2e9706b0
Espen Hovlandsdal refactor(i18n): align changes i18n keys (change => changes) affb972607
Espen Hovlandsdal feat(i18n): translate vision to norwegian 53da0a9e09
Espen Hovlandsdal refactor(i18n): add missing norwegian strings 5c53fa9792
Espen Hovlandsdal refactor(i18n): rename desk namespace to structure c43834483b
Espen Hovlandsdal refactor(i18n): allow english strings in desk rename prompt 87907c39b6
Espen Hovlandsdal fix(i18n): use static titles for workspace links a7239ea7aa
Espen Hovlandsdal refactor: work around console warning from eslint 1ad49fcd07
ecospark[bot] chore(deps): dedupe yarn.lock (#5289) 54b2350710
ecospark[bot] chore(deps): dedupe yarn.lock (#5295) 5bf0088336
Pedro Bonamin fix(dialog): drag events in edit portal are applied to underlying elements (#5282) a7e0ec8bab
Robin Pyon fix: ensure image tool drag handles work when both coarse + fine pointers are present (#5277) 69ed0fcd6f
RD fix(cli): next template image url builder not returning a url (#5293) 0bfc989976
Espen Hovlandsdal feat(i18n): allow debug mode that only logs 6a544b020a
Espen Hovlandsdal feat(i18n): add helper to remove undefined locale resources from object 60176a3959
Espen Hovlandsdal fix(i18n): correct return type for undefined locale resource helper 0f3eae07ef
Espen Hovlandsdal fix(i18n): fix incorrect key being used for create button 2e57c5b1ef
Cody Olsen fix: update rollup and esbuild tooling (#5243) 962c11cb28
ecospark[bot] chore(deps): dedupe yarn.lock (#5301) 9ea7537dba
Espen Hovlandsdal fix(i18n): inconsistent name for document inspector item 26b795b0d6
Espen Hovlandsdal refactor(i18n): use separate prefix for changes timeline operations fa9392ca51
Espen Hovlandsdal refactor(i18n): sort resource keys alphabetically df3152f58c
Binoy Patel test(ci): move cli test to separate workflow without sharding (#5292) 91d2481593
Binoy Patel fix(core): add missing assetRequired type to image and file rule (#5303) 1916c31d26
Binoy Patel feat(i18n): localize datetime input placeholder (#5304) c91c16fa8c
renovate[bot] fix(deps): update dependency @sanity/presentation to v1.0.13 (#5312) 31ff42a242
Robin Neatherway fix(cli): make dataset import --skip-cross-dataset-references flag work (#5297) c9877a75a3
Tommy Petty chore(core): update CODEOWNERS file to use teams over individuals (#5315) 70a3fbcdfd
Espen Hovlandsdal fix(i18n): correct permission check banner interpolation (#5326) 7b83ad58d7
Espen Hovlandsdal fix(i18n): invalid key for cdr "copy id to clipboard" button tooltip (#5324) 86a09fddc1
Binoy Patel feat(i18n): localize PTE activation message (#5305) f0b042ee1a
Espen Hovlandsdal fix(i18n): key being used instead of translated value (#5323) d2b7ec6ac8
Espen Hovlandsdal chore(test-studio): drop no-nb locale plugin (#5325) 1c4b3ada21
Robin Neatherway fix(cli): improve help output of dataset import command (#5318) 5018ea0bdc
Robin Pyon fix(i18n): use correct keys for file asset source headings and accepted types (#5328) dddcdc15e6
renovate[bot] chore(deps): update dependency @sanity/pkg-utils to ^3.3.2 (#5330) 7fc47af1b9
renovate[bot] fix(deps): update dependency @sanity/presentation to v1.1.1 (#5331) 3bd2fe34d9
Herman Wikner fix(core): presence menu ui (#5298) f2f6f40a16
Herman Wikner fix(core): field actions hidden state (#5317) 92f35f180e
Espen Hovlandsdal fix(comments): experimental API warning for dataset profile request (#5329) 55edc2ef03
Cody Olsen fix: delete unused focus managers internals (#5283) 5d3e825837
sanity - v3.20.2

Published by binoy14 11 months ago

Installation and upgrading

To initiate a new Studio without installing the CLI globally:

npm create sanity@latest

To upgrade a v3 Studio, run this command in its folder:

npm install sanity@latest

🐛 Notable bugfixes

  • Improves the Portable Text Editors backspace handling on text blocks that follows a non-text block
  • Fixes an issue where the Portable Text Editor would crash if a block with its children property set to undefined was inserted
  • Ensures that StudioLayout utilizes the components API when used in isolation
  • Fixes some performance issues related to entering text into all compatible Studio inputs. Typing in Studio inputs should now be noticably faster, in particular for schema types with a lot of deeply nested fields.
  • Adds node.module to package.json which improves compatibility with Webpack, Astro, Svelte and Vue

📓 Full changelog

Author Message Commit
Fred Carlsen fix(portable-text-editor): improve backspace handling on text blocks (#5252) 1f7dc76abb
Fred Carlsen fix(portable-text-editor): values util: ensure children value (#5253) 99244d8985
Herman Wikner fix(form): pte activate overlay (#5266) 9bc643ec0e
Bjørge Næss feat(perf): add cli flag for excluding patch releases (#5268) df6b45de8a
Bjørge Næss perf(form): improve form state reconciliation (#5269) a0f93cba74
renovate[bot] chore(deps): update dependency lerna to v5 (#5099) 5d8e0addb7
Per-Kristian Nordnes fix(form/inputs): optimize rendering of member inputs (#5205) 53359c846a
Herman Wikner fix(core): ensure that StudioLayout utilizes the components API (#5264) a417dced3f
Bjørge Næss fix(form): various typing speed improvements (#5270) 0d0c7d1121
Herman Wikner fix(comments): performance issue in CommentField (#5275) b305a8f634
ecospark[bot] chore(deps): dedupe yarn.lock (#5272) f1209d1e70
ecospark[bot] chore(prettier): fix unformatted files 🤖 ✨ (#5273) 7dbe376ca3
renovate[bot] fix(deps): update dependency @sanity/presentation to v1.0.8 (#5279) d2132b3c69
Cody Olsen fix: add node.module export condition (#4798) 50ee66e772
Binoy Patel fix(deps): downgrade lerna to v4 (#5287) c38a0a9569
sanity - v3.20.1

Published by ricokahler 11 months ago

Installation and upgrading

To initiate a new Studio without installing the CLI globally:

  npm create sanity@latest

To upgrade a v3 Studio, run this command in its folder:

  npm install sanity@latest

✨ Highlights

Improved support for non-Latin1 characters in URLs

Sanity Studio now handles characters outside of the Latin1 range in intent or structure tool pane payloads without crashing. This fix ensures better support for multilingual content and enhances worldwide usability.

Comments feature improvements

Continued improvements for the comments feature include a resolution to the layering issue that caused popovers to render behind the document pane.

The comments feature also received a quality-of-life enhancement by ensuring that the comment discard dialog appears above the document pane footer and headers, making it fully visible and accessible.

Lastly, we fixed a focus behavior where the reply comment input would unintentionally gain focus when clicking outside of it. Sanity Studio now maintains focus appropriately, only triggering when the comment input field is deliberately selected.

🐛 Notable bugfixes

  • Fixes the PTE toolbar menu behavior, ensuring only one menu can be open at a time.
  • Resolves the odd focusing issue around comment reply inputs.
  • Corrects the visual layering of the comment discard dialog to avoid it being hidden by other elements.

📓 Full changelog

Author Message Commit
Rico Kahler test(cli): disable exploding CI tests (#5223) 114114cac
Espen Hovlandsdal fix(router): use base64url for encoding parameter payloads (#5221) 457d3daa4
Herman Wikner fix(comments): context menu layer issue (#5203) 465ad4523
renovate[bot] chore(deps): update dependency @sanity/presentation to v1.0.6 (#5230) bc51e64f6
ecospark[bot] chore(deps): dedupe yarn.lock (#5204) d4d41e41f
renovate[bot] chore(deps): update dependency @sanity/pkg-utils to ^3.2.3 (#5191) f1756be0e
renovate[bot] chore(deps): update dependency prettier-plugin-packagejson to ^2.4.6 (#5192) 710055271
renovate[bot] chore(lockfile): update dependency @sanity/google-maps-input to v3.0.2 (#5195) f08df5be6
renovate[bot] chore(lockfile): update dependency @sanity/assist to v1.2.15 (#5193) 8f7a61463
renovate[bot] chore(deps): update dependency styled-components to ^6.1.1 (#5198) f121b17b2
Cody Olsen chore: update styled-components snapshot 13e5ced6b
renovate[bot] chore(deps): update linters (#5194) f9929682c
ecospark[bot] chore(prettier): fix unformatted files 🤖 ✨ (#5233) 8dd27dc76
Cody Olsen chore: set semantic commit scope for @sanity/presentation to fix f399c34cc
renovate[bot] fix(deps): update dependency @sanity/presentation to v1.0.7 (#5240) ec5520f46
Herman Wikner fix(comments): discard dialog z-offset (#5238) 2796ec78d
Herman Wikner fix(comments): reply input focus issue (#5232) d4d51d8a9
Herman Wikner fix(form): only allow one PTE toolbar menu to be open (#5249) 47c865d49
sanity -

Published by bjoerge 11 months ago

Installation and upgrading

To initiate a new Studio without installing the CLI globally:

npm create sanity@latest

To upgrade Sanity Studio, run this command in your project folder:

npm install sanity@latest

✨ Highlights

Introducing Presentation

Separating content from presentation shouldn’t create friction. With Presentation, you can work visually – with a clear view of structured content reuse. Presentation and visual editing is available on all plans.

Learn more about Presentation in the launch blog post

Introducing Comments (beta)

Streamline your content review process. From in-document communication to organized feedback, Comments enhances teamwork across all stages of content creation. The new Comments feature is available for projects on the new Growth plan, and up.

Learn more about the Comments beta launch

Desk is now Structure

With the launch of the new Presentation tool, we have renamed the Desk tool to Structure. There are no changes in APIs at this time and no required code changes. In the near future we will rename the export and add a deprecation warning to the existing deskTool.

For those that are depending on the old tool name desk in Studio customizations, this identifier changes to structure in this release and you should update your code accordingly.

Learn more about this change.

📓 Full changelog

Author Message Commit
renovate[bot] fix(deps): Update react monorepo (#5089) 0c851c6e4c
Cody Olsen chore: add focus path debug tooling (#5190) f833f0e80e
Marius Lundgård feat: re-export @sanity/presentation as sanity/presentation (#5200) 02736d599e
Bjørge Næss feat(desk): rename Desk to Structure in public facing UI (#5181) f2384402bf
Rico Kahler test(e2e): disable dataset creation per PR (#5210) d443e70335
Herman Wikner fix(core): field actions hidden issue (#5212) e3a39e66d1
Herman Wikner fix(comments): feedback footer font size and copy (#5215) 80e243ef93
Bjørge Næss fix(desk): change link to help article about the Desk - Structure rename (#5217) 51190b0dea
Bjørge Næss fix(deps): upgrade @sanity/client and @sanity/presentation (#5219) ef4de9a65c
sanity -

Published by bjoerge 11 months ago

Installation and upgrading

To initiate a new Studio without installing the CLI globally:

npm create sanity@latest

To upgrade a v3 Studio, run this command in its folder:

npm install sanity@latest

🐛 Notable bugfixes

  • Makes field actions keyboard-accessible:

    • Enables pressing the Esc (Escape) key to discard a comment.
    • Fixes an issue where hovering over field actions (for example: Comments, AI Assist) when they're not visible would cause them to flicker.
  • When importing and exporting datasets with the import dataset and export dataset CLI commands, the output message includes information about the projectId and the dataset in question.

    Example:

    Output message on import dataset CLI command

    Output message on export dataset CLI command

  • Fixed an issue with cursor instability when using the Portable Text Input inside another Portable Text Input's embedded objects.

📓 Full changelog

Author Message Commit
Espen Hovlandsdal refactor(types): use type-only imports f7e590e545
Fred Carlsen fix(comments): truncate long field names in placeholder (#5153) c5e2194c4a
Marius Lundgård feat(desk): add onFocusPath callback property (#5150) 3188ab4626
Marius Lundgård fix(router): memoize navigate callback (#5149) fa7625d00f
Marius Lundgård fix(form): open hotspot editor using focusPath (#5160) 5673f2a959
Herman Wikner refactor(comments): remove unused function in comments provider (#5156) 950d3f0976
Herman Wikner fix(comments): default placement of comment popover (#5165) 6eeb797fe3
Herman Wikner fix(comments): consider comment status when scrolling from URL (#5164) 65eb8c2bfb
ecospark[bot] chore(prettier): fix unformatted files 🤖 ✨ (#5145) 6d5b4e88c4
Bjørge Næss dev(test-studio): add router debugging tool (#5170) 9933f3b22b
Bjørge Næss fix(navbar): reset url state when navigating to other tools (#5171) e607be828d
Robin Pyon fix(comments): prevent pasted links being rendered as DefaultAnnotations at author time (#5162) e9c7e79413
Marius Lundgård fix(form): forward original portal element c941b6b651
Herman Wikner feat(core): make field actions keyboard accessible (#5163) 5709800c02
Bjørge Næss fix(router): improve search params encoding (#5173) d4d8a9f5de
Bjørge Næss feat(router): add support for tools to bypass search param scoping (#5172) 3c7d79b6e3
Herman Wikner fix(comments): addon dataset client api version (#5177) 86f8f9a772
Robin Pyon chore(deps): bump @sanity/ui to latest (#5178) 7d9546c412
Herman Wikner fix(core): disable pointer events when field actions are hidden (#5180) c4aec5d015
Herman Wikner fix(comments): improve scroll behavior (#5179) 533af73ff4
Binoy Patel feat(cli): adds information about projectId and datasets on import and export dataset commands (#5128) 72ae08ffb8
Espen Hovlandsdal feat(core): support weighted template, mode intent parameters (#5157) ebbef52d0f
Per-Kristian Nordnes chore(portable-text-editor): upgrade slate + remove workarounds (#5175) 8aed3b1b56
Per-Kristian Nordnes fix(portable-text-editor): selection validation and perf. improvement (#5136) fd05ebae6
Bjørge Næss refactor(core): improve navbar collapse menu (#5185) 1227102c1c
sanity -

Published by bjoerge 12 months ago

Installation and upgrading

To initiate a new Studio without installing the CLI globally:

npm create sanity@latest

To upgrade a v3 Studio, run this command in its folder:

npm install sanity@latest

This release includes minor UI fixes and improvements

📓 Full changelog

Author Message Commit
Herman Wikner fix(desk): comments on anonymous objects (#5101) 78f17e3813
renovate[bot] chore(deps): update dependency @sanity/pkg-utils to v3 (#5033) da03b585bb
Per-Kristian Nordnes fix(portable-text-editor): fix various (#5123) 206b7d53ab
Herman Wikner feat(core): add BetaBadge component (#5125) 1d48d23a10
Binoy Patel chore(lint): use turbo for linting all the packages (#5113) c947aa2d2a
ecospark[bot] chore(deps): dedupe yarn.lock (#5119) 392e301436
Herman Wikner fix(desk): comment mention list issue when using the '@' button (#5121) 213569b42d
Robin Pyon fix(desk): various comments UX papercuts (#5130) 4735262060
Herman Wikner fix(core): field actions vertical alignment (#5131) 69b683865a
Per-Kristian Nordnes fix(desk/comments): insert space after mention insert (#5126) bdaecfb55c
Bjørge Næss fix: avoid forwarding as-props/link props to reference link card (#5124) 48cd8885eb
renovate[bot] chore(deps): update playwright monorepo to ^1.39.0 (#5104) d2c4ab8946
Herman Wikner feat(desk): delay comments onboarding popover visibility (#5133) 0d590deb29
Herman Wikner refactor(desk): comment highlight (#5120) 63fb3c7f83
Bjørge Næss chore(eslint): fix lint command in next studios (#5141) 22f4ce4980
Bjørge Næss feat(router): add support for search params (#5094) 4f37f781b7
Herman Wikner feat(desk): improve comments mention list filtering (#5132) 4c1c29b0fc
Rupert Dunk feat(desk): export DocumentPane and DocumentListPane (#5103) 79de34f29b
Herman Wikner feat(comments): add feedback footer in the inspector (#5154) c7e3f3e98b
Per-Kristian Nordnes fix(schema/types): fix issues with block schema's internal structure (#5152) aca6e81e2d
Binoy Patel chore(cli): remove '--reconfigure' command from help for sanity init command (#5155) 123aa813e8