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

on-confirm-disabled-rename #3909

Closed

Conversation

cogwizzle
Copy link
Collaborator

@cogwizzle cogwizzle commented May 15, 2024

Renaming the onConfirmDisabled property in AlertDialog to be isConfirmDisabled so that the property is more transparent how it should be used. onConfirmDisabled reads more like it expects a function. isConfirmDisabled reads more like it expects a boolean. #3901

Contributing to Twilio

All third-party contributors acknowledge that any contributions they provide will be made under the same open-source license that the open-source project is provided under.

  • I acknowledge that all my contributions will be made under the project's license.

Copy link

stackblitz bot commented May 15, 2024

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

@dosubot dosubot bot added the size:S This PR changes 10-29 lines, ignoring generated files. label May 15, 2024
Copy link

changeset-bot bot commented May 15, 2024

🦋 Changeset detected

Latest commit: 51544f8

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 2 packages
Name Type
@twilio-paste/alert-dialog Patch
@twilio-paste/core Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Copy link

vercel bot commented May 15, 2024

@cogwizzle is attempting to deploy a commit to the Twilio Team on Vercel.

A member of the Team first needs to authorize it.

Copy link

nx-cloud bot commented May 15, 2024

☁️ Nx Cloud Report

CI is running/has finished running commands for commit 51544f8. As they complete they will appear below. Click to see the status, the terminal output, and the build insights.

📂 See all runs for this CI Pipeline Execution


✅ Successfully ran 3 targets

Sent with 💌 from NxCloud.

Copy link

codesandbox-ci bot commented May 15, 2024

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit 51544f8:

Sandbox Source
@twilio-paste/nextjs-template Configuration
@twilio-paste/token-contrast-checker Configuration

Copy link
Collaborator

@nkrantz nkrantz left a comment

Choose a reason for hiding this comment

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

Thanks for this contribution! It's missing a changeset which will satisfy the failing Danger check (yarn run changeset) and then you'll need to also build the type docs (yarn build:typedocs) for the build to work properly. I'm happy to do these steps if you'd like!

@cogwizzle
Copy link
Collaborator Author

yarn run changeset

Let me give this a shot first. Thanks so much for reminding me. I'm still a bit new here. :)

@dosubot dosubot bot added size:L This PR changes 100-499 lines, ignoring generated files. and removed size:S This PR changes 10-29 lines, ignoring generated files. labels May 17, 2024
@cogwizzle
Copy link
Collaborator Author

@nkrantz I think we should be in good shape now. Can you verify the update?

@cogwizzle cogwizzle requested a review from nkrantz May 17, 2024 14:22
Copy link

vercel bot commented May 20, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
paste-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 22, 2024 3:33pm
paste-remix ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 22, 2024 3:33pm

@cogwizzle cogwizzle requested a review from nkrantz May 20, 2024 14:43
@nkrantz
Copy link
Collaborator

nkrantz commented May 20, 2024

Thanks for making those changes @cogwizzle!

Did you run any commands other than yarn buid:typedocs? Somehow you got a bunch of other packages' types wrapped up in this PR, haven't seen that before. Might suggest removing the changes you didn't intend to make, then re-running the command. Otherwise looks great!

@dosubot dosubot bot added size:S This PR changes 10-29 lines, ignoring generated files. and removed size:L This PR changes 100-499 lines, ignoring generated files. labels May 22, 2024
@dosubot dosubot bot added size:L This PR changes 100-499 lines, ignoring generated files. and removed size:S This PR changes 10-29 lines, ignoring generated files. labels May 22, 2024
@cogwizzle
Copy link
Collaborator Author

Thanks for making those changes @cogwizzle!

Did you run any commands other than yarn buid:typedocs? Somehow you got a bunch of other packages' types wrapped up in this PR, haven't seen that before. Might suggest removing the changes you didn't intend to make, then re-running the command. Otherwise looks great!

I regenerated the types and it came up the same. It appears to mostly be a change in order on some of the types. Nothing major.

@nkrantz
Copy link
Collaborator

nkrantz commented May 23, 2024

I regenerated the types and it came up the same. It appears to mostly be a change in order on some of the types. Nothing major.

Though most of them are just re-orders there are also a few actual additions and removals of props. I made the Alert Dialog changes on my end and generated type docs and only saw the Alert Dialog types modified. I don't feel great about merging these additional type changes (especially the removals) without understanding why they happened on your branch. The type check is also failing (PR Checks / Build system packages and type check). I'm going to look into this today and think about why yarn build:typedocs might not be working for you. Sorry about the delay with getting this PR in.

@dosubot dosubot bot added size:S This PR changes 10-29 lines, ignoring generated files. and removed size:L This PR changes 100-499 lines, ignoring generated files. labels May 24, 2024
@nkrantz nkrantz closed this May 28, 2024
@nkrantz
Copy link
Collaborator

nkrantz commented May 28, 2024

Closed this PR in favor of #3918

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size:S This PR changes 10-29 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants