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

[core] deprecate Toaster in favor of OverlayToaster #6143

Closed
wants to merge 5 commits into from

Conversation

adidahiya
Copy link
Contributor

@adidahiya adidahiya commented May 11, 2023

Changes proposed in this pull request:

Properly deprecate Toaster API in favor of OverlayToaster, for forwards-compatibility with v5.0. See https://github.com/palantir/blueprint/wiki/Toaster-5.0-changes

This is most commonly referenced in user code like this:

- const myToaster = Toaster.create();
+ const myToaster = OverlayToaster.create();

Also mark IToasterProps as deprecated, to be replaced by OverlayToasterProps. We can auto-fix this type with the no-deprecated-type-references lint rule, but we don't have the no-deprecated-components rule set up to auto-fix components right now.

@adidahiya
Copy link
Contributor Author

migrate in remaining places

Build artifact links for this commit: documentation | landing | table | demo

This is an automated comment from the deploy-preview CircleCI job.

@adidahiya
Copy link
Contributor Author

fix bug

Build artifact links for this commit: documentation | landing | table | demo

This is an automated comment from the deploy-preview CircleCI job.

@adidahiya adidahiya enabled auto-merge (squash) May 11, 2023 16:38
@adidahiya
Copy link
Contributor Author

Merge branch 'develop' into ad/overlay-toaster

Build artifact links for this commit: documentation | landing | table | demo

This is an automated comment from the deploy-preview CircleCI job.

@adidahiya adidahiya disabled auto-merge May 11, 2023 17:01
@adidahiya adidahiya changed the base branch from develop to next May 11, 2023 18:17
@adidahiya
Copy link
Contributor Author

Going to open a new PR

@adidahiya adidahiya closed this May 11, 2023
@adidahiya adidahiya reopened this May 11, 2023
@adidahiya adidahiya changed the base branch from next to develop May 11, 2023 18:18
@adidahiya adidahiya closed this May 11, 2023
@adidahiya adidahiya deleted the ad/overlay-toaster branch May 11, 2023 18:20
amcclain added a commit to xh/hoist-react that referenced this pull request May 31, 2023
jskupsik pushed a commit to xh/hoist-react that referenced this pull request Jun 5, 2023
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