Type Property For Button Block and its Migration Function#1387
Type Property For Button Block and its Migration Function#1387neelneelneel merged 10 commits intodevfrom
Conversation
|
@CodiumAI-Agent /describe |
TitleType Property For Button Block and its Migration Function User descriptionDescriptionChanges MadeHow to Test
NotesPR TypeEnhancement Description
Changes walkthrough 📝
|
|
@CodiumAI-Agent /review |
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
|
@CodiumAI-Agent /improve |
PR Code Suggestions ✨Latest suggestions up to ab4b37b
Previous suggestionsSuggestions up to commit 41423b7
Suggestions up to commit e3390b8
|
|
Hello! Just a couple of things I'd point out before beginning review for this:
Thank you! |
Hi @j-adam-connor ,
Thank you ! |
|
|
||
| // Return a new state object with updated blocks | ||
| return { ...state, blocks: newBlocks }; | ||
| } |
There was a problem hiding this comment.
This curly brace should be indented with a trailing comma. Double check your formatter is configured correctly.
There was a problem hiding this comment.
It looks like we have an established pattern that's a bit different from this one where we destructure the state into newState; e.g., const newState = { ... state }; and then we ultimately return newState
There was a problem hiding this comment.
Hi @j-adam-connor, I've made the updates based on your comments. You can review the changes here
|
Hey, looks like there are some conflicts. Please resolve, and we'll get this merged. Thanks! |
|
@CodiumAI-Agent /update_changelog |
|
Changelog updates: 🔄 2025-07-17 *Added
|
Description
Type Property for Button Block and its Migration Function
Changes Made
How to Test
Steps To Reproduce:
Video
ButtonBlock.mp4