Upgrade the Command Line Interface (CLI) with:
npm install --global @sanity/cli
Upgrade Sanity Studio with:
sanity upgrade
Highlights
Review Changes
Review Changes is the latest in a series of improvements we have made to the authoring experience in the Sanity Studio. You now get full document revision history right inside the Sanity Studio. Down to click and keystroke, you can see who contributed what to any version of a document and roll back a single field. You can also make your own custom diff components with the new APIs and React components.
Server-side dataset copying
This release also marks the first feature for advanced dataset management: server-side dataset copying. If your project is on the enterprise plan, you can now run sanity dataset copy production staging
to copy the contents including assets of a dataset to another.
GraphQL Document
field
When deploying new GraphQL APIs for your datasets, you will now get a Document
field which allows you to query for a document with a given ID without having to know it's type up front. You will still need to use fragments with type checks to access fields based on the type, of course:
{
Document(id: "some-doc-id") {
# `_id` is defined on the `Document` interface,
# so it does not require a type assertion
_id
# Unique fields on the `post` type
...on Post {
title
category
}
}
}
UI improvements
We are continously improving the UI, accessibility, and the editoral experience of the Studio. This release includes:
- Improvements to the hotspot and crop tool, and the way images are previewed.
- The builtin form fields have been made more consistent.
- The document’s status bar has a brand new design.
- Improved popovers and dialogs with better contrasts/shadows.
- Modals in the Desk tool are restricted to their pane, to improve the experience for split views.
- All the core UI components have been ported to TypeScript.
Breaking changes
react-icons
no longer used by Sanity studio
You're free to use react-icons
as you see fit, of course - but you'll have to make sure you declare it as a dependency in your studios package.json
file.
Previously, the Sanity studio internals were using react-icons
version 2. If your studio does not list react-icons
as a dependency, that means your studio is implicitly also depending on that version. When upgrading, you may encounter build failures because it can no longer find the module. To fix these errors, you have two options:
- Install
react-icons@^2.0.0
as a dependency. - Install
react-icons@^3.0.0
as a dependency, and run a code modification script to change the import paths for icons. After upgrading@sanity/cli
to the latest version (npm i -g @sanity/cli
), you can runsanity codemod reactIconsv3
in your studio folder to automatically change these import paths.
Notable bugfixes
- Fixed a bug where running
sanity start
would require you to be authenticated
Thanks!
The Sanity team would like to thank @alexcaballerosa and @benjaminsehl for volunteering their time to help us test Review Changes. Both were diligent, enthusiastic and generous. We learned a lot.
📓 Full changelog
Author | Message | Commit |
---|---|---|
Marius Lundgård | [chore] Remove usage of react-icons (#2009) | 213dace |
Anders Stensaas | [core] Add a CLI command to copy a dataset | 3212a34 |
Espen Hovlandsdal | [cli] Build CLI with Node 10 as minimum requirement | 83cd50a |
Espen Hovlandsdal | [cli] Add codemod command with react-icons migration | 9e8016b |
Espen Hovlandsdal | [core] Do not require authed user for sanity start (#2027)
| 2f5b089 |
Espen Hovlandsdal | [cli] Verify package.json before installed dependency version | be3d7a1 |
Espen Hovlandsdal | [cli] Add --no-verify flag to codemod command | db03606 |
Espen Hovlandsdal | [chore] Upgrade to react-icons v3 | 2b7a125 |
Matt Hillsdon | [desk-tool] Fix typo in message when unpublishing a document (#2030) | 4106a3e |
Espen Hovlandsdal | [core] Add "Document" query field, queries any document with given ID (#2033) | ad08587 |
Espen Hovlandsdal | [chore] Switch from now to vercel (#2029) | 7a6b969 |
Magnus Holm | [review-changes] Squashed commit with initial spike | 51e2b08 |
Espen Hovlandsdal | [chore] Normalize dependency versions | bc86617 |
Espen Hovlandsdal | [chore] Add missing diff dependency | 9623f23 |
Espen Hovlandsdal | [desk-tool] Add missing useRouter function to parts typings | f9ff909 |
Espen Hovlandsdal | [desk-tool] Add proof of concept grouping/diff rendering | cc1ca40 |
Espen Hovlandsdal | [diff] Fix inverted change detection for simple diffs | 7f6e56f |
Espen Hovlandsdal | [desk-tool] Fix typo in filename | 2d7e087 |
Espen Hovlandsdal | [server] Fix potential HMR error when path name is not a string | c5e348a |
Marius Lundgård | [chore] Add design-studio
| 240303f |
Marius Lundgård | [design-studio] Add primitive types to allInputs | 148e740 |
Marius Lundgård | [design-studio] Add array examples | 3ed8833 |
Marius Lundgård | [design-studio] Sort input types | c2ad153 |
Magnus Holm | [vercel] First attempt to deploy design-studio | b270a37 |
Espen Hovlandsdal | [desk-tool] Move change list builder to separate file | d6101e8 |
Magnus Holm | [vercel] Create an empty static/-folder | fde3ca7 |
Espen Hovlandsdal | [desk-tool] Add keys to change fragments | a26ea5d |
Magnus Holm | [vercel] Third attempt to deploy design-studio | c25789c |
Espen Hovlandsdal | [mutator] Make test suite pass by fixing typing errors | 8d5894f |
Magnus Holm | [vercel] Fourth attempt to deploy design-studio | 0f4bbca |
Marius Lundgård | [desk-tool] Render basic timeline | 24a7a9b |
Marius Lundgård | [desk-tool] Add basic revert button to change panel | df16702 |
Marius Lundgård | [desk-tool] Add basic diff styling | 95a559f |
Magnus Holm | [diff] Improve array diffing | e7cb59d |
Magnus Holm | [diff] Add annotation to ItemDiff{Added,Removed} | d56a6e2 |
Marius Lundgård | [desk-tool] Add basic user-based annotation colors | 144b1e4 |
Magnus Holm | [desk-tool] Properly paginate through history | 3af46a2 |
Marius Lundgård | [desk-tool] Add basic diff annotation popover | aa12ece |
Marius Lundgård | [desk-tool] Add guard for missing annotation | 3b8c2a4 |
Espen Hovlandsdal | [desk-tool] Add basic field-level undo functionality | cccba0f |
Marius Lundgård | [desk-tool] Add guard for missing annotation | e2e9de3 |
Marius Lundgård | [desk-tool] Render timeline selection | 931bcee |
Marius Lundgård | [desk-tool] Move diff components to root of src | 0253027 |
Espen Hovlandsdal | [desk-tool] Move undo changes logic to separate file | 190a8e4 |
Marius Lundgård | [desk-tool] Adjust document pane layout | 77f30f9 |
Espen Hovlandsdal | [desk-tool] Render newlines in string diff segments | f6c1303 |
Espen Hovlandsdal | [desk-tool] Respect newlines in unchanged string diff segments | dc740ee |
Espen Hovlandsdal | [diff] Allow specifying object diff value type | 8c3227d |
Espen Hovlandsdal | [desk-tool] Add placeholder reference field diff | 1f29f9b |
Espen Hovlandsdal | [desk-tool] Fix nested titles repeating in changes inspector | dd4434f |
Espen Hovlandsdal | [desk-tool] Add placeholder image field diff component | b4dbb6d |
Espen Hovlandsdal | [desk-tool] Provide default values for getChangesList function | 305e16d |
Espen Hovlandsdal | [desk-tool] Add placeholder boolean field diff component | 971e5e8 |
Espen Hovlandsdal | [desk-tool] Add placeholder slug diff component | 10b43af |
Magnus Holm | [desk-tool] Add a proper type for annotation | 7a48868 |
Magnus Holm | [mendoza] Correctly update endMeta | 9c02643 |
Magnus Holm | [desk-tool] Improve history rebasing | bee4a99 |
Magnus Holm | [desk-tool] Merge string segments which have the same annotation | 9f6c30e |
Espen Hovlandsdal | [base] Use dataloader for defering user loading in user store | 113a5ff |
Espen Hovlandsdal | [desk-tool] Fix slug field build errors | dae4ec0 |
Espen Hovlandsdal | [react-hooks] Provide proof-of-concept useUser hook | b8b3246 |
Espen Hovlandsdal | [desk-tool] Render user avatar in annotation tooltips | dcff35a |
Marius Lundgård | [desk-tool] Begin basic array diff components | 595294e |
Marius Lundgård | [desk-tool] Initial array diff / change list implementation | 8a70ca9 |
Marius Lundgård | [desk-tool] Move diffs and add basic array diff | 2836f6c |
Magnus Holm | [desk-tool] Add basic tracing for Timeline | 2472064 |
Magnus Holm | [mendoza] Clear history tracking once a field value is re-used | ed085b4 |
Espen Hovlandsdal | [react-hooks] Refactor useUser hook to return loadable values | 706faf9 |
Espen Hovlandsdal | [desk-tool] Use new useUser API for annotation tooltips | b338ed1 |
Magnus Holm | [desk-tool] Add selection for showing the oldest version | 8785a26 |
Magnus Holm | [desk-tool] Add button for diffing against latest published version | 1900fd4 |
Magnus Holm | [desk-tool] Fix selection state | f0db797 |
Marius Lundgård | [desk-tool] Fix TS issue | 2ce18a2 |
Marius Lundgård | [base] Convert user color singleton to TS | 91c9d1b |
Espen Hovlandsdal | [desk-tool] Add error boundary around diff components | f63460d |
Magnus Holm | [desk-tool, diff] Rework diff format | 88408c5 |
Espen Hovlandsdal | [desk-tool] Fix slug diff not rendering unless changed | 07b2885 |
Espen Hovlandsdal | [google-maps-input] Rewrite to typescript | 4f1720a |
Espen Hovlandsdal | [components] Fix incorrect color proptype for close button in portal | c553eef |
Espen Hovlandsdal | [base] Remove unused javascript file | 417d665 |
Espen Hovlandsdal | [base] Add part definition for diff resolver | 9140dbb |
Espen Hovlandsdal | [desk-tool] Remove stray console.log | acfb8a8 |
Espen Hovlandsdal | [desk-tool] Allow defining diff component resolvers | 7653cc5 |
Espen Hovlandsdal | [design-studio] Add google-maps-input plugin | 85565e9 |
Marius Lundgård | [design-studio] Add basic PT input field | 2e41dfa |
Marius Lundgård | [desk-tool] Render array item diffs | 096c50c |
Espen Hovlandsdal | [google-maps-input] Move API key + locale resolving to loader | 8dfa784 |
Espen Hovlandsdal | [google-maps-input] Componentize the different aspects of the map | d5b524a |
Espen Hovlandsdal | [diff] Make object record type generic | 757dcd7 |
Espen Hovlandsdal | [google-maps-input] Provide diff component | 2b1143b |
Espen Hovlandsdal | [google-maps-input] Add diff component for geopoint array | 46225d1 |
Espen Hovlandsdal | [design-studio] Add example of array with geopoints | 23fca6c |
Espen Hovlandsdal | [base] Use typescript for createActions util | ffc8f99 |
Espen Hovlandsdal | [diff] Remove unused dependencies | 17bc8c4 |
Espen Hovlandsdal | [base] Add typings for user store | 7c65df7 |
Espen Hovlandsdal | [base] Make user color manager use observable pattern | 736ca43 |
Espen Hovlandsdal | [field] Add new field module for field diff/input logic/types | 52f4629 |
Espen Hovlandsdal | [desk-tool] Refactor to use @sanity/field module for types | bdc5f55 |
Espen Hovlandsdal | [diff] Make ObjectDiff type key-aware | 5058947 |
Espen Hovlandsdal | [desk-tool] Make color helper return observable value | edbfb66 |
Espen Hovlandsdal | [field] Add missing description field to schema type | 01a36a1 |
Espen Hovlandsdal | [google-maps-input] Refactor to use @sanity/field dependency | 8c7019a |
Espen Hovlandsdal | [design-studio] Collect date inputs under fieldset for testing | 454ea75 |
Espen Hovlandsdal | [chore] Rename/refactor user color import | 184d558 |
Espen Hovlandsdal | [chore] Bring Sanity-dependencies up to latest versions | c2e5728 |
Espen Hovlandsdal | [chore] Fix user avatar component import path | 2d2b4c2 |
Espen Hovlandsdal | [core] Lock terser version to 4.6.7 | f6d9ba5 |
Espen Hovlandsdal | [field] Remove incorrect readme | d846781 |
Espen Hovlandsdal | [field] Remove unused dependencies | 0776302 |
Espen Hovlandsdal | [google-maps-input] Remove unused dependencies | 3e08a2e |
Espen Hovlandsdal | [google-maps-input] Add missing dev dependency | 2e83519 |
Espen Hovlandsdal | [diff] Remove outdated tests | 18368cf |
Espen Hovlandsdal | [design-studio] Ignore lib folder | 4c34ad2 |
Espen Hovlandsdal | [field] Remove jest tests from field module | 3635757 |
Espen Hovlandsdal | [design-studio] Add CLI as dependency for design studio | 66bdbed |
Espen Hovlandsdal | [desk-tool] Use hasMoved item prop to determine array item movement
| cae904a |
Espen Hovlandsdal | [field] Add array item metadata type, add 'items' to array diff component props | b33aab0 |
Espen Hovlandsdal | [desk-tool] Resolve and pass array item metadata (schema types) | 4d31e53 |
Espen Hovlandsdal | [design-studio] Add example of array field of unnested images | d3c550b |
Espen Hovlandsdal | [base] Change return value from user color manager | b55a4a3 |
Espen Hovlandsdal | [base] Provide user store to user color singleton | d763499 |
Marius Lundgård | [design-studio] Add object examples | a529b7b |
Bjørge Næss | [desk-tool] Make sure to dispose remote mutations subscription upon observableController disposal | 5f64066 |
Espen Hovlandsdal | [chore] Fix build errors, move user hooks into @sanity/base, expose UserAvatar | 521c9d9 |
Marius Lundgård | [design-studio] Configure structure and document views | 9bbcdd3 |
Marius Lundgård | [desk-tool] Refactor DocumentPane | f45e8f7 |
Marius Lundgård | [desk-tool] Make the ChangesPanel's header sticky | 82c4175 |
Espen Hovlandsdal | [field] Expose annotated tooltip components, refactor diff components | 44d654a |
Espen Hovlandsdal | [base] Fix readonly being applied twice for user color | e0ebe44 |
Espen Hovlandsdal | [google-maps-input] Fix label position for custom markers | b2006a7 |
Marius Lundgård | [field] Improve typing for "as" property | ae902fc |
Marius Lundgård | [desk-tool] Use presence when needed | ce48f97 |
Marius Lundgård | [desk-tool] Add ValidationMenu | ba27f38 |
Marius Lundgård | [desk-tool] Remove unused files | d9745bd |
Marius Lundgård | [desk-tool] Fix DocumentPane's view menu | 06b7d82 |
Marius Lundgård | [desk-tool] Add support for collapse/expand | c5830c2 |
Marius Lundgård | [desk-tool] Remove unused props | 000f2f8 |
Marius Lundgård | [components] Add portal components | 2f13f6c |
Marius Lundgård | [components] Refactor dialogs to use new portal component | 6cb3b92 |
Marius Lundgård | [base] Add the global portal provider | 4b73858 |
Marius Lundgård | [desk-tool] Make form modals open in local portal area | 83c65eb |
Marius Lundgård | [form-builder] Update typings | 7eb3895 |
Espen Hovlandsdal | [field] Prevent tippy from adding additional div container | c38d4c4 |
Per-Kristian Nordnes | [gulp] Fix ENAMETOOLONG error | 85fa259 |
Espen Hovlandsdal | [field] Let DiffAnnotationTooltip also accept diff + path | 26e2e28 |
vicbergquist | [desk-tool] Add file and image diff components | d9450b8 |
Marius Lundgård | [components] Add new tooltip and popover components | 1f9a64b |
Marius Lundgård | [desk-tool] Fix presence reporting | cec5083 |
Marius Lundgård | [desk-tool] Remove legacy DocumentPane | b6c0fb5 |
Marius Lundgård | [desk-tool] Move PortalProvider to document viewer area | b008dce |
vicbergquist | [desk-tool] add boolean diff | 13d6b73 |
Bjørge Næss | [form-builder] Optimize FormBuilderInput | 4681cef |
Espen Hovlandsdal | [desk-tool] Improve diff grouping for arrays/objects | 0a7e6f6 |
Espen Hovlandsdal | [desk-tool] Fix indentation display of change groups | 1508cb1 |
Espen Hovlandsdal | [desk-tool] Resolve and populate diff components | f31ec7b |
Espen Hovlandsdal | [desk-tool] Remove unused array field diff component | 047af86 |
Espen Hovlandsdal | [field] Add typing for diff component resolver | d0f7d92 |
Espen Hovlandsdal | [desk-tool] Implement diff resolver for portable text diffs | 7ee4ee1 |
Espen Hovlandsdal | [google-maps-input] Use typed diff component resolver | a2b98bf |
Marius Lundgård | [desk-tool] Add basic timeline actions | 3bcf07e |
Marius Lundgård | [components] Add ClickOutside component | 4424435 |
Marius Lundgård | [desk-tool] Hide version select when clicking outside | 88b7c65 |
Marius Lundgård | [desk-tool] Add features context with useDeskToolFeatures hook | 6cf9740 |
Espen Hovlandsdal | [base] Set default current user color to magenta | 0131c94 |
Espen Hovlandsdal | [google-maps-input] Prevent pan/zoom resetting when props update | 43cc141 |
Espen Hovlandsdal | [google-maps-input] Handle presence + focus state | 1c25dd1 |
Marius Lundgård | [components] Add MenuButton for consistent dropdown menu behavior | 8c78720 |
Marius Lundgård | [desk-tool] Add timeline selection to ChangesPanel | 350b877 |
Espen Hovlandsdal | [google-maps-input] Catch authentication errors when loading | 780d007 |
Espen Hovlandsdal | [default-login] Fix setState called after unmount | 8c3b6bf |
vicbergquist | [desk-tool] add size % diff to files | 94f1e2a |
Marius Lundgård | [desk-tool] Add Timeline menu animation | 1448efe |
vicbergquist | [desk-tool] update reference diff styling | dfda8b4 |
vicbergquist | [desk-tool] update image diff | cf75e62 |
vicbergquist | [diff] fix incorrect diffobject value | 8e7f611 |
Bjørge Næss | [desk-tool] Make sure we pass the right value to the form in history mode | 5b892a8 |
vicbergquist | [desk-tool] add boolean SVGs | cddceb4 |
vicbergquist | [desk-tool] add string diff styling | 61be38b |
vicbergquist | [desk-tool] update padding on boolean diffs | 37f0956 |
Espen Hovlandsdal | [desk-tool] Move changes logic from @sanity/desk-tool to @sanity/field | 4d1116f |
Espen Hovlandsdal | [field] Add missing variable import | 5797911 |
Espen Hovlandsdal | [desk-tool] Remove unused files | 92a9195 |
vicbergquist | [desk-tool] update number diff | fd8b4f4 |
Marius Lundgård | [design-studio] Add fields to author's schema type | 8474f13 |
Marius Lundgård | [design-studio] Add author templates | 508f8cc |
Marius Lundgård | [base] Remove gray from possible user colors | 29bd0b8 |
Marius Lundgård | [components] Fix user color in avatar arrow | 83d068c |
vicbergquist | [desk-tool] fix color function in boolean diff | 7a6bbd9 |
vicbergquist | [desk-tool] refactor diff components | 0d749e9 |
vicbergquist | [desk-tool] add datetime diff component | 026b64c |
vicbergquist | [desk-tool] add URL diff component | 502fa8a |
vicbergquist | [desk-tool] update slug field diff | c2d81d5 |
Espen Hovlandsdal | [desk-tool] Moved diff components to @sanity/field | 4ad0e6e |
Marius Lundgård | [field] Move revert button to footer | 0150a2c |
Espen Hovlandsdal | [field] Use ChangeList for nested fields. Fix typings. | c70e052 |
Espen Hovlandsdal | [design-studio] Add nested field to file field | c8ea2a1 |
Espen Hovlandsdal | [field] Add object field diff component | 9d8c39d |
Espen Hovlandsdal | [field] Remove revert changes button from groups | e361e65 |
Espen Hovlandsdal | [field] Remove DateTimeDiff because it can't be differentiated from string | ddd0005 |
Espen Hovlandsdal | [field] Fix a few typing errors | dc3ba74 |
vicbergquist | [field] fix diff for strings with list option | f139b12 |
Espen Hovlandsdal | [field] Fix annotation for crop/hotspot changes | 76b4d52 |
Marius Lundgård | [components] Fix tooltip and popover arrows | 307a776 |
vicbergquist | [field] update file diff meta and size | 71020eb |
vicbergquist | [field] fix image diff removed style | fb7f382 |
vicbergquist | [field] remove unsused number diff styles file | 7818aff |
Espen Hovlandsdal | [diff] Unwrap fromValue/toValue from wrappers in typeChange diff | 646350f |
Espen Hovlandsdal | [field] Use lazy getter for field diff export | 8a41259 |
Espen Hovlandsdal | [field] Use strict typescript compiler | dc520e8 |
Espen Hovlandsdal | [field] Fix build errors | ab16435 |
Espen Hovlandsdal | [field] Add basic value validation to differ | 5d590fd |
Marius Lundgård | [design-studio] Add suffix to allInputs fields | 420892a |
vicbergquist | [field] add temp image not set message to image diff | 7fdf224 |
Marius Lundgård | [desk-tool] Update placement of view actions | 094f0c9 |
Marius Lundgård | [desk-tool] Update ChangesPanel's close button | 92a9cea |
Marius Lundgård | [field] Update tooltip CSS | 86bb566 |
Per-Kristian Nordnes | [form-builder] PTE: Remove validation list in editor | f650b42 |
Per-Kristian Nordnes | [form-builder] PTE: add some bottom margin to new fullscreen mode | 52915f3 |
Per-Kristian Nordnes | [field] Add portable text diff component | 7ab9ce9 |
Per-Kristian Nordnes | [field] Add portable text diff resolver | abd547b |
Per-Kristian Nordnes | [field] Fix up some imports with the components being moved from [desk-tool] | dbce776 |
Per-Kristian Nordnes | [field] PT: dumb dealing with inline objects until we have the proper schema type | da4193e |
Per-Kristian Nordnes | [field] PT: better resolving | aa030e1 |
Per-Kristian Nordnes | [design-studio] Change PT schema | db0c1a2 |
Per-Kristian Nordnes | [field] Reset DiffAnnotation font size | 69635e5 |
Per-Kristian Nordnes | [form-builder] PTE: fix typings and sort order | 6093989 |
Per-Kristian Nordnes | [field] Remove dep to @sanity/block-content-to-react | 9e5e9c4 |
Per-Kristian Nordnes | [design-studio] Add types to PT schema | 0babe58 |
Per-Kristian Nordnes | [field] Simplify rendering of PT and display more diffs | 5ea4be4 |
Per-Kristian Nordnes | [field] PT: fix some typing issues | dd82ed0 |
Magnus Holm | [components] Add max-size modifier to Popover | 305cbdb |
Magnus Holm | [desk-tool] Improve state-handling of history mode | 189a742 |
Per-Kristian Nordnes | [field] PT: Cleanup rendering of missing (unkonwn) types for inline objects | 3324269 |
Marius Lundgård | [field] Add DiffAnnotationCard building block component | 02be577 |
Marius Lundgård | [desk-tool] Add basic styling to Timeline | cbf7e45 |
Per-Kristian Nordnes | [field] PT: show portable text annotations | c1b832c |
vicbergquist | [desk-tool] WIP sparkline component | 8e1372f |
Marius Lundgård | [desk-tool] Update timeline dropdown labels | 0b2babd |
Per-Kristian Nordnes | [field] PT: hide summary | 0d07a31 |
Marius Lundgård | [components] Add size property to DefaultButton for adjusting text size
| f6c20d2 |
Marius Lundgård | [desk-tool] Adjust text size of timeline menu buttons | 0913e8d |
Per-Kristian Nordnes | [field] PT: make more context available for the preview components | 514679f |
Per-Kristian Nordnes | [field] PT: make isChildSpan helper, which obviously is needed | 97cce8a |
Per-Kristian Nordnes | [field] PT: add onClick prop for Annotation and InlineObject | b9632f0 |
Per-Kristian Nordnes | [field] PT: minor code tidy | 70c2b93 |
Per-Kristian Nordnes | [field] PT: cleanup rendering vs helpers | 82a3ac8 |
Marius Lundgård | [desk-tool] Update pane header CSS | 70ba85f |
Marius Lundgård | [desk-tool] Fix view navigation in document pane header | f128dc8 |
Marius Lundgård | [desk-tool] Toggle timeline menu labels when open | a42e94e |
Marius Lundgård | [desk-tool] Make document pane's footer bar full width | c3a16f2 |
Marius Lundgård | [components] Add boundaryElement property to popover component
| 0e57923 |
Marius Lundgård | [desk-tool] Update timeline CSS | cf6e53d |
Marius Lundgård | [desk-tool] Add avatar stacks to timeline events | dcd65bd |
Magnus Holm | [desk-tool] Add helper function for replaying a timeline trace | 7fbeaf1 |
Magnus Holm | [desk-tool] Restructure reconstruction | 6323685 |
Marius Lundgård | [desk-tool] Add background color for document pane | dea07f6 |
Mikolaj Dobrucki | [desk-tool] Rename Browse History to Review Changes | b4c643b |
Mikolaj Dobrucki | [desk-tool] Rename Close button to "Done" in Reference pop-up | 20a4b0d |
Mikolaj Dobrucki | [field] Improve Revert Changes button | ce05976 |
Mikolaj Dobrucki | [desk-tool] Decrease spacing between changes items | bf30c0c |
Mikolaj Dobrucki | [field] Improve css for change items | ca9acb4 |
Marius Lundgård | [desk-tool] Improve rendering of discarded, created and deleted timeline events | 1c327fe |
Marius Lundgård | [components] Require setOpen property for MenuButton | 430f4f9 |
Marius Lundgård | [components] Update ConfirmButton | 7a7c3b5 |
Marius Lundgård | [design-studio] Add array with list of options example | 99c4d5f |
Espen Hovlandsdal | [field] Move diff components to new folder structure | ff1d7ac |
Espen Hovlandsdal | [base] Remove unnecessary useMemo | df43c43 |
Espen Hovlandsdal | [field] Move shared types to root | e25557e |
Espen Hovlandsdal | [field] Allow diffs to opt out of rendering header | bbdec03 |
Espen Hovlandsdal | [field] Rename DiffLayout to ChangeLayout | e99169f |
Espen Hovlandsdal | [field] Rename helper methods | d9013f1 |
Magnus Holm | [field] Make export compatible with Babel | e940667 |
Marius Lundgård | [desk-tool] Fix date formatting | 7ae6c65 |
Espen Hovlandsdal | [desk-tool] Fix camelcased data attribute | cef9659 |
Marius Lundgård | [desk-tool] Fix document pane title overflow | 8427d28 |
Marius Lundgård | [design-studio] Improve schema examples | 0934df5 |
Per-Kristian Nordnes | [field] PT: change folder name previews > components | 1259689 |
Per-Kristian Nordnes | [field] PT: Make render components be responsible for annotating the diff | 4aef323 |
Per-Kristian Nordnes | [field] PT: fix key issues | 7550a39 |
Magnus Holm | [desk-tool] Make helper methods in Timeline more type-safe | 49b3a5c |
Per-Kristian Nordnes | [field] PT: code quality pass | 931f2e3 |
Espen Hovlandsdal | [field] Add annotation to array segments where possible | 7175035 |
Marius Lundgård | [components] Refactor Avatar component | 072099d |
Marius Lundgård | [default-layout] Use UserAvatar for current user avatar | 76d7674 |
Marius Lundgård | [state-router] Fix link typings | 1c8f34d |
Marius Lundgård | [components] Fix typings | cbd123f |
Marius Lundgård | [base] Fix typings | a882179 |
Espen Hovlandsdal | [field] Fix diff/path/annotation passed down to DOM element | 1dcf933 |
Espen Hovlandsdal | [base] Add useTimeAgo hook | d967f7a |
Espen Hovlandsdal | [desk-tool] Add timestamp to annotation | 8b24c28 |
Espen Hovlandsdal | [field] Improve annotation content | 55ea871 |
Marius Lundgård | [state-router] Set "strict" in TS config and fix typings | 95b7fb7 |
Marius Lundgård | [components] Set "strict" in TS config and fix typings | 88a4c4a |
Marius Lundgård | [base] Move presence into @sanity/base | 4efefc4 |
vicbergquist | [desk-tool] update badge label text | d64fa1b |
Marius Lundgård | [default-layout] Fix link icon alignment in global presence menu | d2b5f22 |
Espen Hovlandsdal | [diff] Work around typescript not liking lazy getters | 732ad1e |
Espen Hovlandsdal | [chore] Upgrade to typescript 4 | 5fa0b56 |
Espen Hovlandsdal | [state-router] Allow null as options to route | 68d5ad1 |
Espen Hovlandsdal | [chore] Upgrade to jest 26 | 7cada69 |
Espen Hovlandsdal | [chore] Run tests on node 14 | 53b836e |
Espen Hovlandsdal | [base] Fix setState after unmount in hook collection state (#1991) | 1434bf3 |
Espen Hovlandsdal | [components] Upgrade react-sortable-hoc | 70bd670 |
Espen Hovlandsdal | [state-router] Defer router navigation to next tick | 3cbb061 |
Espen Hovlandsdal | [diff] Fix infinite recursion in lazy getter | d95f2fe |
Mikolaj Dobrucki | [field] Add margin to ChangeHeader items | 98fafc6 |
Mikolaj Dobrucki | [field] Style array diff badges | 3f802b2 |
Magnus Holm | [desk-tool] Allow selecting old version without Changes panel | f0ebeec |
Espen Hovlandsdal | [field] Shift indexes in headers by one (human readable) | a9645fd |
Mikolaj Dobrucki | [field] Style changes hover popover | fc457aa |
Espen Hovlandsdal | [field] Use built-in preview abstraction for reference diff | 104e336 |
Espen Hovlandsdal | [field] Only render preview component on unchanged diffs | 855f96c |
Espen Hovlandsdal | [design-studio] Add icon to author type for reference | edc1012 |
Espen Hovlandsdal | [field] Anchor annotation tooltips to individual changes | d72e8a2 |
Espen Hovlandsdal | [field] Fix missing index adjustment on moves | 3f26018 |
Espen Hovlandsdal | [field] Remove additional indentation of groups | 93f0249 |
Mikolaj Dobrucki | [form-builder][components] Fix checkbox boolean spacing | 31879d3 |
Espen Hovlandsdal | [form-builder] Fix boolean passed to classname | 81b595d |
Mikolaj Dobrucki | [components] Fix size of switch input | 7d79e5a |
Mikolaj Dobrucki | [components][form-builder][base] Unify form elements' focus effects | 6cf5008 |
Marius Lundgård | [components] Convert files to TS | adc414b |
Marius Lundgård | [components] Uninstall unecessary typings | ade274e |
Marius Lundgård | [components] Add StateButton component | c26dbf3 |
Marius Lundgård | [components] Improve Button component | bab150c |
Marius Lundgård | [components] Update text color in Avatar component | 6394669 |
Marius Lundgård | [storybook] Add tone selection to container | 3843dd8 |
Marius Lundgård | [studio-hints] Remove unused CSS variable | f8e53cf |
Marius Lundgård | [base] Remove unecessary CSS value | a35d8bf |
Marius Lundgård | [default-layout] Various improvements | 17619c4 |
Marius Lundgård | [desk-tool] Improve responsiveness | dbad20d |
Marius Lundgård | [default-layout] Update Studio hints | f4b54fb |
Marius Lundgård | [components] Fix list components | 3446792 |
Marius Lundgård | [storybook] Add defaultTone property | 0a18c7a |
Marius Lundgård | [components] Update CardPreview typography | a39c024 |
Marius Lundgård | [default-layout] Fix storybook stories | d7b1d56 |
Marius Lundgård | [components] Fix list's CSS parts | daa392c |
Marius Lundgård | [state-router] Fix props typings for StateLink | 30aaef7 |
Marius Lundgård | [default-layout] Improve typings and components | e19e425 |
vicbergquist | [desk-tool] add sync state to sparkline | b00ebb1 |
vicbergquist | [desk-tool] disable sparkline only on older revisions | ef90a39 |
vicbergquist | [desk-tool] fix timeago in sparkline | 4b75a61 |
Espen Hovlandsdal | [desk-tool] Use ISO-strings for timestamps | d5766b7 |
Espen Hovlandsdal | [chore] Fix incorrect version numbers | 0526716 |
Espen Hovlandsdal | [components] Fix crash on function passed as media | 89f573b |
Espen Hovlandsdal | [base] Use typescript for client export | eafe1c8 |
Espen Hovlandsdal | [base] Fix import error due to reused name | 87410c3 |
Espen Hovlandsdal | [diff] Ignore changes to _weak field | 2b73579 |
Espen Hovlandsdal | [field] Fix error in object/array matching on shapes | cfbfbe6 |
Espen Hovlandsdal | [field] Don't render array diffs on empty items | 4804d5a |
Espen Hovlandsdal | [field] Iterate over object field values when validating | aea76ed |
Espen Hovlandsdal | [diff] Reworked string segments to match other diff types | b676fe3 |
Espen Hovlandsdal | [field] Added visitDiff utility function | 43f71ad |
Espen Hovlandsdal | [desk-tool] Provide list of authors involved in changes | d0f0b19 |
Espen Hovlandsdal | [desk-tool] Provide different wording on authors list | c01ac08 |
Mikolaj Dobrucki | [desk-tool] Fix header's bottom border visibility | 9d14bdb |
Mikolaj Dobrucki | [desk-tool] Position Review Changes avatars stack legend | 5219f86 |
Espen Hovlandsdal | [desk-tool] Sort latest author annotations by timestamp | f275565 |
Espen Hovlandsdal | [desk-tool] Use string comparison for faster sorting | fcb23ed |
Mikolaj Dobrucki | [studio-hints] Fix position of toggleSidecarButton in the navbar | 8adfadd |
Mikolaj Dobrucki | [desk-tool] Fix position of the Review Changes avatars stack | d752d32 |
Bjørge Næss | fixup! [desk-tool] Move changes logic from @sanity/desk-tool to @sanity/field | 5617024 |
Bjørge Næss | fixup! [field] Add new field module for field diff/input logic/types | b0f14cf |
Bjørge Næss | [chore] Upgrade eslint + a few plugins | 197d8ef |
Bjørge Næss | [base] Various corrections after moving presence components to base | 5175293 |
Bjørge Næss | [base] Move overlay-reporter to react-track-elements | a8d6232 |
Espen Hovlandsdal | [chore] Bring Sanity-dependencies up to latest versions | a8aea5b |
Espen Hovlandsdal | [core] Lock terser version to 4.6.7 | 10125ed |
Espen Hovlandsdal | [chore] Upgrade to jest 26 | 206a207 |
Marius Lundgård | [base] Expose the InitialValueTemplateItem type | 8ef6065 |
Marius Lundgård | [components] Rename JS files to TS files | e4b3b57 |
Marius Lundgård | [components] Port JS file to TS | 5206e2a |
Marius Lundgård | [default-layout] Fix typings issue | 5c981e4 |
Mikolaj Dobrucki | [components][desk-tool] Fix size and alignment of icons in timeline | 253892a |
Marius Lundgård | [default-layout] Fix layout issue on narrow viewports | 1073d36 |
Marius Lundgård | [components] Fix ref check | 0a0a2d8 |
Marius Lundgård | [components] Show the last disabled pane also on narrow screens | 9cb610a |
Mikolaj Dobrucki | [default-layout] Fix focus state of name/logo element in Navbar | 700f0af |
Mikolaj Dobrucki | [default-layout] Change focus state of user menu drawer in Navbar | 23d0920 |
Espen Hovlandsdal | [field] Improve appearance of value/diff component errors | 5d50383 |
Mikolaj Dobrucki | [components] Fix selected text button text contrast on inverted bgs | 3833fb1 |
Mikolaj Dobrucki | [desk-tool] Fix position of icons in timeline dropdown | 51c5f90 |
Espen Hovlandsdal | [base] Use typescript for icons | fac7c85 |
Espen Hovlandsdal | [google-maps-input] Remove sanity check from prepublish | bfbcb12 |
Marius Lundgård | [form-builder] Fix className for moving items | 24e4e5d |
Espen Hovlandsdal | [mendoza] Add npmignore to override gitignore | f9553e9 |
Espen Hovlandsdal | [mendoza] Use monorepo versioning | 7369951 |
Espen Hovlandsdal | [chore] Normalize dependency versions | 4c2aeed |
Mikolaj Dobrucki | [field] Fix alignment of timestamps in diff annotation tooltips | 9f7975a |
Mikolaj Dobrucki | [field] Fix alignment of checkbox diff when label breaks multiline | 1e4e6f7 |
Espen Hovlandsdal | [form-builder] Fix crash when no presence is found for input | 8d31019 |
Marius Lundgård | [desk-tool] Fix typings | 54f2fd4 |
Marius Lundgård | [components] Add missing array item key in template actions | dcdb636 |
Marius Lundgård | [desk-tool] Install @types/classnames | 449388d |
Marius Lundgård | [desk-tool] Remove unecessary default props | ca446e1 |
Marius Lundgård | [desk-tool] Align pane actions | 3b789f5 |
Marius Lundgård | [components] Fix colors for inverted buttons | 7a33f2a |
Marius Lundgård | [desk-tool] Use MenuButton for validation menu | 9a67b11 |
Magnus Holm | [desk-tool][base] Rework the fetching and aligning of events | 61e936e |
Magnus Holm | [desk-tool] Create the initial chunk correctly | c5ca52b |
Magnus Holm | [desk-tool] Implement Timeline.reset | c382129 |
Marius Lundgård | [desk-tool] Fix the size of icons in the timeline | 4cf2eff |
Marius Lundgård | [base] Rename declaration files | 0464ea1 |
Marius Lundgård | [base] Update declaration files | 634a9d6 |
Magnus Holm | [desk-tool] Fix eslint errors in aligner.ts | 729c63b |
Magnus Holm | [desk-tool] Aligner: Make sure the tracked revision is up-to-date | 9350ee1 |
Marius Lundgård | [base] Fix definition exports | 37e81d4 |
Marius Lundgård | [base] Add minimal option to useTimeAgo
| 33bfa5f |
Marius Lundgård | [field] Use minimal time format for tooltips | 074f2c6 |
Marius Lundgård | [design-studio] Add example of long object in an array | 80969ac |
Espen Hovlandsdal | [field] Improve diff annotation verbs | ac46cec |
Marius Lundgård | [base] Refine time ago strings | 134de81 |
Marius Lundgård | [desk-tool] Improve timeline selection buttons | 66ec55f |
Magnus Holm | [desk-tool] Add currentObjectDiff() | c4d247f |
Magnus Holm | [desk-tool] Fix translog alignment of initial version | efa1ecf |
Magnus Holm | [desk-tool] Cleaner diff handling in ChangesPanel | 54505d1 |
Magnus Holm | [desk-tool] Fix hook-related crash in ChangesPanel | 51fbe67 |
Marius Lundgård | [desk-tool] Fix SinceText component | 14733c4 |
Espen Hovlandsdal | [google-maps-input] Guard against invalid data | 9f9d7e2 |
Espen Hovlandsdal | [desk-tool] Fix time ago return value | 3110143 |
Espen Hovlandsdal | [field] Add return type to DiffAnnotationTooltipContent | 1c656d4 |
Espen Hovlandsdal | [field] Fix nesting of fields in change list | 7b0ff64 |
Mikolaj Dobrucki | [desk-tool] Add custom sparkline icons | 9322b74 |
Magnus Holm | [desk-tool] Gracefully handle when published-mutations arrive a bit later | b87453b |
Espen Hovlandsdal | [field] Fix nesting of fields in change list | 0bd7850 |
Espen Hovlandsdal | [field] Use Sanity preview component for fallback diffs | 3e96d6b |
Espen Hovlandsdal | [field] Push empty field change on array moves | d550542 |
Marius Lundgård | [base] Update color background color | adff0b0 |
Marius Lundgård | [components] Update DefaultPane | 8e0b368 |
Marius Lundgård | [desk-tool] Improve error and loading screens | ad782ef |
Mikolaj Dobrucki | [field] Fix appearance of diff checkboxes | 92f9442 |
Mikolaj Dobrucki | [field] Fix appearance of switch in diffs | 773c6f2 |
Espen Hovlandsdal | [field] Use keyed segments over indexes where possible | 13f7ea9 |
Marius Lundgård | [default-layout] Rename ToolSwitcher to ToolMenu | 5e72d96 |
Marius Lundgård | [default-layout] Hide the ToolMenu when there is only 1 tool installed | 12312a0 |
Marius Lundgård | [default-layout] Improve layout of SideMenu | cb5c4d9 |
Espen Hovlandsdal | [field] Handle reverting of array moves | 45f540e |
Espen Hovlandsdal | [form-builder] Fix select input not unsetting on choosing empty value | 41767ae |
Espen Hovlandsdal | [form-builder] Fix value typing for inputs | f3fc5fc |
Espen Hovlandsdal | [chore] Turn off unnecessary default props lint rule (because typescript) | 48138f8 |
Espen Hovlandsdal | [field] Render slash between all breadcrumb segment types | 6970018 |
Espen Hovlandsdal | [field] Include fieldset in breadcrumb title segments | 68e917e |
Marius Lundgård | [field] Render non-breaking whitespace when a space is either at the start or end of annotated strings | a8360ea |
Per-Kristian Nordnes | [field] PT: render diffs better | 4fb42f7 |
Dain Cilke | [mutator] Catch invalid patch during set optimisation | f04728c |
Espen Hovlandsdal | [field] Improve handling of diffs in fieldsets | a1ba9f2 |
Espen Hovlandsdal | [field] Support undo operations including index tuples | e210678 |
Magnus Holm | [mendoza] Implement correct UTF-8 slicing | 04ae01e |
Espen Hovlandsdal | [field] Send stubs for parents when reverting subpaths | 60fe3b2 |
Espen Hovlandsdal | [field] Skip unchanged array items with identical from/to index | a58aaee |
Espen Hovlandsdal | [field] Force show whitespace if only change in segment | aaeebf4 |
Espen Hovlandsdal | [field] Fix crash on object types without fieldsets property | 0aafd3d |
Espen Hovlandsdal | [field] Resolve PT diff component through default components list | 55964e7 |
Espen Hovlandsdal | [field] Show PT index only when moved/not grouped | f215b43 |
Marius Lundgård | [components] Update dialogs and add ContainerQuery component | 4ab6b96 |
Marius Lundgård | [base] Update base CSS | b528257 |
Marius Lundgård | [default-layout] Update dialogs | ea6ecdd |
Marius Lundgård | [form-builder] Update Imagetool and other dialogs | b6729d8 |
Marius Lundgård | [desk-tool] Add typings for ResizeObserver | 25ec9ea |
Marius Lundgård | [imagetool] Add typings for ResizeObserver | 2ce4813 |
Marius Lundgård | [design-studio] Add example of image meta fields | e6dfbbf |
Marius Lundgård | [default-layout] Fix typings | 920412d |
Marius Lundgård | [components] Use ResizeObserver polyfill | 2e8ebf2 |
Marius Lundgård | [components] Remove debug attribute | 3dfd8db |
Marius Lundgård | [components] Refactor DefaultDialog | 2106c8f |
Marius Lundgård | [desk-tool] Improve dialogs on narrow screens | 47c3bd4 |
Marius Lundgård | [form-builder] PTE: fix position on narrow screens | cf30154 |
Marius Lundgård | [desk-tool] Update z-index values in document pane | 8487479 |
Marius Lundgård | [form-builder] Fix z-index issue | baaac3e |
Marius Lundgård | [components] Make sure button contents does not wrap | 6a11a6d |
Marius Lundgård | [components] Fix popover z-index | 1007f1e |
Marius Lundgård | [form-builder] Fix menus in PTE | 9f4d1b2 |
Marius Lundgård | [desk-tool] Fix props for custom document views | 5d7e77f |
Marius Lundgård | [design-studio] Update JSON preview | f30c8f7 |
Marius Lundgård | [desk-tool] Enable review changes for liveEdit documents | 80c1c67 |
vicbergquist | [field] fix multi-line string border on hover | a26e87b |
Marius Lundgård | [diff] Fix path to .eslintrc | c4b62b0 |
Marius Lundgård | [chore] Install eslint-plugin-react-hooks | fd1c227 |
Marius Lundgård | [components] Fix lint errors | a827894 |
Espen Hovlandsdal | [desk-tool] Make since an exclusice parameter
| a208935 |
Espen Hovlandsdal | [desk-tool] Remove console.log statement | dad6485 |
Marius Lundgård | [components] Fix issue with Tooltip | e9ae216 |
Marius Lundgård | [desk-tool] Refactor document header props | 60be5b8 |
Marius Lundgård | [components] Replace setTimeout with requestAnimationFrame | 73b6e58 |
Marius Lundgård | [components] Fix position of avatar arrow | cd3527b |
Magnus Holm | [mendoza] Improve rebasing of objects | 281bc7f |
Magnus Holm | [desk-tool] Handle lastPublished when it's the last event | 7a2d80a |
Marius Lundgård | [components] Support rendering tooltip in portal | 2701971 |
Marius Lundgård | [chore] Add missing type links | ea98bf0 |
Espen Hovlandsdal | [field] Fixed paths when using ChangeList deeper in tree | 392b606 |
Espen Hovlandsdal | [field] Add crop/hotspot diff visualization | 6ac4b76 |
Marius Lundgård | [components] Fix lint errors | 9b859ae |
Marius Lundgård | [field] Update styling of hotspot and crop diff | 6dc050b |
Marius Lundgård | [components] Remove unused file | 86f3f41 |
Marius Lundgård | [base] Change default user color to purple | cf62f2d |
Espen Hovlandsdal | [field] Upgrade sanity-diff-patch | bbd5f43 |
Marius Lundgård | [field] Fix aspect ratio of image, hotspot and crop | 3ed6301 |
Marius Lundgård | [field] Add hairline to image | d15372b |
Marius Lundgård | [form-builder] Add hairline to image | 7483d27 |
Marius Lundgård | [components] Revert dialog's click outside behavior | 85aad1b |
Espen Hovlandsdal | [components] Set value to empty string on no value to fix react warning | 412522f |
Espen Hovlandsdal | [desk-tool] Treat revision as exclusive parameter | dc26aff |
Magnus Holm | [desk-tool] Make Chunk's ID the correct one | b2e9071 |
Espen Hovlandsdal | [diff] Fix lint errors | 500d207 |
Espen Hovlandsdal | [field] Don't warn if unable to find diff at path | b6b2bce |
Espen Hovlandsdal | [field] Ignore eslint noop function warning | e5a82c0 |
vicbergquist | [field] fix rounded corner issue on last string segment | 667df21 |
Mikolaj Dobrucki | [field] Quick fix for array change titles | 09d7f2a |
Mikolaj Dobrucki | [field] Improve styling of array headings | e637cc8 |
Magnus Holm | [desk-tool] Reset the Changes panel when publishing | 644f127 |
Magnus Holm | [base] Support updated timestamps in useTimeAgo | c8b6211 |
Benedicte Emilie Brækken | [base] Hide self presence even if multiple sessions | f0f5a5e |
Espen Hovlandsdal | [field] Wrap field changes in inspector wrapper (Meta + I to inspect) | c126135 |
Espen Hovlandsdal | [base] Fix lint errors | 857ca80 |
Marius Lundgård | [components] Remove use of DialogContent | c2616a0 |
Marius Lundgård | [desk-tool] Remove use of DialogContent | e2e07e9 |
Marius Lundgård | [form-builder] Remove use of DialogContent | bd0d640 |
Marius Lundgård | [components] Remove use of DialogContent | beadb0f |
Marius Lundgård | [components] Improve DefaultDialog | c3b32d8 |
Marius Lundgård | [form-builder] Hide button container when there's no button | c97883f |
Marius Lundgård | [base] Update presence CSS | 77d1b06 |
Marius Lundgård | [form-builder] Hide array item modal actions | 2dbc347 |
Marius Lundgård | [desk-tool] Adjust presence overlay margins | 71dd88b |
Marius Lundgård | [form-builder] Adjust presence overlay margins | 9231a12 |
Mikolaj Dobrucki | [base][field] Improve Revert Changes button | 6c748c7 |
vicbergquist | [components] Rework reference picker | e453fd9 |
Marius Lundgård | [components] Tweak react-popper for reference search | 418c9fb |
Marius Lundgård | [components] Remove root element of StatelessSearchableSelect (since it's rendered elsewhere) | 5a804ec |
Marius Lundgård | [components] Clean up StatelessSearchableSelect hooks | b46d603 |
Espen Hovlandsdal | [base] Remove unused stroke attributes from undo icon | 84a131c |
Mikolaj Dobrucki | [desk-tool][field] Colors fixes | 9ee24d7 |
vicbergquist | [desk-tool] add restore document ability | 64c6d60 |
vicbergquist | [desk-tool] update live document badge | 8ed2de4 |
vicbergquist | [desk-tool] add badge fallback icon | 3efe59b |
vicbergquist | [desk-tool] fix badge overlap margins | ae773a5 |
Marius Lundgård | [desk-tool] Fix document pane menu boundaries | ebd2871 |
Marius Lundgård | [desk-tool] Fix callback hook in ValidationMenu | 9d90f82 |
Marius Lundgård | [desk-tool] Remove unused property | 85b7104 |
Espen Hovlandsdal | [field] Fix bug where ref/preview hooks would return stale value | 30d1c29 |
Mikolaj Dobrucki | [field] Fix array indexes annotations hover effects | 4054dc6 |
Marius Lundgård | [components] Remove uses of any for popover content
| b373c77 |
Marius Lundgård | [components] Add escape handler to menu button | e78f7a2 |
Marius Lundgård | [default-layout] Add escape handlers to menu buttons | d144ec6 |
Espen Hovlandsdal | [field] Hide revert button when not comparing against currently published | 4eba96d |
vicbergquist | [desk-tool] add sparkline hover styling | bce6e2c |
vicbergquist | [desk-tool] fix restore document button color | 2ccd642 |
vicbergquist | [field] fix long words stretch the entire container | 4de838e |
Espen Hovlandsdal | [field] Treat empty arrays as null/undefined values for changes | 2253183 |
Espen Hovlandsdal | [field] Removed unnecessary ChangeHeader component | a11833e |
Mikolaj Dobrucki | [form-builder] Fix PT focus ring | 7e0983b |
Benedicte Emilie Brækken | [desk-tool] Add narrow margin to presence overlay | 842fcc2 |
Marius Lundgård | [form-builder] Fix aspect ratio of image input | 56b17bf |
Marius Lundgård | [components] Adjust tooltip z-index | 8d193ce |
Espen Hovlandsdal | [field] Use CSS modules for class composition instead of JS module | f7c2f35 |
Espen Hovlandsdal | [field] Special-case portable text arrays not to have headers (unless moved) | e0202c8 |
Marius Lundgård | [desk-tool] Fix type link | a6ec791 |
Marius Lundgård | [desk-tool] Move validation scroll animation logic to FormView | 043d8ff |
Espen Hovlandsdal | [google-maps-input] Use proper types for geopoint diff | 9daec14 |
Marius Lundgård | [components] Fix type link | a7784b3 |
Marius Lundgård | [components] Import Placement type from Popper.js | 68abf21 |
Marius Lundgård | [components] Add forwardRef wrapper to Popover | 0484f1b |
Marius Lundgård | [components] Refactor PopoverDialog to use Popover internally | 5058e9d |
Marius Lundgård | [components] Disable PopoverDialog background by default | cc3ccc0 |
Marius Lundgård | [form-builder] Remove padding property from PopoverObjectEditing | 632c924 |
Marius Lundgård | [components] Remove max-height modifier from Popover | 2e1786e |
Marius Lundgård | [desk-tool] Set max-height of Timeline component | 279c1ce |
Marius Lundgård | [form-builder] Fix placement of upload instructions | 9598fd0 |
Marius Lundgård | [google-maps-input] Remove padding in dialog | 164dd3d |
Marius Lundgård | [desk-tool] Improve timeline UI | f48279a |
Marius Lundgård | [desk-tool] Add TimelinePopover component and update timeline CSS | 8451cdd |
vicbergquist | [field] fix change block too large and doesnt wrap with long strings | 994a84f |
Marius Lundgård | [components] Fix dialog overflow issue on Safari | 4194488 |
Benedicte Emilie Brækken | [base] Add zIndex to presence StickyOverlay | f645cd1 |
vicbergquist | [desk-tool] update sparkline hover state | 2c83668 |
Marius Lundgård | [components] Update Spinner | e5f0d46 |
Marius Lundgård | [desk-tool] Add components for empty states in ChangesPanel | 789b8b2 |
Marius Lundgård | [field] Add revert hover effect on field | cf5fa7d |
Marius Lundgård | [google-maps-input] Fix type links | cb3bfd8 |
Espen Hovlandsdal | [design-studio] Add deep structure for testing deep reverts | 0753290 |
Espen Hovlandsdal | [field] Hide revert button on groups when not comparing against latest | bf9a291 |
Per-Kristian Nordnes | [field] Enhanced PT-Diff | cb60bd9 |
Mikolaj Dobrucki | [field] Reduce spacing between PT diff elements | c99db33 |
vicbergquist | [field] fix double annotion tooltip and border | 73e46b0 |
Espen Hovlandsdal | [base] Fix requestIdleCallback shim | f7373bb |
Marius Lundgård | [field] Improve ergonomics and CSS of diffs | 1705938 |
Marius Lundgård | [desk-tool] Fix type issue | 70b29bb |
Marius Lundgård | [field] Fix string segment annotations | 92257de |
Espen Hovlandsdal | [client] Allow encoding arrays of strings for query parameters | 6852ad6 |
Per-Kristian Nordnes | [field] PT: fix hook issue with useDiffAnnotationColor | 62e27f7 |
Marius Lundgård | [field] Fix DiffAnnotation and DiffAnnotationTooltip after ergonomic refactor | 40eff2d |
Marius Lundgård | [field] Fix revert hover states and padding | 36bd525 |
Marius Lundgård | [desk-tool] Fix margins type issue | 32c4e8e |
Marius Lundgård | [field] Fix default value for as in DiffAnnotation
| fadd36b |
Marius Lundgård | [field] Update CSS for ValueError | d91ef7f |
Marius Lundgård | [field] Various visual tweaks | f17c6c2 |
Marius Lundgård | [desk-tool] Remove space between changes | 82e9eee |
Marius Lundgård | [field] Various visual tweaks | 6d93999 |
Marius Lundgård | [field] Removed outer padding from BooleanDiffField | d629abc |
Marius Lundgård | [desk-tool] Update ChangesPanel header | e312501 |
Marius Lundgård | [field] Tweak changes layout | dae6a60 |
Marius Lundgård | [design-studio] Add PT document type | 02ff0cc |
Marius Lundgård | [field] Update string segment hover effect | 18cb41f |
Marius Lundgård | [desk-tool] Fix timeline loading issue | 49c670b |
Marius Lundgård | [components] Fix toggle component issues | af3a1a2 |
Marius Lundgård | [field] Update annotation tooltip CSS | bfbf279 |
Marius Lundgård | [field] Tweak diff components | 55a7c67 |
Marius Lundgård | [desk-tool] Tweak document pane layout | 9155e22 |
Marius Lundgård | [design-studio] Add JSON preview styling | 41e65dc |
Marius Lundgård | [desk-tool] Fix document pane scroller height on narrow devices | 6372321 |
Marius Lundgård | [desk-tool] Fix issue with tabs not displaying on narrow devices | efd0bed |
Marius Lundgård | [design-studio] Fix JSON preview | af78995 |
Marius Lundgård | [desk-tool] Style the "No changes" state | 2b89e72 |
Marius Lundgård | [field] Revert overwritten changes to Change component | 268f6cf |
Marius Lundgård | [field] Adjust AnnotatedStringDiff CSS | e1be6f6 |
Mikolaj Dobrucki | [desk-tool] Fade out text on disable sparkline | 4afe0dd |
Marius Lundgård | [field] Fix word-break | 09e0963 |
Espen Hovlandsdal | [field] Improve "show header" logic for portable text changes | 8e4ca75 |
Marius Lundgård | [desk-tool] Update copy of empty changes state | 83f7220 |
Marius Lundgård | [field] Remove "by" suffix from tooltips | 7b514e4 |
Mikolaj Dobrucki | [form-builder] Improve FileInput uploaded state | 554c0cb |
Magnus Holm | [mendoza] Use correct meta when rebasing | 6fada65 |
Magnus Holm | [desk-tool] Extract removed annotation from the first transaction | 233108d |
Espen Hovlandsdal | [field] Add "no change" diff handling to image diff component | f821194 |
Magnus Holm | [desk-tool] Handle empty diff selection | d564445 |
Marius Lundgård | [field] Move components to "components" directory | 11b005f |
Marius Lundgård | [field] Rename contexts directory | 5946c56 |
Marius Lundgård | [field] Fix typo in file name | a9b6d27 |
Marius Lundgård | [field] Fix strike-through of removed reference diff | 515acdc |
Marius Lundgård | [field] Use grid layout for reference changes | 5617f1b |
Marius Lundgård | [base] Restructure user-color files | f7d989b |
Marius Lundgård | [base] Improve user color tools | 81f4247 |
Marius Lundgård | [components] Update user color in Avatar | 31909f0 |
Marius Lundgård | [field] Update user color application | 3a05c36 |
Marius Lundgård | [base] Fix ambient type issue | c06ff23 |
Marius Lundgård | [base] Fix typo in error message | 4d740c3 |
vicbergquist | [field] wip add revert all changes button | e728b02 |
Marius Lundgård | [chore] Convert px to em values | c6cf576 |
Marius Lundgård | [components] Remove debug property | 7a463f8 |
Espen Hovlandsdal | [diff] Remove unused types | ae5aea4 |
Espen Hovlandsdal | [types] Add new @sanity/types package | a0d091a |
Espen Hovlandsdal | [state-router] Use newer react typings | 76379c7 |
Espen Hovlandsdal | [field] Use @sanity/types | 7614ea8 |
Espen Hovlandsdal | [base] Add useDocumentValues hook | 3f0732e |
Espen Hovlandsdal | [types] Add asset types | 6f68602 |
Espen Hovlandsdal | [field] Provide loading and error states for image diff | 174c546 |
Marius Lundgård | [base] Tweak presence UI | 3fc2596 |
Marius Lundgård | [components] Various UI tweaks | cada735 |
Marius Lundgård | [form-builder] Various UI tweaks | 39af050 |
Marius Lundgård | [desk-tool] Adjust presence margins | f9847f0 |
Espen Hovlandsdal | [util] Use @sanity/types for path types | 267b46e |
Espen Hovlandsdal | [field] Remove unnecessary eslint ignores | 5ee0c69 |
Marius Lundgård | [base] Fix Undo icon | de9faec |
Per-Kristian Nordnes | [field] PT: fix missing key issue | c26fa0d |
Marius Lundgård | [default-layout] Fix hidden menu items in SideMenu component | fb74265 |
Marius Lundgård | [default-layout] Various UI improvements | e565f40 |
Per-Kristian Nordnes | [field] PT: fix string splitting regex | 92ac20f |
Espen Hovlandsdal | [field] Use isTypedObject from @sanity/types | ff93ea0 |
Espen Hovlandsdal | [types] Add schema type definition | 3d7b030 |
Espen Hovlandsdal | [design-studio] Prettier JSON preview | 134f005 |
Magnus Holm | [desk-tool] Align events properly when latest snapshot is a mutation | d16f43a |
Magnus Holm | [desk-tool] Fix detection of empty change | 017c086 |
Magnus Holm | [desk-tool] Let there always be a @lastPublished-chunk | bc7c551 |
Benedicte Emilie Brækken | [field] Unset nested stubs on undo changes | 59a1bf6 |
Magnus Holm | [diff++] Attempt to track moving of items | 5becf1c |
Espen Hovlandsdal | [types] Add typings for slug | a4d11dd |
Espen Hovlandsdal | [base] Use @sanity/types for paths | 5d7ef2e |
Espen Hovlandsdal | [components] Use @sanity/types for paths | 05a34d2 |
Espen Hovlandsdal | [util] Fix path utils typing | 3af14e1 |
Espen Hovlandsdal | [form-builder] Use @sanity/types for path typings | 67644a8 |
Marius Lundgård | [field] Rename AnnotatedStringDiff to DiffString | acb3976 |
Marius Lundgård | [field] Rename Change to DiffFromTo | 257f675 |
Marius Lundgård | [field] Rename ChangeLayout to FromTo | 0029993 |
Marius Lundgård | [field] Rename DiffAnnotation to DiffCard | 24aae5c |
Marius Lundgård | [field] Rename DiffAnnotationTooltip to DiffTooltip | 8d17b2e |
Marius Lundgård | [field] Refactor diff components | 9376bf5 |
Marius Lundgård | [base] Fix failing test | c0fa08a |
Espen Hovlandsdal | [field] Optimize ChangeList change computation | 43cec0b |
Espen Hovlandsdal | [google-maps-input] Remove broken annotations | fe03e4c |
Marius Lundgård | [components] Fix issue with targetElement in Popover | f788518 |
Marius Lundgård | [default-layout] Remove console.log | 2fa9956 |
Marius Lundgård | [components] Fix popover components | 457735a |
Espen Hovlandsdal | [desk-tool] Move "no changes" component/logic to field module | 0b0a942 |
Marius Lundgård | [field] Improve diff UI | 467d996 |
Marius Lundgård | [field] Fix layout selector in FromTo | dd8f7d0 |
Marius Lundgård | [field] Update FileFieldDiff to use components | da00126 |
Marius Lundgård | [field] Update SlugPreview | 3267844 |
Marius Lundgård | [field] Fix tooltip heading in file diff | 02ec50b |
Marius Lundgård | [field] Fix pluralization in moves | ceb5642 |
Marius Lundgård | [field] Fix color in fallback diff | 59bf0cc |
Espen Hovlandsdal | [form-builder] Upgrade portable text editor | 117659e |
Espen Hovlandsdal | [base] Temporary workaround for incorrect client definitions being resolved | 8862b25 |
Per-Kristian Nordnes | [chore] Add es2020.string to global ts-config (lib) | bf30a2b |
Per-Kristian Nordnes | [field] PT: remove ts ignore | f5881c7 |
Per-Kristian Nordnes | [form-builder] PTE: improve popover editing reference element logic | cf2543b |
Espen Hovlandsdal | [chore] Fix version numbers | bb93fdc |
Espen Hovlandsdal | [field] Fix broken title paths on deep ChangeList | ccc63c4 |
Espen Hovlandsdal | [field] Pass down cardClassName to DiffCard on unchanged diffs | bbe6587 |
Espen Hovlandsdal | [field] Use useAnnotationColor where possible | a4fe2e4 |
Marius Lundgård | [field] Only show RevertChangesButton label on hover (if mouse-device) | fd47139 |
Bjørge Næss | [base, desk-tool, etc] Add scroll container for emulating scroll event bubbling | 29686ce |
Bjørge Næss | [form-builder] Provide a compareValue for input components to determine changes | 72db545 |
Bjørge Næss | [util] Move trimChildPath to PathUtils | 2623d0c |
Bjørge Næss | [base/presence] Make a local rect type and make placeholder forward ref | 15d4c1b |
Bjørge Næss | [desk-tool, base, form-builder, etc] Implement basic version of change connectors | db508af |
Marius Lundgård | [field] Update diff layout | f42f395 |
Marius Lundgård | [design-studio] Add more primitive array examples | d036473 |
Benedicte Emilie Brækken | [field] Flatten group changes before undo | da3de70 |
Bjørge Næss | fixup! [desk-tool, base, form-builder, etc] Implement basic version of change connectors | 9277284 |
Marius Lundgård | [field] Improve diff UI | ba71dbf |
Bjørge Næss | [base] Adjust scrollIntoView duration | 576816d |
Marius Lundgård | [field] Add confirm popover to "Revert all changes" action | 2e01c50 |
Marius Lundgård | [google-maps-input] Update diff UI | 1653c93 |
Marius Lundgård | [field] Improve string diff | b90b741 |
vicbergquist | [desk-tool] fix sparkline disabled state when change panel open | d635145 |
Bjørge Næss | [base] Add popover component part | b754d93 |
Bjørge Næss | [base] Connector tooltip + click to open (still some visual issues to sort out) | 9f052bc |
Bjørge Næss | [desk-tool] Decrease the stroke width of the connector path responding to pointer events | 506161f |
Bjørge Næss | [base, desktool] Refactor and simplify react-track-elements | 6434a6a |
Espen Hovlandsdal | [field] Fix FromTo showing arrow regardless of "from" value | c1ea634 |
Magnus Holm | [mendoza] Pass along the correct endMeta when splitting strings | 0cc6668 |
Bjørge Næss | [base, desk-tool, etc] Make connector appear on field change hover | 22c0105 |
Bjørge Næss | [form-builder] Add change indicator to slug input | 11414b1 |
Mikolaj Dobrucki | [default-layout] Fix presence / search navbar layout bug | 025d0e6 |
Espen Hovlandsdal | [field] Add helpers for narrowing item diff types | 072d391 |
Espen Hovlandsdal | [imagetool] Fix crash when checking crop boundaries without a value | a0bffe2 |
Espen Hovlandsdal | [field] Pass parent schema to diff resolvers | a64a572 |
Espen Hovlandsdal | [types] Add options typings for array schema type | 1a31c69 |
Espen Hovlandsdal | [design-studio] Add more examples of complex "array of options" | b5fd8bc |
Espen Hovlandsdal | [field] Add "array of options" field diff | 748ac7b |
Marius Lundgård | [components] Add default value for PortalContext | 6cc81ab |
Marius Lundgård | [components] Improve Tooltip component | 352d6f1 |
Marius Lundgård | [components] Refactor and improve validation components | 5ec8e03 |
Marius Lundgård | [desk-tool] Fix ValidationList props | 2abe8fa |
Marius Lundgård | [components] Work around tsconfig issue | 573152b |
Mikolaj Dobrucki | [field] Add spacing between array of checkboxes items | e472607 |
Mikolaj Dobrucki | [field] Fix spacing between GroupChange blocks | 90a2d68 |
Marius Lundgård | [components] Refactor types and implement consistent usage PopoverDialog for confirm popovers | 3ade93e |
Marius Lundgård | [desk-tool] Fix copy in confirm popover dialogs | 5e3bd04 |
Bjørge Næss | fixup! [form-builder] Add change indicator to slug input | c8c3f60 |
Espen Hovlandsdal | [field] Do not render field wrapper on groups if embedded in diff | 2cd52f7 |
Espen Hovlandsdal | [types] Use @sanity/types for Marker, Reference types | e198a4e |
Espen Hovlandsdal | [form-builder] Pass resolved document type to reference intent link | e622cb5 |
Bjørge Næss | [form-builder] Add connectors support for images | 2b22f12 |
Bjørge Næss | [field] Only wrap inner GroupChange | 48de689 |
Marius Lundgård | [field] Use word-wrap: break-word; for text diffs
| cc8b82c |
Espen Hovlandsdal | [base] Upgrade bifur client | d6d91c8 |
Espen Hovlandsdal | [default-layout] Improve typings of NavbarContainer | 67c5525 |
Espen Hovlandsdal | [base] Add ability to use experimental API version (localStorage flag) | 4c602ce |
Mikolaj Dobrucki | [form-builder] Hack date picker to make it a bit less ugly | aec5299 |
Marius Lundgård | [desk-tool] Fix lint errors and increase readability in actions | acc28f4 |
Marius Lundgård | [desk-tool] Fix hooks issues | ee47334 |
Marius Lundgård | [desk-tool] Fix lint errors and improve readability of statusBar components | 1000725 |
Marius Lundgård | [desk-tool] Fix lint error and improve readability | aeeb6fd |
Marius Lundgård | [desk-tool] Update document actions UI | 534a307 |
Marius Lundgård | [components] Fix escape handler in PopoverDialog | 18739f0 |
Marius Lundgård | [components] Sort DialogPopover's props | d32e54a |
Marius Lundgård | [desk-tool] Use onEscape in document action menus | 30566e9 |
Bjørge Næss | [base] Don't hard fail on duplicate ids for now | 8ebb88c |
Marius Lundgård | [desk-tool] Improve inspect dialog | 4f3482a |
Marius Lundgård | [field] Render empty image diff | e1a5244 |
Per-Kristian Nordnes | [form-builder] PTE: move change indicators out of editor to BlockExstras overlay. | 6c4c40b |
Per-Kristian Nordnes | [design-studio] Update pt test schema | 84dae26 |
Per-Kristian Nordnes | [form-builder] PTE: render block extras better | 18740ba |
Per-Kristian Nordnes | [form-builder] PTE: work in progress with PopoverObjectEditing | 6647e10 |
Marius Lundgård | [design-studio] Add example of singleton document form | 2722f56 |
Marius Lundgård | [field] Fix lint errors and improve readability of InlineObject | 318211c |
Per-Kristian Nordnes | [form-builder] PTE: fix issue with change indicators in fullscreen mode | ca3cb96 |
Marius Lundgård | [field] Render preview for InlineObject | 656d93b |
Marius Lundgård | [field] Improve missing schema type message for InlineObject | 7dda129 |
Marius Lundgård | [base] Fix lint errors in ChangeBar | f83ea49 |
Per-Kristian Nordnes | [field] PT: symbolize inline objects as well | e90fc31 |
Per-Kristian Nordnes | [form-builder] PTE: fix some issues with change indicator placement in fullscreen when no other blockExtras | b8e83a8 |
Marius Lundgård | [base] Improve ChangeBar UI | 2eeebcc |
Marius Lundgård | [desk-tool] Improve margins of document form | cf86df4 |
Marius Lundgård | [field] Update hover state on revert all changes | 5486eb6 |
Benedicte Emilie Brækken | [desk-tool] Make connector-lines horizontal | bc4bd8b |
Marius Lundgård | [base] Wrap ScrollContainer in forwardRef | 0281917 |
Marius Lundgård | [components] Add TooltipProvider | 0a3d248 |
Marius Lundgård | [chore] Move ScrollContainer to @sanity/components | 62cff24 |
Per-Kristian Nordnes | [form-builder] PTE: fix CSS issue with blockExtras | ac07157 |
Marius Lundgård | [components] Refactor scroll components | e21e1cb |
Marius Lundgård | [components] Rename scroll component file | 6ed461e |
Per-Kristian Nordnes | [form-builder] PTE: fix CSS issue with blockExtras | 9bfac89 |
Espen Hovlandsdal | [field] Add diff tooltips to array of options diff | a326a24 |
Marius Lundgård | [field] Add popover with diffs for InlineObject | d3173e5 |
Marius Lundgård | [field] Add overflow guards to InlineObject | 214aa8b |
Espen Hovlandsdal | [field] Make fallback diff use block card for preview | e09b66a |
Marius Lundgård | [base] Fix ChangeBar CSS | 1079ae3 |
Marius Lundgård | [desk-tool] Change placement of tooltip in ChangesPanel header | 5d23193 |
Per-Kristian Nordnes | [field] PT: support line breaks | b2bd4a4 |
Marius Lundgård | [field] Fix spacing between changes and groups of changes | 839825f |
Marius Lundgård | [desk-tool] Remove unwanted margin in changes panel | 8341d78 |
Marius Lundgård | [field] Improve changelist UI | 57adc87 |
Per-Kristian Nordnes | [form-builder] PTE: fix overflow on inline block previews | c595e74 |
Marius Lundgård | [base] Improve ChangeBar UI | c0f4460 |
Marius Lundgård | [components] Disable interaction for Tooltip | 50a0039 |
Bjørge Næss | [form-builder] Pass compareValue in ArrayOfPrimitivesInput | 153f08d |
Marius Lundgård | [field] Improve FromTo components | 9dd4635 |
vicbergquist | [desk-tool] update sparkline design | 532824f |
Marius Lundgård | [base] Add missing declaration for warning-outline-icon | 0e94de8 |
Marius Lundgård | [components] Improve validation components | be4e960 |
Marius Lundgård | [components] Align validation status element | 1828849 |
Per-Kristian Nordnes | [field] PT: remove legacy code, major cleanup | 44364ea |
Per-Kristian Nordnes | [design-studio] Add to pt schema | 5d7ab1b |
Per-Kristian Nordnes | [field] PT: clean up inline object rendering | 461fd2c |
Per-Kristian Nordnes | [field] PT: fix some issues from Decorator refactor | 8ff8671 |
Per-Kristian Nordnes | [field] PT: remove unused files | 6d9999f |
Per-Kristian Nordnes | [field] PT: let Decorator and Annotation comp. get ready baked diffs | 303f918 |
Per-Kristian Nordnes | [field] PT: move findAnnotationDiff fn to helpers | b60a953 |
Per-Kristian Nordnes | [field] PT: add more annotation and inline object symbols | 1de7274 |
Per-Kristian Nordnes | [field] PT: restore new empty block diff | b04b54d |
Per-Kristian Nordnes | [field] PT: extract noisy code to function | caec832 |
Bjørge Næss | [components] add useOnScroll hook for listening to scroll events in parent ScrollContainer | c8dd4f2 |
Bjørge Næss | [base, desk-tool] Make click on connector put focus into field | 910ba3b |
Bjørge Næss | [base, desk-tool] Connector perf improvements | 0ffdc20 |
Bjørge Næss | [form-builder] Support change indicator on array items | a8403e6 |
Espen Hovlandsdal | [chore] Add typescript declaration for warning outline icon | 0412953 |
Bjørge Næss | fixup! [base, desk-tool] Make click on connector put focus into field | da1ce28 |
Bjørge Næss | [desk-tool] Only display the one most specific connector | 521e295 |
Bjørge Næss | fixup! [components] add useOnScroll hook for listening to scroll events in parent ScrollContainer | 14df414 |
vicbergquist | [desk-tool] fix sparkline showing incorrect sessions on new, and unpublished documents | bc72f8a |
Per-Kristian Nordnes | [form-builder] PTE: show to-field change indicator only when not in fullscreen mode | 593225c |
Espen Hovlandsdal | [form-builder] Wrap reference input in change indicator provider | 3c78eac |
Per-Kristian Nordnes | [field] PT: fix key bug, capitalize description | 98556a0 |
Per-Kristian Nordnes | [field] PT: add missing react keys | 9c05e29 |
vicbergquist | [desk-tool] sparkline: fix custom badges position when review changes button transitions out | 5335c74 |
Bjørge Næss | [base] Move all connector things over to base | 4e9ad92 |
Espen Hovlandsdal | [types] Add external asset source extensions to asset type defs | 4ad6f29 |
Espen Hovlandsdal | [form-builder] improve image input typings | 0d37439 |
Espen Hovlandsdal | [form-builder] Provide change indicator for boolean input | ab7c0e8 |
Bjørge Næss | [base] Support for disabling connectors | 691de58 |
Espen Hovlandsdal | [base] Use pointer cursor for connector | f2a30af |
Espen Hovlandsdal | [types] Add File interface | 1a5c400 |
Espen Hovlandsdal | [form-builder] Improve FileInput typings | 44c1851 |
Espen Hovlandsdal | [form-builder] Don't export Image type outside ImageInput | 8491969 |
Benedicte Emilie Brækken | [base] Add scroll to align connectors on click | 1d100ba |
Bjørge Næss | [form-builder] Provide a way for input components to specify what their comparison values are | 03bfbd2 |
vicbergquist | [desk-tool] remove collapsing sparkline sessions when syncing | bf634e7 |
Espen Hovlandsdal | [types] Improve schema type typings with additional options | a863a07 |
Espen Hovlandsdal | [form-builder] Use @sanity/types for schema type definitions | 85086a7 |
Per-Kristian Nordnes | [field] PT: Improve accuracy and attribution for mark changes | 75a1b9f |
Espen Hovlandsdal | [types] Add types for mutations | ed57684 |
Per-Kristian Nordnes | [field] PT: make sure to render trailing spaces correctly | 3cb32f7 |
vicbergquist | [desk-tool] add container query to sparkline | 7ee413d |
Per-Kristian Nordnes | [field] PT: improve handling of PT-annotations changes | 676ebb6 |
Per-Kristian Nordnes | [field] PT: some minor tweaks and comments | ee4646f |
vicbergquist | [desk-tool] fix inappropriate live document evaluation | 97d9d39 |
Marius Lundgård | [form-builder] Add back initializer argument | cb94448 |
Espen Hovlandsdal | [form-builder] Remove unused prop | 09a0c17 |
Espen Hovlandsdal | [base] Use hasFocus() instead of isEqual() when determining focus | 646fb5e |
Espen Hovlandsdal | [form-builder] Fix focus/change determination for reference input | 7291346 |
Espen Hovlandsdal | [util] Make hasFocus method more readable | 97dad12 |
Espen Hovlandsdal | [form-builder] Use functional component for UploadPlaceholder | f62006e |
Espen Hovlandsdal | [components] Allow disabling change indicator rendering | b0232cc |
Espen Hovlandsdal | [base] Sort imports | e77ff03 |
Espen Hovlandsdal | [types] Provide separate type for field collapse options | f97d1d7 |
Espen Hovlandsdal | [util] Provide function to determine number of equal segments in paths | 7eb0892 |
Espen Hovlandsdal | [form-builder] Fix focus handling on file input | 1837864 |
Espen Hovlandsdal | [base] Allow comparing undefined/null to complex structures without compareDeep | 04f3578 |
Espen Hovlandsdal | [form-builder] Tell array/object inputs not to render change indicator | 0a615b7 |
Per-Kristian Nordnes | [field] PT: move symbols to own export, cleanup code | ecf2cee |
Per-Kristian Nordnes | [field] PT: break apart PortableTextComponent code into functions | 65f4fcb |
Per-Kristian Nordnes | [field] PT: Render annotation objects with popover diff | fe2272c |
Per-Kristian Nordnes | [field] PT: show empty inline object in diff-popover | a112bc5 |
Per-Kristian Nordnes | [field] PT: Update PortableText component according to changes | 6451ebf |
Per-Kristian Nordnes | [field] PT: Annotation CSS fix | dbb6036 |
Espen Hovlandsdal | [base] Allow passing className to change indicator | 8b240f1 |
Espen Hovlandsdal | [field] Reuse already declared variables where possible | 16e7bb7 |
Espen Hovlandsdal | [google-maps-input] Show change indicators for map | c6798ac |
Espen Hovlandsdal | [google-maps-input] Disable scroll-wheel zoom on diff | 61b0dc0 |
Espen Hovlandsdal | [form-builder] Provide change indicator for image asset field | f59e50c |
Marius Lundgård | [form-builder] Move array input CSS to same directory as components | aebe854 |
Marius Lundgård | [form-builder] Move and rename array input's item component | c392246 |
Marius Lundgård | [form-builder] Slight refactor of ArrayInput
| de5ae2e |
Marius Lundgård | [base] Show ChangeBar's badge when focusing a field | c5a823c |
Per-Kristian Nordnes | [field] PT: explain fallback annotation for indirect marks change | d677763 |
Per-Kristian Nordnes | [field] PT: annotation css update | 250aa32 |
Marius Lundgård | [form-builder] Fix InputInput wrapper issue | e005c65 |
Marius Lundgård | [form-builder] Make ImageInput's focus ring consistent with other inputs | 905a920 |
Marius Lundgård | [form-builder] Make FileInput's focus ring consistent with other inputs | 4fc33c9 |
Marius Lundgård | [components] Use the --focus-color variable for focus ring | 8f82dd9 |
Marius Lundgård | [google-maps-input] Use the --focus-color variable for focus ring | 941ee7f |
Benedicte Emilie Brækken | [base] Fix unable to scroll on connector click bug | b290ab5 |
Espen Hovlandsdal | [base] Expose change indicator props type | cba2133 |
Espen Hovlandsdal | [form-builder] Change useChangeIndicator from boolean to options object | 3bda077 |
vicbergquist | [form-builder] add presence to number input | 4b87590 |
Espen Hovlandsdal | [form-builder] Make focus/blur work on options array input | aebc7af |
Per-Kristian Nordnes | [form-builder] PTE: Fix issues with popover editing and change indicators ref-elements | 4c09332 |
Per-Kristian Nordnes | [form-builder] PTE: fix popover object editing ref element bug | 43a0c26 |
Espen Hovlandsdal | [form-builder] Clean up typings on ArrayOfPrimitivesInput | d9e9875 |
Espen Hovlandsdal | [form-builder] Add focus handling to array of options input | 4e2adce |
Per-Kristian Nordnes | [field] PT: fix typing | cbc000d |
Per-Kristian Nordnes | [field] PT: fix rendering of PT annotations | 45cbd4f |
Per-Kristian Nordnes | [field] PT: Make annotation text segments group within Annotation component | 76bbda3 |
Per-Kristian Nordnes | [design-studio] Edit pt schema | 2c73f98 |
Per-Kristian Nordnes | [form-builder] PTE: tweak annotation component | 032a2f1 |
Per-Kristian Nordnes | [form-builder] PTE: implement custom FormField change indicator | 80c1952 |
Per-Kristian Nordnes | [base] Make sure ChangeIndicator hitarea accepts pointer events | 195f0f6 |
Per-Kristian Nordnes | [base] Add className support to ChangeIndicatorWithProvidedFullPath as well | a0a81f8 |
Per-Kristian Nordnes | [form-builder] PTE: add className to fullscreen changeIndicator | 49e75ad |
Magnus Holm | [diff] Fix crash related to duplicate items in arrays | 6862c9b |
Magnus Holm | [desk-tool] Improve detection of states in timeline | 1c02f87 |
Per-Kristian Nordnes | [base] make ChangeFieldWrapper stop propagate its onClick event | 1c576f9 |
Per-Kristian Nordnes | [form-builder] PTE: respond to single block focusPaths | bc8c4c7 |
Per-Kristian Nordnes | [form-builder] PTE: remove unecessary value dependency from expression | d43f9b0 |
Marius Lundgård | [base] Update core CSS | 8063e45 |
Marius Lundgård | [components] Improve CSS for UI consistency | 323179a |
Marius Lundgård | [default-layout] Improve CSS for UI consistency | 73b943c |
Marius Lundgård | [desk-tool] Remove title attribute from timeline items | fc17b43 |
Marius Lundgård | [desk-tool] Update CSS for pane headers | 792b063 |
Marius Lundgård | [desk-tool] Use CSS variables for styling the timeline | c97bf2e |
Marius Lundgård | [field] Use hairline-color for lines | b87a70a |
Marius Lundgård | [form-builder] Update CSS for boolean input | 61c0bc1 |
Marius Lundgård | [form-builder] Update CSS for PortableTextInput | c003cc6 |
Marius Lundgård | [design-studio] Add themes for debugging | d42bfad |
Marius Lundgård | [components] Update grid size | 2132c66 |
Marius Lundgård | [components] Add hairline to MediaPreview | b0ebd4a |
Marius Lundgård | [components] Add placement property to ValidationStatus
| c69bdb4 |
Marius Lundgård | [form-builder] Update ArrayInput UI | dc4d024 |
Per-Kristian Nordnes | [field] PT: safety-measure for segment creation | 8eba031 |
Per-Kristian Nordnes | [form-builder] PTE: Enhance selection handling in the editor | 487d90f |
Per-Kristian Nordnes | [field] PT: fix missing key issue | 80f21d0 |
Marius Lundgård | [form-builder] Move ChangeIndicator wrapper to fix rendering of connectors | 99063bb |
Per-Kristian Nordnes | [field] PT: add proper keys and find removed child | b92a55c |
Anders Stensaas | [base] Fix an issue with clamp connectors | d55fc3b |
Marius Lundgård | [desk-tool] Add custom dropdown button for version select menus | ddbfb3e |
Per-Kristian Nordnes | [field] PT: more key fixes | fc7aa91 |
Per-Kristian Nordnes | [field] PT: fix renedering bugs | d5255a5 |
Per-Kristian Nordnes | [form-builder] PTE: check for zero-length patch-event | d4d5078 |
Per-Kristian Nordnes | [base] Make it possible to hide change indicators through props | 94ff0cf |
Per-Kristian Nordnes | [field] Expose DiffContext | c0605e2 |
Per-Kristian Nordnes | [form-builder] Update @sanity/portable-text-editor | c3c113b |
Per-Kristian Nordnes | [form-builder] PTE: improve focus handling | 7c03199 |
Per-Kristian Nordnes | [form-builder] PTE: Add hidden ChangeIndicator on annotations | 53cc39e |
Per-Kristian Nordnes | [field] PT: add requirement test | f504097 |
Per-Kristian Nordnes | [form-builder] PTE: add some invisible content to the hidden ChangeIndicator | ab5aa40 |
Per-Kristian Nordnes | [form-builder] PTE: forceUpdate the editor when we get a single block/child focusPath incoming | 896f700 |
Per-Kristian Nordnes | [form-builder] PTE: remove invalid requirement for focusPath tracking" | 0dd4d7e |
Anders Stensaas | [base] Split clampConnectors into two, as they are not always the same for fields and changes | c16d71b |
Per-Kristian Nordnes | [form-builder] Update @sanity/portable-text-editor | 4128e1b |
Per-Kristian Nordnes | [form-builder] PTE: fix props warning | 979176c |
Magnus Holm | [desk-tool] chunker: Pass along draft/publishedState properly | 3fe03dc |
Per-Kristian Nordnes | [form-builder] Update @sanity/portable-text-editor | a0ea16c |
Marius Lundgård | [components] Fix styling of validation status badge | 2311437 |
Marius Lundgård | [field] Hide revert changes button's text before hover | 002ff32 |
Marius Lundgård | [field] Add confirmation dialog for revert changes button | 2202ab4 |
Marius Lundgård | [desk-tool] Update ChangesPanel's header border | 88d1b81 |
Marius Lundgård | [form-builder] Update array grid item CSS | 5bb78d9 |
Marius Lundgård | [field] Remove hover effect on FieldChange | d5191c0 |
Anders Stensaas | [desk-tool] Fix an issue where the version menu wasn't showing on narrow devices | 1cdf398 |
Magnus Holm | [mendoza] Update meta when an item is moved | 742c0b9 |
Marius Lundgård | [field] Update style of blockquote and header diffs | 2858886 |
Anders Stensaas | [base] Fix an issue where the connectors didn't have the correct color on hover (and not focused) | 8beb46c |
vicbergquist | [desk-tool] make sparkline themeable | 8bb01d1 |
vicbergquist | [desk-tool] use usetimeago hook in sparkline | 395b6e9 |
Anders Stensaas | [base] Fix an issue where the connector line was not themeable | e6e162a |
vicbergquist | [desk-tool] disable sparkline hover when change panel is active | 2b2ffb8 |
Marius Lundgård | [components] Improve avatar CSS | 9dbff3f |
Espen Hovlandsdal | [base] Fix lint warnings | ef9aa91 |
Espen Hovlandsdal | [util] Stop counting equal segments after first miss | 57614d0 |
Espen Hovlandsdal | [base] Find most specific connector target on no direct match | e92a098 |
Espen Hovlandsdal | [base] Prefer hovered connectors over focused ones | c6cf17a |
Marius Lundgård | [field] Use CSS variables in DiffCard | f241f1f |
Per-Kristian Nordnes | [form-builder] PTE: change copy for 'Click to edit' | 4fc3fdc |
Per-Kristian Nordnes | [form-builder] PTE: test if node exists before selecting it from focusPath | 9ded131 |
Espen Hovlandsdal | [base] Use hover color for connector when hovering change | b3d0a5b |
Marius Lundgård | [base] Fix horizontal offset and adjust constants | 742a8e4 |
Marius Lundgård | [desk-tool] Fix wrapping text in DropdownButton | 246c163 |
vicbergquist | [field] add no image state when there's no image to show | 08ae639 |
vicbergquist | [base] hide change bars on mobile | bed3261 |
Espen Hovlandsdal | [base] Don't draw connector if both arrows are out of bounds | c2eab72 |
Espen Hovlandsdal | [design-studio] Upgrade react-jason | d098487 |
Espen Hovlandsdal | [design-studio] Add unsplash image source | 48c7769 |
vicbergquist | [chore] update date-fns | 0743242 |
vicbergquist | [desk-tool] refactor timeago component | 12d6698 |
Marius Lundgård | [components] Add useClickOutside hook | 9c32a7d |
Marius Lundgård | [components] Add portal prop to Popover
| 1ee1be2 |
Marius Lundgård | [components] Add portal prop to MenuButton and improve click outside
| 606e288 |
Marius Lundgård | [form-builder] Render InsertMenu in portal | 5fb6e58 |
Marius Lundgård | [components] Improve dialog and popover components | eb10d2b |
Marius Lundgård | [form-builder] Improve ArrayInput edit modals | 838467b |
Marius Lundgård | [field] Improve use of PopoverDialog | 7b47c7c |
Marius Lundgård | [design-studio] Add editModal option
| d84e2d3 |
Anders Stensaas | [desk-tool] Disable restore document button when selecting the initial document revision (empty document) | ca0f6e7 |
Per-Kristian Nordnes | [field] Add @sanity/util to package | 55c3678 |
Per-Kristian Nordnes | [form-builder] Update @sanity/portable-text-editor | 0889ffa |
Per-Kristian Nordnes | [field] PT: improve rendering of deleted nodes, use context for annotation and inline objects. | ca976e7 |
Per-Kristian Nordnes | [form-builder] PTE: Remove unceccesary change indicator | 3efc36f |
Per-Kristian Nordnes | [form-builder] PTE: Test for exsistense of block object and inline object before selecting it | 763acdf |
Per-Kristian Nordnes | [form-builder] PTE: Don't use change indicator when editing object | 42e6d8a |
Per-Kristian Nordnes | [form-builder] PTE: fix changed type in dependency | 2c4f9ca |
Per-Kristian Nordnes | [field] PT: Set focus when clicking on block, not just text. | 4f7c922 |
Per-Kristian Nordnes | [field] PT: use new click outside code | f61a694 |
Per-Kristian Nordnes | [field] PT: mode DiffCard for text to Text component | 4583898 |
Per-Kristian Nordnes | [field] PT: fix grouping of Annotation texts | 40e5114 |
Per-Kristian Nordnes | [field] PT: don't setFocus if item removed | 8ab4238 |
Per-Kristian Nordnes | [field] PT: remove unused import | cfc1259 |
Per-Kristian Nordnes | [field] PT: fix annotation rendering issues | 7c272d1 |
Per-Kristian Nordnes | [field] PT: update Text component | 20a9549 |
Per-Kristian Nordnes | [field] FieldChange: run confirmation popup in portal | 9a63dd5 |
Per-Kristian Nordnes | [form-builder] PTE: render change indicator always for BlockExtras | 5ca54b3 |
Per-Kristian Nordnes | [field] PT: test for annotation before outputting DiffCard | f9fa042 |
Espen Hovlandsdal | [form-builder] Fix automatic argument names from Flow migration | 1e58fa2 |
Espen Hovlandsdal | [form-builder] Fix slug input closing immediately when in arrays | 8392f0d |
Espen Hovlandsdal | [google-maps-input] Fix uncentered message on missing data | c32d8a9 |
Espen Hovlandsdal | [google-maps-input] Set focus path to terminator on modal open | 84a239c |
vicbergquist | [desk-tool] disable sparkline button when transitioned out | 1551585 |
vicbergquist | [components, form-builder] fix too thick focus border | 7c24d47 |
vicbergquist | [form-builder] fix warning container too close to change bar | 0a0d339 |
vicbergquist | [form-builder] make details container keyboard accessible | 4b232d8 |
Per-Kristian Nordnes | [field] PT: fix newline regression | bdcf8a3 |
Per-Kristian Nordnes | [field] PT: fix added/removed block regression | cbd0287 |
Per-Kristian Nordnes | [field] PT: fix invalid condition (must look for everything not 'unchanged') | 98a9a93 |
vicbergquist | [components] fix button grid in image input with dropdown | bdd078c |
vicbergquist | [form-builder] fix read only styling in file and image input | 59df4cf |
vicbergquist | [field] fix tooltip position in boolean diff | 23139e3 |
vicbergquist | [field, desk-tool] hide revert all changes button when not showing current doc version | d42fe24 |
Magnus Holm | [mendoza] Smarter rebasing of strings | c28cb6b |
Per-Kristian Nordnes | [field] PT: mixin original string segments to pseudoDiff | f25e216 |
Espen Hovlandsdal | [field] Ensure array exists before attempting to insert stub | 82c53c4 |
Magnus Holm | [mendoza] Handle overlapping prefix/suffix in string rebase | 68b1108 |
vicbergquist | [desk-tool] fix document list loading indicator padding and style | 0e1cbb0 |
vicbergquist | [imagetool] fix canvas width to work with changebar | 2f5d3ad |
Espen Hovlandsdal | [chore] Normalize dependency versions | a7f8168 |
Espen Hovlandsdal | [chore] Switch back to deploying test-studio | eeb7e4d |
Espen Hovlandsdal | [google-maps-input] Add attribution to geopoint diff | fbcb62a |
Espen Hovlandsdal | [chore] Remove eslint package from being published | 37f95f8 |