-
Notifications
You must be signed in to change notification settings - Fork 0
Setup/obs #4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
…er, table, tabs, toggle group, toggle, and tooltip.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This pull request sets up an observability stack (Loki, Grafana, Vector) for development mode logging and adds a comprehensive UI component library with dashboard functionality. The changes introduce infrastructure for collecting and visualizing logs from Docker containers, along with a complete set of shadcn/ui components for building the application interface.
Key Changes:
- Observability infrastructure with Loki for log aggregation, Grafana for visualization, and Vector for log collection
- Loki logger utility for pushing application logs directly to Loki in development mode
- Complete shadcn/ui component library including tables, charts, forms, and navigation elements
- Dashboard layout with sidebar navigation, theme support, and responsive design
Reviewed changes
Copilot reviewed 52 out of 53 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
| docker-compose.dev.yaml | Adds observability services (Loki, Grafana, Vector) with profile configuration |
| observability/vector.toml | Configures Vector to collect Docker logs and forward to Loki |
| observability/loki-config.yaml | Loki server configuration for log storage and querying |
| observability/grafana/* | Grafana provisioning for datasources and dashboards |
| lib/loki.ts | Custom logger utility for pushing logs to Loki in development |
| package.json | Adds UI component dependencies (@radix-ui, @dnd-kit, recharts, etc.) |
| components/ui/* | Complete set of shadcn/ui components for the application |
| app/(dashboard)/* | Dashboard layout and pages with sidebar navigation |
| app/layout.tsx | Integrates theme provider for dark/light mode support |
| hooks/* | Custom hooks for theme and mobile detection |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| import { usePathname, useRouter } from "next/navigation"; | ||
| import { ModeToggle } from "./mode-toggle"; | ||
|
|
||
| export function SiteHeader() { | ||
| const pathname = usePathname(); | ||
| const router = useRouter(); |
Copilot
AI
Dec 13, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unused variable router.
| import { usePathname, useRouter } from "next/navigation"; | |
| import { ModeToggle } from "./mode-toggle"; | |
| export function SiteHeader() { | |
| const pathname = usePathname(); | |
| const router = useRouter(); | |
| import { usePathname } from "next/navigation"; | |
| import { ModeToggle } from "./mode-toggle"; | |
| export function SiteHeader() { | |
| const pathname = usePathname(); |
| import { | ||
| CheckCircle2Icon, | ||
| CheckCircleIcon, | ||
| ChevronDownIcon, | ||
| ChevronLeftIcon, | ||
| ChevronRightIcon, | ||
| ChevronsLeftIcon, | ||
| ChevronsRightIcon, | ||
| ColumnsIcon, | ||
| GripVerticalIcon, | ||
| LoaderIcon, | ||
| MoreVerticalIcon, | ||
| PlusIcon, | ||
| TrendingUpIcon, | ||
| } from "lucide-react"; |
Copilot
AI
Dec 13, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unused import CheckCircleIcon.
No description provided.