fix: auto-dismiss toast notifications after 8s

Toasts used class="toast show" with ng-repeat but never initialized
Bootstrap's toast plugin, so they stayed pinned until manually closed.
Each navigation re-fired toasts (e.g. "README not found in github
pages"), stacking duplicates.

Add an $scope.addToast helper that schedules removal via $timeout, and
route all push sites through it.

Fixes #246.
This commit is contained in:
tdurieux
2026-05-03 19:35:42 +02:00
parent 5793e2dbb5
commit 9f1ae1924b
2 changed files with 24 additions and 9 deletions
+1 -1
View File
File diff suppressed because one or more lines are too long