This is a Gnome Shell extension to show the notifications as long as you don't take any action on them. They will disappear when you click them or they hide when you hover over them.
gnome-extensions pack permanent-notifications@bonzini.gnu.org/ -f
Easiest way to install this extension is via the Gnome Shell Extension Website.
Or locally after building
gnome-extensions install permanent-notifications@bonzini.gnu.org.shell-extension.zip -f