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

[Backport 2.x] Adds toast ID to toast api #3868

Merged
merged 3 commits into from
Apr 18, 2023
Merged

Conversation

opensearch-trigger-bot[bot]
Copy link
Contributor

Backport 14bde2b from #3752.

* Currently sending the same toast multiple times results in multiple toasts being rendered on the screen. This change allows the toast api to additionally accept an id parameter that
* Update changelog
* Update src/core/public/notifications/toasts/toasts_api.tsx

Issue Resolved:
#2643

Signed-off-by: Ashwin P Chandran <ashwinpc@amazon.com>

Co-authored-by: Josh Romero <rmerqg@amazon.com>

---------

Signed-off-by: Ashwin P Chandran <ashwinpc@amazon.com>
Co-authored-by: Sean Neumann <1413295+seanneumann@users.noreply.github.com>
Co-authored-by: Josh Romero <rmerqg@amazon.com>
(cherry picked from commit 14bde2b)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

# Conflicts:
#	CHANGELOG.md
@opensearch-trigger-bot opensearch-trigger-bot bot requested a review from a team as a code owner April 17, 2023 23:03
Signed-off-by: Josh Romero <rmerqg@amazon.com>
@codecov-commenter
Copy link

codecov-commenter commented Apr 18, 2023

Codecov Report

Merging #3868 (0da3fd4) into 2.x (15361cf) will increase coverage by 0.00%.
The diff coverage is 50.00%.

📣 This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more

@@           Coverage Diff           @@
##              2.x    #3868   +/-   ##
=======================================
  Coverage   66.45%   66.45%           
=======================================
  Files        3208     3208           
  Lines       61721    61729    +8     
  Branches     9535     9537    +2     
=======================================
+ Hits        41015    41025   +10     
+ Misses      18418    18417    -1     
+ Partials     2288     2287    -1     
Flag Coverage Δ
Linux 66.40% <50.00%> (+<0.01%) ⬆️
Windows 66.40% <50.00%> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
...uilder/public/application/components/workspace.tsx 6.25% <0.00%> (-0.21%) ⬇️
...public/application/utils/state_management/store.ts 18.75% <0.00%> (ø)
src/plugins/vis_builder/public/plugin.ts 22.44% <0.00%> (-0.47%) ⬇️
...rc/core/public/notifications/toasts/toasts_api.tsx 88.23% <100.00%> (+2.52%) ⬆️

... and 2 files with indirect coverage changes

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@ashwin-pc ashwin-pc merged commit 7447079 into 2.x Apr 18, 2023
@github-actions github-actions bot deleted the backport/backport-3752-to-2.x branch April 18, 2023 02:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants