Here you can add, re-order, or remove tabs from the library.
@@ -175,3 +164,44 @@ export const QuickAccessContent: VFC<{}> = ({ }) => {
);
};
+
+export interface QuickAccessTitleViewProps {
+ title: string;
+ tabMasterManager: TabMasterManager;
+}
+
+const buttonStyle = { height: '28px', width: '40px', minWidth: 0, padding: 0, display: 'flex', justifyContent: 'center', alignItems: 'center' };
+
+export const QuickAccessTitleView: VFC = ({ title, tabMasterManager }) => {
+
+ return (
+
+ {title}
+ showContextMenu()}
+ >
+ {/* {profiles icon} */}
+
+ {
+ Navigation.CloseSideMenus();
+ Navigation.Navigate("/tab-master-docs");
+ }}
+ >
+ {/* {docs icon} */}
+
+
+ );
+};
diff --git a/src/index.tsx b/src/index.tsx
index a27b293..7ee7ee5 100644
--- a/src/index.tsx
+++ b/src/index.tsx
@@ -2,7 +2,6 @@ import {
definePlugin,
RoutePatch,
ServerAPI,
- staticClasses,
} from "decky-frontend-lib";
import { TbLayoutNavbarExpand } from "react-icons/tb";
@@ -19,8 +18,9 @@ import { patchSettings } from "./patches/SettingsPatch";
import { LogController } from "./lib/controllers/LogController";
import { MicroSDeck } from "@cebbinghaus/microsdeck";
import { MicroSDeckInterop } from './lib/controllers/MicroSDeckInterop';
-import { QuickAccessContent } from "./components/QuickAccessContent";
+import { QuickAccessContent, QuickAccessTitleView } from "./components/QuickAccessContent";
import { DocsRouter } from "./components/docs/DocsRouter";
+import { Fragment } from 'react';
declare global {
let DeckyPluginLoader: { pluginReloadQueue: { name: string; version?: string; }[]; };
@@ -63,9 +63,9 @@ export default definePlugin((serverAPI: ServerAPI) => {
));
}
});
-
return {
- title: TabMaster
,
+ title: <>>,
+ titleView: ,
content: