Просмотр исходного кода

tui: remove "Plugins reloaded" toast to reduce UI noise during plugin updates

Dax Raad 1 месяц назад
Родитель
Сommit
09cd7445f1
1 измененных файлов с 0 добавлено и 7 удалено
  1. 0 7
      packages/tui/src/app.tsx

+ 0 - 7
packages/tui/src/app.tsx

@@ -999,13 +999,6 @@ function App(props: { pair?: DialogPairCredentials }) {
     })
   })
 
-  event.on("plugin.updated", (_evt, { directory, workspace }) => {
-    const current = location.current ?? data.location.default()
-    if (directory !== current.directory) return
-    if (workspace !== current.workspaceID) return
-    toast.show({ variant: "success", message: "Plugins reloaded" })
-  })
-
   event.on("tui.session.select", (evt, { workspace }) => {
     if (workspace !== (location.current?.workspaceID ?? data.location.default().workspaceID)) return
     route.navigate({