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

refactor(modal, sheet, OpenCloseComponent): adopt openProp to replace open/opened props in the interface #8082

Draft
wants to merge 4 commits into
base: dev
Choose a base branch
from

Conversation

Elijbet
Copy link
Contributor

@Elijbet Elijbet commented Oct 30, 2023

Related Issue: #4544

Summary

Introduces openProp property on the OpenCloseComponent interface which specifies the name of the prop that controls opening/closing (similar to openTransitionProp). The new property phases out open and opened props.

Picking up 2 related comments:
#7680 (comment)
#7685 (comment)

@github-actions github-actions bot added the refactor Issues tied to code that needs to be significantly reworked. label Oct 30, 2023
@Elijbet Elijbet added the skip visual snapshots Pull requests that do not need visual regression testing. label Oct 30, 2023
@jcfranco
Copy link
Member

How did I do on my citation?

Citation game is on point. 🔥

PR-wise, I think I may have miscommunicated something. What I meant was to update to:

  1. introduce an openProp property on the OpenCloseComponent interface which specifies the name of the prop that controls opening/closing (similar to openTransitionProp)
  2. use ☝️ to phase out open and opened props from the OpenCloseComponent interface (this can be done in steps)
  3. once 2 is done, we can drop open and opened props from the interface (component props would remain)

Note that this does not include renaming the opened prop as openProp.

Copy link
Contributor

github-actions bot commented Nov 7, 2023

This PR has been automatically marked as stale because it has not had recent activity. Please close your PR if it is no longer relevant. Thank you for your contributions.

@github-actions github-actions bot added the Stale Issues or pull requests that have not had recent activity. label Nov 7, 2023
@Elijbet
Copy link
Contributor Author

Elijbet commented Jan 21, 2024

PR-wise, I think I may have miscommunicated something. What I meant was to update to ...

I'll include the steps mentioned in the PR description.

@Elijbet Elijbet changed the title refactor(modal, sheet, OpenCloseComponent): follow <propName>Prop convention for opened prop refactor(modal, sheet, OpenCloseComponent): add openProp to the OpenCloseComponent interface to specify the opening/closing control prop to phase out open/opened props. Jan 21, 2024
@Elijbet Elijbet added impact - p3 - not time sensitive User set priority impact status of p3 - not time sensitive and removed Stale Issues or pull requests that have not had recent activity. labels Jan 21, 2024
@Elijbet Elijbet changed the title refactor(modal, sheet, OpenCloseComponent): add openProp to the OpenCloseComponent interface to specify the opening/closing control prop to phase out open/opened props. refactor(modal, sheet, OpenCloseComponent): adopt openProp to replace open/opened props in the OpenCloseComponent interface Jan 22, 2024
@Elijbet Elijbet changed the title refactor(modal, sheet, OpenCloseComponent): adopt openProp to replace open/opened props in the OpenCloseComponent interface refactor(modal, sheet, OpenCloseComponent): adopt openProp to replace open/opened props in the interface Jan 22, 2024
Copy link
Contributor

This PR has been automatically marked as stale because it has not had recent activity. Please close your PR if it is no longer relevant. Thank you for your contributions.

@github-actions github-actions bot added the Stale Issues or pull requests that have not had recent activity. label Jan 30, 2024
@benelan benelan changed the base branch from main to dev June 10, 2024 09:16
@github-actions github-actions bot removed the Stale Issues or pull requests that have not had recent activity. label Jun 13, 2024
Copy link
Contributor

This PR has been automatically marked as stale because it has not had recent activity. Please close your PR if it is no longer relevant. Thank you for your contributions.

@github-actions github-actions bot added the Stale Issues or pull requests that have not had recent activity. label Jun 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
impact - p3 - not time sensitive User set priority impact status of p3 - not time sensitive refactor Issues tied to code that needs to be significantly reworked. skip visual snapshots Pull requests that do not need visual regression testing. Stale Issues or pull requests that have not had recent activity.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants