-
Notifications
You must be signed in to change notification settings - Fork 440
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(core): facelift #4927
Merged
Merged
feat(core): facelift #4927
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The latest updates on your projects. Learn more about Vercel for Git ↗︎
1 Ignored Deployment
|
Full Reportsanity
@sanity/portable-text-editor
sanity/desk
@sanity/block-tools
@sanity/types
@sanity/mutator
@sanity/cli
@sanity/schema/_internal
@sanity/util/paths
sanity/router
@sanity/util/legacyDateFormat
@sanity/schema
sanity/cli
@sanity/vision
@sanity/util/fs
sanity/_internal
@sanity/util/content
@sanity/diff
|
Component Testing Report Updated Dec 19, 2023 7:11 PM (UTC)
|
bjoerge
force-pushed
the
next
branch
2 times, most recently
from
October 9, 2023 11:02
e7bf4c3
to
4151f2e
Compare
robinpyon
force-pushed
the
feat/facelift-mvi-2
branch
from
October 10, 2023 11:41
bf3df9a
to
8e7242b
Compare
New dependencies detected. Learn more about Socket for GitHub ↗︎
|
robinpyon
force-pushed
the
feat/facelift-mvi-2
branch
from
October 11, 2023 11:46
8e7242b
to
c9809ea
Compare
robinpyon
force-pushed
the
feat/facelift-mvi-2
branch
from
October 13, 2023 09:06
c9809ea
to
0891a4c
Compare
* fix(core): fields actions position shift * fix(core): push the presence box when focus on fieldActions and in touch devices
* fix(core/tests): fix failing tests * fix(tests): wait until settled in pte test * fix(tests): update snapshot --------- Co-authored-by: Pedro Bonamin <[email protected]>
* chore(colocation): move SpacerButton to desk/components * chore(colocation): move DocumentStatusIndicator to core/components * chore(colocation): move LoadingBlock to core/components * chore(colocation): move DocumentStatus to core/components * chore(colocation): move ContextMenuButton to core/components * chore(colocation): move ui-components to core, reexport as sanity/ui-components * chore(colocation): rename sanity/src/ui to sanity/src/ui-components * chore(colocation): update imports for TOOLTIP_DELAY_PROPS * fix(tests): update breaking test
rexxars
force-pushed
the
feat/facelift-mvi-2
branch
from
December 19, 2023 19:01
f3e3ebf
to
20e617e
Compare
rexxars
approved these changes
Dec 19, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Key objectives
Notable changes
Updated default colour themes
These new themes for both light and dark modes provide added vibrancy to existing tones.
Application of these colours within the studio are indexed towards reducing visual noise – enforcing key buttons and editable surfaces stand out, whilst visual dividers recede further into the background.
New major version of Sanity UI (to be released)
Updated Studio Typography
New Workspace menu / home button
We now clearly signpost the current workspace a user is in – critical for larger studios.
As a result of this change, users will no longer be able to specify custom logos that always appear independently of the current workspace
Sanity branding for simpler studios without customisation
Studios with a single workspace will now show a Sanity logo by default
Updated navigation
A compact preview style has been added which not only reduces visual noise when browsing document lists, but also helps users differentiate between documents and structure folders
Updated form document layout
Studio UI Components
Highly opinionated components packed with most common use cases 💥
Highly opinionated Sanity UI components with restrict many (if not all) styling props, and help avoid often-repeated boilerplate in common scenarios and force consistency.
Currently located in
packages/sanity/src/ui/*
Pre and post of a button with a tooltip
no-restricted-imports
Encourages import of opinionated versions of the “full flat” sanity ui components. Enforcing consistency and ease of use
Common components
Commonly used components have been abstracted out to aid with consistency (and simplify i18n translation)
Out of the box delay and animation.
Out of the box icon and tooltip props.
- Unified document status (single dot representation)
Unified representation, for updated dates and status
Deprecations
Studio configuration
studio.components.logo
Custom logo components are no longer rendered.
Users are encouraged to provide custom components for individual workspace icons instead.
Tool API
icon
Custom tool icons are no longer rendered.
Structure builder
menuItemGroup.title
Menu item groups are no longer displayed, but these can still be defined.
I18n keys
Migration