-
Notifications
You must be signed in to change notification settings - Fork 450
Comparing changes
Open a pull request
base repository: sanity-io/sanity
base: v3.10.3
head repository: sanity-io/sanity
compare: v3.11.0
- 15 commits
- 114 files changed
- 9 contributors
Commits on May 12, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 47302b5 - Browse repository at this point
Copy the full SHA 47302b5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5780487 - Browse repository at this point
Copy the full SHA 5780487View commit details -
fix(form/inputs): improve tracking of formState focusPath for PT-input (
#4466) * fix(desk): DocumentPane must be keyed on id The document id must be part of the key here, or focusPath isn't propery reset when changing documents. * fix(form/inputs): improve tracking of formState focusPath for PT-input This will improve tracking of the formState focus in the PT-input. It can now restore focus on single spans of text. Also improved how we restore the editor selection when toggling fullscreen. Renamed hook from useScrollToOpenendMember to useTrackFocusPath as it covers more what it does. Made some small adjustments so that we scroll to both object blocks and text spans. * fix(portable-text-editor): emit selection after focused and unchanged If the selection is the same as when focus was lost, the editor will not emit a new one because there is no onChange done to the editor instance. Explicitly emit the selection here in that case.
Configuration menu - View commit details
-
Copy full SHA for bdcea25 - Browse repository at this point
Copy the full SHA bdcea25View commit details -
fix(form): show fields without groups only when 'All fields' is selec…
…ted (#4472) * chore(test-studio): add repro case for non-grouped field appearing in all groups * fix(form): show fields without groups only when 'All fields' is selected
Configuration menu - View commit details
-
Copy full SHA for b246b81 - Browse repository at this point
Copy the full SHA b246b81View commit details -
feat: document list search (#4436)
* dev(test-studio): add draft documents item in structure * chore(core): export search types and helpers * feat(core): update sorting in search query creation helper * chore(core): update search types * test(core): update search query creation test * refactor(core): update search provider sort handling * fix(core): improve command list * feat(desk): add input provider to desk tool * feat(desk): add `contentAfter` prop to `PaneHeader` * feat(desk): add margin props to `PaneItem` * feat(desk): enable keyboard navigation in document header tabs * feat(desk): add conditional tab index to `DocumentPanelHeader` * feat(desk): add search input in `DocmentListPane` * feat(desk): add command list and update ui in `DocumentListPaneContent` * feat(desk): add conditional tab index in `DocumentListPaneHeader` * feat(desk): add search to `useDocumentList` * feat(desk): add command list to `ListPane` * feat(core,desk): add command list options, improve desk focus handling, add findability comments (#4441) * fix(desk): ensure non-document list panes conditionally set focus as expected * fix(core,desk): remove input type provider and hook, add support for command list focus ring offsets * fix(core): remove disableActivateOnHover option from command lists * refactor(desk): create separate list pane content component * refactor(desk): simplify list + document list pane content autofocusing behaviour * fix(desk): remove pane content autofocus behaviour * fix(core): don't prevent click event propagation * fix(core,desk): conditionally hide command list child selection on mouseleave * refactor(core,desk): remove unused focusVisible prop from command lists, simplify SearchCard * fix(core): fix type issues * feat(core): always include findability-mvi comment when generating search queries, append findability-source to both global and document pane lists * fix(desk): minor regression with list pane content padding * fix(core,desk): don't store previous reachedEnd state in command lists, check for lazyLoading status when attempting to load more content in document list panes * fix(core,desk): don't apply child active styles in command list when hideSelectionOnMouseLeave is true and the list is neither focused or in a hover state, fallback to index 0 in regular list panes when no previously selected item is found * refactor(core): rename hideSelectionOnMouseLeave to onlyShowSelectionWhenActive * fix(desk): apply padding to PaneHeader root and not only subActions / tabs, fixes padding issues in document changes * fix(core): fix failing command list / createSearchQuery tests * fix(core): simplify command list focus + blur events, don't hide children states on blur * refactor(core): remove unnecessary pointer overlay workaround * fix(core,desk): move command list mouse events to child container, don't wrap list pane items * fix(desk): hide pane content overflow scrollbar when also in an 'initial' loading state * "refactor(desk): add proper typing in `useDocumentList`" * fix(desk): remove scroll to index in list panes * dev(test-studio): add structure list with filter * fix(desk): update document list pane results messages * fix(desk): add debounce to listener and general fixes in `useDocumentList` * refactor(core): rename extendedProjection to __unstable_extendedProjection, add clarifying comments * fix(desk): text glitch when clearing search query * fix(core): re-enable command list pointer events on wheel events * refactor(desk): update comments and alphabetize * refactor(desk): change variable name in `useFetch` * fix(desk): improve document list query * refactor(desk): improve listen query in `useDocumentList` * refactor(desk): remove props added by spreaded props in `DocumentHeaderTabs` * fix(desk): improve error handling and data flow with listenSearchQuery * refactor(desk): clean up `listenSearchQuery` and remove `useDocumentTypeNames` * fix(core): apply mouse events on root CommandList component to prevent mouseleave triggering when the pointer overlay is visible * fix(core): ensure the document types popover autofocuses input first * refactor(desk): simplify loading logic in `useDocumentList` * refactor(desk): clarify comment in `useDocumentList` Co-authored-by: Bjørge Næss <bjoerge@gmail.com> --------- Co-authored-by: Robin Pyon <robinpyon@users.noreply.github.com> Co-authored-by: Robin Pyon <robin.pyon@gmail.com> Co-authored-by: Bjørge Næss <bjoerge@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for c6a729f - Browse repository at this point
Copy the full SHA c6a729fView commit details -
Configuration menu - View commit details
-
Copy full SHA for eee026d - Browse repository at this point
Copy the full SHA eee026dView commit details -
chore: delete junk files (#4476)
* chore: delete junk files * chore: add `.yarn` to `.gitignore` * chore: also remove `.yarnrc`
Configuration menu - View commit details
-
Copy full SHA for 6b78d7e - Browse repository at this point
Copy the full SHA 6b78d7eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8e83e86 - Browse repository at this point
Copy the full SHA 8e83e86View commit details -
Configuration menu - View commit details
-
Copy full SHA for 56c81ff - Browse repository at this point
Copy the full SHA 56c81ffView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9602964 - Browse repository at this point
Copy the full SHA 9602964View commit details -
2
Configuration menu - View commit details
-
Copy full SHA for 97b923e - Browse repository at this point
Copy the full SHA 97b923eView commit details -
fix(portable-text-editor): fix sync issue with text spans (#4467)
* fix(portable-text-editor): fix sync issue with text spans When a span text is changed, it can't be updated only using setNodes on the node itself. Use Slate delete and insertText for this. * test(portable-text-editor): add some syncValue tests
2Configuration menu - View commit details
-
Copy full SHA for 036e68a - Browse repository at this point
Copy the full SHA 036e68aView commit details
Commits on May 15, 2023
-
fix(core): unset objects when no values in patch when empty value (#4495
) * fix(core): add fix for objects for unsetting empty values * docs(core): add comments to onChange logic * chore(core): remove repeat comment * chore(core): Update comment in packages/sanity/src/core/form/members/object/fields/ObjectField.tsx Co-authored-by: Espen Hovlandsdal <espen@hovlandsdal.com> * chore(core): update comment to onchange logic for _type --------- Co-authored-by: Espen Hovlandsdal <espen@hovlandsdal.com>
2Configuration menu - View commit details
-
Copy full SHA for ba760f3 - Browse repository at this point
Copy the full SHA ba760f3View commit details -
fix(deps): update dependency @sanity/client to v6 (#4454)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2Configuration menu - View commit details
-
Copy full SHA for e092721 - Browse repository at this point
Copy the full SHA e092721View commit details -
2
Configuration menu - View commit details
-
Copy full SHA for be0f2d6 - Browse repository at this point
Copy the full SHA be0f2d6View commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff v3.10.3...v3.11.0