revert: drop the alert feed widget, the notification center replaces it

This commit is contained in:
LukeGus committed 2026-09-30 16:19:40 -05:00
1 parent 84c94bf9a6
commit 0d94ad5e5f
11 files changed
+5 -319

No files matched your search

-13
View File
@@ -71,7 +71,6 @@ import {
} from "./shell-bridge";
import { PluginViewPlaceholder } from "./PluginViewPlaceholder";
import { resolveLayoutTabTarget } from "@/shell/shell-layout";
import { getExtension, listExtensions } from "./extension-registry";
import type { WorkspaceTabSnapshot } from "@/types/ui-types";
function recordingShell(calls: ShellCall[]): TabShellCallbacks {
@@ -237,8 +236,6 @@ export async function renderPlugin(
mine(hostEditorSectionList()).map((section) => section.id),
dashboardCards: () =>
mine(registeredDashboardCardList()).map((card) => card.id),
extensions: (pointId) =>
mine(listExtensions(pointId)).map((extension) => extension.id),
settingsComponents: () =>
listSettingsComponents()
.filter((key) => key.startsWith(`${pluginId}:`))
@@ -321,16 +318,6 @@ export async function renderPlugin(
);
},
renderExtension(pointId, id, component = "view", props = {}) {
const extension = getExtension(pointId, id);
const Component =
extension?.pluginId === pluginId
? extension.components?.[component]
: undefined;
if (!Component) missing(`an extension "${component}" component`, id);
return wrap(<Component {...props} />);
},
renderDashboardCard(id) {
const card = getRegisteredDashboardCard(id) ?? missing("a card", id);
const Component = card.component;