Skip to content

staging-->main#618

Merged
gkorland merged 20 commits intomainfrom
staging
Mar 14, 2026
Merged

staging-->main#618
gkorland merged 20 commits intomainfrom
staging

Conversation

@gkorland
Copy link
Contributor

No description provided.

gkorland and others added 9 commits March 14, 2026 12:26
Replace custom Roboto/Oswald fonts and blue/pink/orange palette with
FalkorDB standard: Inter font, purple primary accent, clean dark/light
mode with theme toggle, and consistent shadcn/ui component usage.

- Update CSS variables to purple primary, add full dark mode token set
- Rename graph category colors with graph- prefix to separate from theme
- Add ThemeProvider (system/light/dark, localStorage) and ThemeToggle
- Redesign header: compact layout, icon-only nav with tooltips, remove gradient bar
- Replace all hardcoded colors (bg-white, text-black, bg-gray-*, etc.)
  with semantic tokens (bg-background, text-foreground, bg-muted, etc.)
- Standardize buttons/inputs to shadcn Button/focus-ring patterns
- Add dark scrollbar styles and panel resize hover states

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Make the graph canvas and related loading states follow the active theme so dark mode no longer shows bright mismatched surfaces.

Validation:
- npm --prefix ./app run lint
- npm --prefix ./app run build

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
…20260314-1506

Fix dark mode graph surfaces
@gkorland gkorland requested a review from Copilot March 14, 2026 15:28
@coderabbitai
Copy link
Contributor

coderabbitai bot commented Mar 14, 2026

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: c3097115-5d8f-46ef-8494-d7b572317623

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch staging
📝 Coding Plan
  • Generate coding plan for human review comments

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link
Contributor

Copilot AI left a 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 PR introduces system-aware theming (light/dark) across the React UI, updates styling to use theme tokens, and improves Playwright E2E stability for canvas/graph interactions to support the updated UI.

Changes:

  • Add ThemeProvider + ThemeToggle, wire provider at app root, and update UI components to use theme-based Tailwind tokens.
  • Update graph canvas rendering to adapt background/foreground and dimmed-node colors to the active theme.
  • Improve E2E graph selection and canvas interactions (more deterministic waits, updated locators, better coordinate handling).

Reviewed changes

Copilot reviewed 17 out of 17 changed files in this pull request and generated 5 comments.

Show a summary per file
File Description
e2e/logic/POM/codeGraph.ts More robust graph/canvas waiting + locator updates aligned with UI changes
app/tailwind.config.ts Add Inter font + rename custom graph colors + theme token colors
app/src/main.tsx Wrap app with ThemeProvider
app/src/globals.css Theme token variable tweaks + replace hardcoded styles with tokens
app/src/components/theme-toggle.tsx New theme toggle button
app/src/components/theme-provider.tsx New theme context/provider with system theme support + persistence
app/src/components/model.ts Update category color naming to match Tailwind config
app/src/components/labels.tsx Adjust background to theme token
app/src/components/graphView.tsx Theme-aware canvas colors + dimmed-node styling
app/src/components/elementMenu.tsx Theme token styling + icon color inheritance
app/src/components/dataPanel.tsx Theme token styling + transparent code block backgrounds
app/src/components/combobox.tsx Theme token borders + focus ring
app/src/components/code-graph.tsx Theme token layout + replace some buttons with UI Button
app/src/components/chat.tsx Theme token styling + replace loading gif with spinner UI
app/src/components/Input.tsx Theme token styling for inputs/list
app/src/App.tsx Navbar redesign (icons + tooltips) + add theme toggle (desktop + mobile)
app/index.html Limit Google Fonts import to Inter only

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

gkorland and others added 2 commits March 14, 2026 17:46
Provide architecture, commands, conventions, environment variables,
testing, and API endpoint reference for AI-assisted development.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Validate localStorage theme value against allowed themes before use,
  falling back to defaultTheme on mismatch or missing value
- Create ThemeProviderContext with undefined default so useTheme guard
  properly detects usage outside ThemeProvider
- Add aria-label to icon-only theme toggle button for screen readers
- Standardize 'Github' key to 'GitHub' in e2e test selectors

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@railway-app railway-app bot temporarily deployed to Code-Graph / staging March 14, 2026 15:58 Inactive
Copilot AI and others added 4 commits March 14, 2026 16:14
- Add 'text' language tag to directory tree fenced block (MD040)
- Clarify async-first convention to acknowledge sync helpers in api/graph.py

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Add AGENTS.md project guide and CLAUDE.md symlink
@railway-app railway-app bot temporarily deployed to Code-Graph / staging March 14, 2026 16:20 Inactive
gkorland and others added 4 commits March 14, 2026 18:21
…Color

Replace <img> tags loading static SVG files (with hardcoded dark fills)
with inline SVG React components that use `currentColor` for theme-adaptive
fills. The gradient swirl remains unchanged.

- Create Logo component (desktop header F icon)
- Create CodeGraphLogo component (mobile header full logo)
- Update App.tsx to use inline SVG components

Co-authored-by: gkorland <753206+gkorland@users.noreply.github.com>
- Remove code-graph-logo.tsx component (unused after change)
- Mobile header now uses Logo + 'CODE GRAPH' text, matching desktop layout
- Fix duplicate SVG gradient ID conflict using React useId()
- Change mobile header from absolute-positioned icons to flex justify-between

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Fix logo visibility in dark mode using inline SVG with currentColor
@railway-app railway-app bot temporarily deployed to Code-Graph / staging March 14, 2026 16:50 Inactive
The logo was refactored from an <img> tag to an inline SVG <Logo />
component, but the E2E POM selector still looked for img[@alt='FalkorDB'].
Updated to use the aria-label attribute on the parent <a> tag instead.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@gkorland gkorland merged commit 4e3c11c into main Mar 14, 2026
18 checks passed
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.

3 participants