Skip to content

Demo pages - Do not merge#277

Draft
petervachon wants to merge 17 commits intomainfrom
DemoPages
Draft

Demo pages - Do not merge#277
petervachon wants to merge 17 commits intomainfrom
DemoPages

Conversation

@petervachon
Copy link
Collaborator

No description provided.

@github-actions
Copy link

github-actions bot commented Feb 27, 2026

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

Project Deployment Review Updated (PT)
apollo-canvas 🟢 Ready Preview, Logs Feb 28, 2026, 04:20:31 AM
apollo-ui-react 🟢 Ready Preview, Logs Feb 28, 2026, 04:19:16 AM
apollo-vertex 🟢 Ready Preview, Logs Feb 28, 2026, 04:18:49 AM
apollo-wind 🟢 Ready Preview, Logs Feb 28, 2026, 04:18:13 AM

@github-actions
Copy link

github-actions bot commented Feb 27, 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 2 days ago

To fix the problem, the unused import AlertTriangle should be removed from the destructuring import statement from lucide-react. This will eliminate the unused symbol, slightly reduce bundle size, and improve code clarity, without affecting existing functionality, since nothing in the snippet depends on AlertTriangle.

Concretely, in apps/apollo-vertex/app/(preview)/preview/shell/invoice-dashboard.tsx, at the top of the file, update the lucide-react import on lines 3–9 to remove AlertTriangle from the imported names. No other changes are needed: no new imports, methods, or definitions are required, and the rest of the code can remain as-is.

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 2 days ago

To fix an unused import, you remove it from the import list so that only actually used symbols remain. This improves readability and avoids misleading future maintainers.

Specifically here, you should delete the line import { cn } from "@/lib/utils"; at line 13 in apps/apollo-vertex/registry/shell/shell-company.tsx. No additional code changes or substitutions are necessary, because nothing in the shown code relies on cn. Removing this line will not change existing functionality, as the helper is not referenced anywhere in the provided snippet.

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 2 days ago

In general, to fix an unused variable from an object destructuring, remove the unused binding while keeping the used ones. Here, we need setTheme from useTheme, but not theme, so we should adjust the destructuring to only extract setTheme.

Specifically, in apps/apollo-vertex/registry/shell/shell-user-profile.tsx, on line 55, change const { theme, setTheme } = useTheme(); to const { setTheme } = useTheme();. No other changes are required: no new imports, no method additions, and existing functionality is preserved because theme was never used.

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();
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