Repository navigation
fix: reject inherited unique values on content branches - #19476
Closed
DanRibbens wants to merge 1 commit into
Closed
DanRibbens wants to merge 1 commit into
DanRibbens wants to merge 1 commit into
Conversation
Written with AI
|
Important Draft PR not reviewedDraft PRs are not automatically reviewed by default.
To automatically review draft PRs, update your CodeRabbit configuration: reviews:
auto_review:
drafts: true
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. |
Contributor
📦 esbuild Bundle Analysis for payloadThis analysis was generated by esbuild-bundle-analyzer. 🤖
Largest pathsThese visualization shows top 20 largest paths in the bundle.Meta file: packages/next/meta_index.json, Out file: esbuild/index.js
Meta file: packages/payload/meta_index.json, Out file: esbuild/index.js
Meta file: packages/payload/meta_shared.json, Out file: esbuild/exports/shared.js
Meta file: packages/richtext-lexical/meta_client.json, Out file: esbuild/exports/client_optimized/index.js
Meta file: packages/ui/meta_client.json, Out file: esbuild/exports/client_optimized/index.js
Meta file: packages/ui/meta_shared.json, Out file: esbuild/exports/shared_optimized/index.js
DetailsNext to the size is how much the size has increased or decreased compared with the base branch of this PR.
|
Contributor
Author
|
Deferring this work until after content-branching has landed. Captured in this ticket: https://linear.app/figma/issue/PYLD-4245/field-by-field-conflict-resolution |
This file contains hidden or 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
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.
Written with AI
Description
Creating a document on a content branch currently accepts a unique value already used by a different document inherited from main. Restore field-level rejection: if main contains
slug: campaign-launch, another document on a branch cannot save that value.Targets #19284 (
fix/branch-name-only-19112). Branch copies of the same canonical document can still retain their unique values and be edited repeatedly.Changes
Test Plan
aria-invalid, exposed “Value must be unique” as its accessible description and alert, retained the value, and verified keyboard return to the input. Limited evidence for WCAG 2.2 A/AA 1.3.1, 2.1.1, 3.3.1, 3.3.2, 3.3.3, 4.1.2, and 4.1.3; screen-reader speech and visual focus/contrast verification remain manual. No UI markup, styles, or translation keys changed.Checks ran under Node 22.23.1; the repository declares Node >=24.22.1.