Skip to content

Conversation

lchans
Copy link
Collaborator

@lchans lchans commented Apr 10, 2025

External Links

Description

  1. Add preview state to the fields
  2. See the equivalent RM code

Notes for Reviewers

  1. Run yarn storybook
  2. Click through all the stories

πŸ“Έ Screenshots/Screencasts

preview-border.mov

@lchans lchans marked this pull request as ready for review April 10, 2025 22:36
<InnerFieldName>{name}</InnerFieldName>
</FieldName>
<FieldType color={getSecondaryTextColor()}>{type}</FieldType>
{previewGroupLength ? (
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

wow, this addresses the bug @adrianhhong discovered yesterday!

context: with our most recently released version, when using wrapped keys, renaming a field in an embedded document or array mapping to _id.*, the renamed field will bubble up to the parent document' _id object

@lchans lchans merged commit 75e3bc5 into main Apr 11, 2025
1 check passed
@lchans lchans deleted the feature/MIG-6579-add-preview-state branch April 11, 2025 03:22
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.

4 participants