Repository navigation
Fix deprecated Backstage APIs in shortcuts plugin - #11350
Conversation
Changed Packages
|
04kash
left a comment
There was a problem hiding this comment.
@AdamBrez from what I understand we can't get the CI to be green since it depends on an upstream fix?
In that case I'd prefer if we fix that upstream first instead of merging the PR with a failing CI. WDYT @hopehadfield?
|
Hey @04kash, yes you understand it correctly. |
|
This PR has been automatically marked as stale because it has not had recent activity from the author. It will be closed if no further activity occurs. If the PR was closed and you want it re-opened, let us know and we'll re-open the PR so that you can continue the contribution! |
Replaces the deprecated AlertApi with coreApis.toast in AddShortcut and EditShortcut, mapping display: 'transient' to a 5000ms timeout per the migration guide. Also replaces deprecated test utilities MockStorageApi, MockAnalyticsApi, and AlertDisplay across the plugin's test suite, and enables listDeprecations in bcp.json. Signed-off-by: Adam Brezina <[email protected]>
2bddc4e to
92394c5
Compare
|
Rebased onto |
hopehadfield
left a comment
There was a problem hiding this comment.
Great, lgtm! Thanks @AdamBrez
Hey, I just made a Pull Request!
Replaces the deprecated
AlertApiwithcoreApis.toast(ToastApi) inAddShortcutandEditShortcut, mappingdisplay: 'transient'to a 5000ms timeout per the migration guide. Also replaces deprecated test utilitiesMockStorageApi,MockAnalyticsApi, andAlertDisplayacross the plugin's test suite, and enableslistDeprecationsinbcp.json.This PR is a part of #5994
✔️ Checklist
Signed-off-byline in the message. (more info)