Add notification popups (#540)

* Add notifications prototype

* Add timeout

* Improve function name

* Faster timeouts and fully clickable

* Update remove padding from old X button

* Only auto-dismiss when viewport is open

* Start auto dismiss once viewed

* Avoid redundantly displaying widget text as notifs

* Add sound effect

* Add setting for notifications

* Remove duplicate PluginSettings.StudioProvider

* Use short pop sound effect

* Fix broken audio, thanks Roblox

* Use e instead of createElement
This commit is contained in:
boatbomber
2022-06-29 16:06:13 -07:00
committed by GitHub
parent f1cdf2fe79
commit ca0759a011
9 changed files with 293 additions and 10 deletions

View File

@@ -45,6 +45,9 @@ local Assets = {
[500] = "rbxassetid://2609138523"
},
},
Sounds = {
Notification = "rbxassetid://9716079936",
},
StartSession = "",
SessionActive = "",
Configure = "",
@@ -62,4 +65,4 @@ end
guardForTypos("Assets", Assets)
return Assets
return Assets