Skip to content

Shell updates 022526 — Do not merge#268

Draft
petervachon wants to merge 5 commits intomainfrom
shellUpdates_022526
Draft

Shell updates 022526 — Do not merge#268
petervachon wants to merge 5 commits intomainfrom
shellUpdates_022526

Conversation

@petervachon
Copy link
Collaborator

Need to create a preview link for review by design team. Will indicate when it's ready to be merged

@github-actions
Copy link

github-actions bot commented Feb 25, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Review Updated (PT)
apollo-canvas 🟢 Ready Preview, Logs Feb 25, 2026, 01:22:16 PM
apollo-ui-react 🟢 Ready Preview, Logs Feb 25, 2026, 01:21:41 PM
apollo-vertex 🟢 Ready Preview, Logs Feb 25, 2026, 01:22:30 PM
apollo-wind 🟢 Ready Preview, Logs Feb 25, 2026, 01:21:31 PM

@github-actions
Copy link

github-actions bot commented Feb 25, 2026

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

Scanned Files

None

Comment on lines +3 to +9
import {
CheckCircle,
Clock,
FileText,
AlertTriangle,
TrendingUp,
} from "lucide-react";

Check notice

Code scanning / CodeQL

Unused variable, import, function or class Note

Unused import AlertTriangle.

Copilot Autofix

AI 4 days ago

To fix the unused import, remove AlertTriangle from the destructuring import list from lucide-react. This keeps the remaining icons intact and does not affect existing functionality, since AlertTriangle is not referenced anywhere in the provided code.

Concretely, in apps/apollo-vertex/app/(preview)/preview/shell/invoice-dashboard.tsx, edit the import { ... } from "lucide-react"; block at the top of the file and delete the AlertTriangle, entry, leaving the other imports unchanged. No additional methods, definitions, or imports are required.

Suggested changeset 1
apps/apollo-vertex/app/(preview)/preview/shell/invoice-dashboard.tsx

Autofix patch

Autofix patch
Run the following command in your local git repository to apply this patch
cat << 'EOF' | git apply
diff --git a/apps/apollo-vertex/app/(preview)/preview/shell/invoice-dashboard.tsx b/apps/apollo-vertex/app/(preview)/preview/shell/invoice-dashboard.tsx
--- a/apps/apollo-vertex/app/(preview)/preview/shell/invoice-dashboard.tsx
+++ b/apps/apollo-vertex/app/(preview)/preview/shell/invoice-dashboard.tsx
@@ -4,7 +4,6 @@
   CheckCircle,
   Clock,
   FileText,
-  AlertTriangle,
   TrendingUp,
 } from "lucide-react";
 import { Badge } from "@/components/ui/badge";
EOF
@@ -4,7 +4,6 @@
CheckCircle,
Clock,
FileText,
AlertTriangle,
TrendingUp,
} from "lucide-react";
import { Badge } from "@/components/ui/badge";
Copilot is powered by AI and may make mistakes. Always verify output.
TooltipProvider,
TooltipTrigger,
} from "@/components/ui/tooltip";
import { cn } from "@/lib/utils";

Check notice

Code scanning / CodeQL

Unused variable, import, function or class Note

Unused import cn.

Copilot Autofix

AI 4 days ago

In general, unused imports should be removed to keep the codebase clean and avoid confusion. Since cn is not referenced anywhere in apps/apollo-vertex/registry/shell/shell-company.tsx, the best fix is simply to delete the named import cn from "@/lib/utils".

Concretely, in apps/apollo-vertex/registry/shell/shell-company.tsx, remove line 13:

import { cn } from "@/lib/utils";

No other code changes, additional methods, or imports are needed. This does not change any existing functionality because cn was not used.

Suggested changeset 1
apps/apollo-vertex/registry/shell/shell-company.tsx

Autofix patch

Autofix patch
Run the following command in your local git repository to apply this patch
cat << 'EOF' | git apply
diff --git a/apps/apollo-vertex/registry/shell/shell-company.tsx b/apps/apollo-vertex/registry/shell/shell-company.tsx
--- a/apps/apollo-vertex/registry/shell/shell-company.tsx
+++ b/apps/apollo-vertex/registry/shell/shell-company.tsx
@@ -10,7 +10,6 @@
   TooltipProvider,
   TooltipTrigger,
 } from "@/components/ui/tooltip";
-import { cn } from "@/lib/utils";
 import { useLocalStorage } from "@/registry/use-local-storage/use-local-storage";
 import type { CompanyLogo } from "./shell";
 import {
EOF
@@ -10,7 +10,6 @@
TooltipProvider,
TooltipTrigger,
} from "@/components/ui/tooltip";
import { cn } from "@/lib/utils";
import { useLocalStorage } from "@/registry/use-local-storage/use-local-storage";
import type { CompanyLogo } from "./shell";
import {
Copilot is powered by AI and may make mistakes. Always verify output.
const { t, i18n } = useTranslation();
const { user } = useUser();
const { logout } = useAuth();
const { theme, setTheme } = useTheme();

Check notice

Code scanning / CodeQL

Unused variable, import, function or class Note

Unused variable theme.

Copilot Autofix

AI 4 days ago

In general, unused variables should be removed or, if they are meant to be used, the code should be updated to actually use them. Here, useTheme() returns at least { theme, setTheme }, but only setTheme is needed for behavior (e.g., toggling dark/light mode). To avoid changing existing functionality, we should simply stop binding theme without altering how setTheme is used.

Specifically, in apps/apollo-vertex/registry/shell/shell-user-profile.tsx, update the destructuring assignment on line 55 from const { theme, setTheme } = useTheme(); to const { setTheme } = useTheme();. No additional imports or definitions are required, and no other lines need to change, assuming theme is not referenced elsewhere in the file.

Suggested changeset 1
apps/apollo-vertex/registry/shell/shell-user-profile.tsx

Autofix patch

Autofix patch
Run the following command in your local git repository to apply this patch
cat << 'EOF' | git apply
diff --git a/apps/apollo-vertex/registry/shell/shell-user-profile.tsx b/apps/apollo-vertex/registry/shell/shell-user-profile.tsx
--- a/apps/apollo-vertex/registry/shell/shell-user-profile.tsx
+++ b/apps/apollo-vertex/registry/shell/shell-user-profile.tsx
@@ -52,7 +52,7 @@
   const { t, i18n } = useTranslation();
   const { user } = useUser();
   const { logout } = useAuth();
-  const { theme, setTheme } = useTheme();
+  const { setTheme } = useTheme();
   const [language, setLanguageState] = useState(i18n.language);
 
   const setLanguage = useCallback((code: string) => {
EOF
@@ -52,7 +52,7 @@
const { t, i18n } = useTranslation();
const { user } = useUser();
const { logout } = useAuth();
const { theme, setTheme } = useTheme();
const { setTheme } = useTheme();
const [language, setLanguageState] = useState(i18n.language);

const setLanguage = useCallback((code: string) => {
Copilot is powered by AI and may make mistakes. Always verify output.
Comment on lines +3 to +9
import {
CheckCircle,
Clock,
FileText,
AlertTriangle,
TrendingUp,
} from "lucide-react";
TooltipProvider,
TooltipTrigger,
} from "@/components/ui/tooltip";
import { cn } from "@/lib/utils";
const { t, i18n } = useTranslation();
const { user } = useUser();
const { logout } = useAuth();
const { theme, setTheme } = useTheme();
@petervachon petervachon changed the title Shell updates 022526 — Do not merge yet Shell updates 022526 — Do not merge Feb 25, 2026
@ruudandriessen ruudandriessen marked this pull request as draft February 27, 2026 09:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant