mirror of
https://github.com/Termix-SSH/Termix.git
synced 2026-10-30 15:15:24 +00:00
feat: unify alerts into one plugin, channels, rules and inbox
This commit is contained in:
1 parent
fbe736bc20
commit
7c02daccf4
129 files changed
+20957
-2687
No files matched your search
@@ -168,6 +168,16 @@ export interface RailItemContribution {
|
||||
after?: string;
|
||||
/** Lower sorts first among plugin items. */
|
||||
order?: number;
|
||||
/**
|
||||
* "footer" puts it at the bottom of the rail, above the user's profile,
|
||||
* for something always at hand like an inbox. Default "main".
|
||||
*/
|
||||
placement?: "main" | "footer";
|
||||
/**
|
||||
* A hook the rail calls to show a count on the icon, e.g. unread alerts.
|
||||
* Zero or nothing shows no badge.
|
||||
*/
|
||||
useBadge?: () => number | null | undefined;
|
||||
}
|
||||
|
||||
export interface PanelProps {
|
||||
|
||||
Reference in new issue
Block a user