Add a setting to leave unused integration pages out of the menu
Settings -> Display -> Menu: when on, the menu, command palette and shortcuts omit the pages of integration kinds nobody has added (off by default, the same for everyone). Pages useful without an integration always stay; adding an integration brings its page back at once. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
8f5068c6e0
commit
587e8856a0
13 files changed
+346
-7
No files matched your search
@@ -17,6 +17,7 @@ import { alertBadge, useAlertsReport } from "../hooks/useAlertsReport";
|
||||
import { useMyWork } from "../hooks/useMyWork";
|
||||
import { useStackedTables } from "../hooks/useStackedTables";
|
||||
import { useShortcuts } from "../hooks/useShortcuts";
|
||||
import { useHiddenPages, useMenuHiding } from "../hooks/useMenuHiding";
|
||||
import { useFormLabels } from "../hooks/useFormLabels";
|
||||
import ShortcutHelp from "../components/ShortcutHelp";
|
||||
import Avatar from "../components/Avatar";
|
||||
@@ -85,6 +86,8 @@ export default function AppShell({ user, children }: { user: CurrentUser; childr
|
||||
const [away, setAway] = useState<AwayView | null>(null);
|
||||
const environment = useEnvironment();
|
||||
useStackedTables();
|
||||
useMenuHiding();
|
||||
useHiddenPages(); // so the menu is drawn again when the pages it leaves out change
|
||||
useShortcuts(user);
|
||||
useFormLabels();
|
||||
const mainRef = useRef<HTMLElement>(null);
|
||||
|
||||
Reference in new issue
Block a user