Skip to content

Instantly share code, notes, and snippets.

@yih403
yih403 / thumbnails.b64
Created February 1, 2026 10:29
Lev Map thumbnails (base64 encoded tar.gz)
H4sIAAYrf2kAA+y6BVBdUZslenH3BJeLE1wu7hLc3d25OFzcLYTg7lxcgnuQIAGCu7tDCMHdXv7pfjNdXTPT86qm59V73avq298+p/Y+Z9v69tqnDquJh62no7mTmR3YHfDvBHZ2dl5ubuB/8Tz/5Nk5Qf/k/ynPBeTg5uDi5WHn5eXkBbJzgDg5QAAg+79Xg/4lPN09zNz+NsXHztbTzMnmf1jubzFr6//Jc/6pK8D/6v+/AgR8JAAsAKBkZgFU0QDqAv8Z/7gHQPlrnH/N9a/947rof+2R4pqa6v+c/UeNjL+G9q+KwPy3++8tnB1ZzVxcwFasLm7OECsnMycLKwAMLMCyRXgo/Q/s/v+GTv4n/kdQNfOWtTKztHJj+/eLA/8m/znY/xX/uXlBnACg9//uhvz38B+c/1zsQEcPO0crYQ5eHn5+LhAfOy8rNy8XiJOXj5MHlZsXqCgnIa4uKSun/ZHV28zDw431v0dXYXE1OXF9RT1+b25rT3FPLVQQP1DjbyVFvf9ZpX/BcdT/t8fhPyr+G+vZ/t3e8W/x/x98+Vf7Pzv3X/5z/7u16F/gPzj//8X8s5q4m3lYgcF2Hn9Z+j8Zif/H+DsePCDQ/4r+4/ir+7j/zj8PLzf7f+q//yP4T/33Hxr/gv//TQr+b44D/yb//6v++2f+c7KDeHn+U//9n8C/0n/c/LxcrKB/OF4Qx3/qv///41/w/99p9/83+M/BzfP3uPGv939u7v/8/vN/BNGqyjIYqMT/4B+GnKzU330bRuxv/hwZ7m8qfaWkBwDAAVQVNT9SUGBiY2MTkhK+I2UmZeCjpwfQ0GAzMhIwMxFysJDy8iKBuPCANDQ0DMwMDNTMzMy0zJwM7HwcHDQgEBMfCCgiQC0kyPRfZp5fRISTj4+PlFmMlEOClF8OyCxGySlOA5Kl5JOiFJD7wCXOzCf1QUCeUkiVQ0BCSEiKUlyRRk6RQUqOUVaRSlyNWk6NUV6NRlX9g7o6g6ous64ms66ukJiskJQmu64m
@yih403
yih403 / GlassPanelHeader.tsx
Created February 1, 2026 10:27
Lev Map - all working changes including theme flash fix + GlassPanelHeader
'use client'
import { cn } from '@/lib/utils'
import { X, ChevronLeft } from 'lucide-react'
import { Tooltip, TooltipTrigger, TooltipContent } from '@lev/ui'
export interface GlassPanelHeaderProps {
/** Panel title */
title: string
/** Optional icon to display before the title */
@yih403
yih403 / GlassPanelHeader.tsx
Created February 1, 2026 10:21
All working changes for Lev Map (uncommitted) + new GlassPanelHeader component
'use client'
import { cn } from '@/lib/utils'
import { X, ChevronLeft } from 'lucide-react'
import { Tooltip, TooltipTrigger, TooltipContent } from '@lev/ui'
export interface GlassPanelHeaderProps {
/** Panel title */
title: string
/** Optional icon to display before the title */
@yih403
yih403 / unpushed-changes.patch
Created February 1, 2026 10:15
Unpushed changes for PR #71 (quality improvements)
diff --git a/apps/map/app/page.tsx b/apps/map/app/page.tsx
index ec49993e..e45f1d1d 100644
--- a/apps/map/app/page.tsx
+++ b/apps/map/app/page.tsx
@@ -979,17 +979,27 @@ function MapContent() {
showRoads: config.showRoads,
showTransit: config.showTransit,
theme: config.theme,
- // Connector line defaults
+ // Derive accent color from map style for consistent theming
@yih403
yih403 / floating-ai-panel.tsx
Created February 1, 2026 10:04
Lev UI components: inset-header, floating-ai-panel, platform-layout
'use client'
import * as React from 'react'
import { HelpCircle, ArrowUp, Square, X } from 'lucide-react'
import { cn } from '../utils'
import { LevAIIcon } from './lev-ai-icon'
import { LevAIStreamingCursor } from './lev-ai-streaming-indicator'
import { Tooltip, TooltipContent, TooltipTrigger } from './tooltip'
// =============================================================================
@yih403
yih403 / lev-map-changes.patch
Created February 1, 2026 10:02
Lev Map full changes (all files vs main)
This file has been truncated, but you can view the full file.
diff --git a/.cursor/mcp.json b/.cursor/mcp.json
new file mode 100644
index 00000000..d3c4e759
--- /dev/null
+++ b/.cursor/mcp.json
@@ -0,0 +1,11 @@
+{
+ "mcpServers": {
+ "Linear": {
+ "url": "https://mcp.linear.app/mcp",
@yih403
yih403 / lev-map-app-only.patch
Created February 1, 2026 10:02
Lev Map app changes (apps/map/ only)
diff --git a/apps/map/app/api/map-agent/route.ts b/apps/map/app/api/map-agent/route.ts
index f0ed5997..40b90fdf 100644
--- a/apps/map/app/api/map-agent/route.ts
+++ b/apps/map/app/api/map-agent/route.ts
@@ -378,13 +378,13 @@ function createMapAgentTools(biasLocation: GeocodeBias | null, lastUserMessage:
setMapView: tool({
description:
- 'Change map view settings including map type, zoom level, 3D tilt, rotation, and label visibility.',
+ 'Change map view settings including map type, zoom, 3D tilt, rotation, labels, layers, theme, and radius.',