UI: Use HDS::Toast for flash messages (#25459)

* Move global-flash to HDS-specified area

* Add flash-toast component

* use flash toast for flash messages

* Use spacing vars

* Remove unnecessary key

* Cleanup + tests

* Remove nondeterministic build warning

* add changelog

* I wish this was automatic
This commit is contained in:
Chelsea Shaw
2024-02-15 18:06:51 -06:00
committed by GitHub
parent 221cb24cdd
commit c5d39c816a
8 changed files with 113 additions and 22 deletions

View File

@@ -17,7 +17,6 @@ IF YOUR TOKEN HAS THE PROPER CAPABILITIES, THIS WILL CREATE AND DELETE ITEMS ON
Your token will also be shown on the screen in the example curl command output.`;
this.flashMessages.warning(warning, {
sticky: true,
preformatted: true,
});
}
}