Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(sanity): adopt bundlePerspective for listing documents #7415

Merged
merged 4 commits into from
Sep 13, 2024

Conversation

juice49
Copy link
Contributor

@juice49 juice49 commented Aug 23, 2024

Description

This branch uses Content Lake to collate version documents, rather than collating them client-side. When listing/searching documents, Studio no longer fetches version documents directly. Instead, it uses the bundlePerspective parameter to overlay the desired version server-side.

As part of this change, global search now correctly shows list previews for the selected perspective. Documents outside the selected perspective bundle can still be found, but they are shown in a lower contrast style that matches document lists.

What to review

  • Appearance of documents in document lists when viewing different perspectives.
  • Appearance of documents in global search when viewing different perspectives.

Testing

Notes for release

Copy link

vercel bot commented Aug 23, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
page-building-studio ✅ Ready (Inspect) Visit Preview 💬 Add feedback Sep 13, 2024 2:42pm
performance-studio ✅ Ready (Inspect) Visit Preview 💬 Add feedback Sep 13, 2024 2:42pm
test-compiled-studio ✅ Ready (Inspect) Visit Preview 💬 Add feedback Sep 13, 2024 2:42pm
test-next-studio ✅ Ready (Inspect) Visit Preview 💬 Add feedback Sep 13, 2024 2:42pm
test-studio ✅ Ready (Inspect) Visit Preview 💬 Add feedback Sep 13, 2024 2:42pm
1 Skipped Deployment
Name Status Preview Comments Updated (UTC)
studio-workshop ⬜️ Ignored (Inspect) Visit Preview Sep 13, 2024 2:42pm

@juice49 juice49 force-pushed the feat/corel-4/adopt-bundle-perspective branch from 2780b82 to d7c33c8 Compare August 23, 2024 14:51
@juice49 juice49 force-pushed the feat/corel-4/adopt-bundle-perspective branch from d7c33c8 to 0203132 Compare August 27, 2024 09:14
@juice49 juice49 force-pushed the feat/corel-4/adopt-bundle-perspective branch from 0203132 to 81d67bc Compare August 30, 2024 13:57
@juice49 juice49 changed the title Feat/corel 4/adopt bundle perspective feat(sanity): adopt bundlePerspective for listing documents Aug 30, 2024
Copy link

socket-security bot commented Sep 2, 2024

New and removed dependencies detected. Learn more about Socket for GitHub ↗︎

Package New capabilities Transitives Size Publisher
npm/@sanity/client@6.21.3-bundle-perspective None 0 2.17 MB ash

🚮 Removed packages: npm/@sanity/client@6.21.2

View full report↗︎

@juice49 juice49 force-pushed the feat/corel-4/adopt-bundle-perspective branch from fcfead5 to 1eac625 Compare September 13, 2024 10:51
@juice49 juice49 force-pushed the feat/corel-4/adopt-bundle-perspective branch from c8a0f0a to 221a029 Compare September 13, 2024 14:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants