Skip to content

Demo pages - Do not merge#277

Draft
petervachon wants to merge 21 commits intomainfrom
DemoPages
Draft

Demo pages - Do not merge#277
petervachon wants to merge 21 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 Mar 05, 2026, 06:38:36 AM
apollo-ui-react 🟢 Ready Preview, Logs Mar 05, 2026, 06:37:12 AM
apollo-vertex 🟢 Ready Preview, Logs Mar 05, 2026, 06:36:43 AM
apollo-wind 🟢 Ready Preview, Logs Mar 05, 2026, 06:36:40 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 10 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 4 days ago

  • In general, unused imports should be removed from the file to improve readability and avoid confusion.
  • The best fix here is to delete the cn import on line 13 from apps/apollo-vertex/registry/shell/shell-company.tsx, since no code in the snippet uses it. This does not alter any functionality, because the imported symbol is never referenced.
  • Specifically, edit the import block at the top of apps/apollo-vertex/registry/shell/shell-company.tsx and remove the line import { cn } from "@/lib/utils";. No other code changes or new imports are needed.
  • No additional methods, imports, or definitions are required; this is purely a cleanup.
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 10 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