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

chore(SearchComponent): codemod for migration of SearchComponent import to Search #2277

Conversation

YossiSaadi
Copy link
Contributor

@YossiSaadi YossiSaadi commented Jul 25, 2024

@YossiSaadi YossiSaadi requested a review from a team as a code owner July 25, 2024 16:10
@@ -34,9 +28,9 @@ codemod: `avatar-component-migration`
- `dataTestId` -> `data-testid` [codemod]
- `children` prop is now mandatory

### Box
### Box 🚩
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Codemod infra for changing a prop value
https://monday.monday.com/boards/6841644723/pulses/7109083611


### DialogContentContainer
### DialogContentContainer 🚩
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Codemod infra for changing a prop value
https://monday.monday.com/boards/6841644723/pulses/7109083611

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Codemod for DialogContentContainer - change "size" prop to "small" on all usages with "medium" value
https://monday.monday.com/boards/6841644723/pulses/7109085163


### Divider

- `classname` -> `className` [codemod]

### Dropdown
### Dropdown 🚩
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Codemod infra for changing a prop value with static prop namespace
https://monday.monday.com/boards/6841644723/pulses/7109091061

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Codemod for Dropdown - change Dropdown.size static prop to Dropdown.sizes
https://monday.monday.com/boards/6841644723/pulses/7109094971


### EditableHeading

- Complete API Change (TBD)

### Link
### Link 🚩
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Codemod infra for changing a prop value with static prop namespace
monday.monday.com/boards/6841644723/pulses/7109091061

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Codemod for Link - change Link.target static prop to Link.targets
https://monday.monday.com/boards/6841644723/pulses/7109104112


### Steps
### Steps 🚩
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Codemod infra for changing a prop value
https://monday.monday.com/boards/6841644723/pulses/7109083611

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Codemod for Steps - replace isOnPrimary boolean flag prop to color prop with value of Steps.colors.PRIMARY
https://monday.monday.com/boards/6841644723/pulses/7109110438

YossiSaadi and others added 4 commits August 5, 2024 19:12

elements.forEach(elementPath => {
updateComponentName(j, elementPath, alias || "Search");
// console.log(elementPath);
Copy link
Contributor Author

Choose a reason for hiding this comment

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

console log

…-SearchComponent-import-to-Search-7096885192

# Conflicts:
#	packages/core/docs/vibe-3-changelog.md
@YossiSaadi YossiSaadi merged commit 1b260a6 into vibe3 Aug 8, 2024
9 of 10 checks passed
@YossiSaadi YossiSaadi deleted the chore/yossi/Codemod-for-changing-SearchComponent-import-to-Search-7096885192 branch August 8, 2024 15:07
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