Commit graph

4 commits

Author SHA1 Message Date
Rohith Gilla
758eceebdd
Fix case-sensitive table names and cross-database identifier quoting (#126)
* Fix case-sensitive table names and cross-database identifier quoting

Use proper identifier quoting helpers (quoteIdentifier, buildFullyQualifiedTableRef)
everywhere SQL is constructed, instead of raw string interpolation. Fixes failures
with mixed-case table names on PostgreSQL (e.g. "Organization") and wrong quote
characters for MySQL/MSSQL.

* UI design improvements and unify color palette to blue across monorepo

- Migrate accent color from cyan (#22d3ee) to blue (#6b8cf5) across
  web, docs, video, and email templates for brand consistency
- Improve light mode: stronger borders, darker muted text, distinct
  chart colors (were all identical gray)
- Simplify empty states: remove icon circle, lead with keyboard
  shortcut on CTA button
- Reduce sidebar density: group related sections, hide empty sections
  when no connection is active, fewer separators
- Add toolbar hierarchy: vertical dividers between query actions and
  utility actions, Focus button is now icon-only
- Update .impeccable.md and CLAUDE.md to reflect blue as canonical
  accent color

* Fix health monitor ambiguous column errors and table sizes performance

- Qualify all column references in cache hit ratios query with table aliases
- Rewrite table sizes query to use OID-based size functions instead of
  repeated string-based lookups, add LIMIT 50
- Cap table sizes card height at 500px with sticky header for scrollability

* Fix MSSQL LIMIT syntax in resolveFK, collapse duplicate LIKE branches

---------

Co-authored-by: pullfrog[bot] <226033991+pullfrog[bot]@users.noreply.github.com>
2026-04-02 12:13:37 +05:30
Rohith Gilla
b468810a06
feat: add keyboard shortcuts for data editing (#89)
* feat: add keyboard shortcuts for data editing

Add keyboard shortcuts for mouseless data editing workflow:

- Cmd+S: Save pending changes (when in edit mode)
- Cmd+Shift+Z: Discard all changes
- Cmd+Shift+N: Add new row with form
- Escape: Exit edit mode

Changes:
- Add keyboard event listeners in EditableDataTable component
- Add "Data" menu with shortcuts in menu bar
- Add IPC listeners for menu events (save, discard, add row)
- Update edit toolbar tooltips with shortcut hints
- Add "Data Editing" section to Settings keyboard shortcuts

Closes request from user for mouseless editing support.

* fix: address CodeRabbit review feedback

- Change Add Row shortcut from Cmd+Shift+N to Cmd+Shift+I to avoid
  collision with New Window shortcut
- Fix key check for Shift+key combinations (use uppercase 'I' and 'Z')
- Use platform-agnostic keys utility in tooltips instead of hardcoded
  Mac symbols (⌘⇧Z -> keys.mod+keys.shift+Z)
- Use ref pattern for keyboard handlers to avoid stale closures in
  useEffect hooks

* docs: add data editing keyboard shortcuts

- Add Data Editing section to keyboard-shortcuts.mdx with new shortcuts
  (Cmd+S, Cmd+Shift+Z, Cmd+Shift+I, Escape)
- Add Keyboard Shortcuts section to inline-editing.mdx

* fix: address self-review findings for keyboard shortcuts

- Change add row shortcut from Cmd+Shift+I to Cmd+Shift+A (avoids
  DevTools conflict on Windows/Linux)
- Extract hasChanges computed value for better readability
- Move keyboardHandlersRef update to useLayoutEffect for React 18+
  correctness
- Update documentation with new shortcut
2026-01-03 13:56:54 +05:30
Rohith Gilla
6a19c3ca8f
docs: comprehensive documentation update and theme fixes (#64)
* docs: add MSSQL and SQLite database support documentation

- Add Microsoft SQL Server documentation page
- Add SQLite database support documentation page
- Update database support index with all 4 supported databases
- Add feature comparison table for all databases
- Update meta.json to include new pages

* docs: comprehensive documentation update for v0.7.0 features

- Add AI Assistant feature documentation with BYOK setup guide
- Add SSH Tunnels documentation for secure remote connections
- Add Query Telemetry documentation with benchmark mode
- Add Command Palette documentation
- Add Multi-Window support documentation
- Update features index with new feature categories
- Update keyboard shortcuts with new shortcuts (Cmd+K, Cmd+I, etc.)
- Update settings documentation with query timeout and AI settings
- Update README with SQLite support, SSH tunnels, and latest features
- Update README to reflect macOS code signing (v0.4.0+)

* feat: update marketing website with latest features

- Add Query Telemetry feature with benchmark mode description
- Add SSH Tunnels feature for secure connections
- Update Multi-Database to include SQLite
- Update hero section to mention SQLite support

* docs: add images to feature documentation

- Add AI Assistant screenshots (query generation, chart generation)
- Add Command Palette screenshot
- Add TODO placeholders for telemetry and SSH tunnel screenshots

* fix: docs homepage button and light mode issues

- Update tagline to include all 4 databases (PostgreSQL, MySQL, SQL Server, SQLite)
- Replace hardcoded dark colors with Tailwind theme variables for light/dark mode support
- Fix button hover state to maintain text visibility

* feat: add query telemetry and multi-window images

Docs:
- Add query-telemetry.png to Query Telemetry page
- Add multi-window.png to Multi-Window page
- Add erd.png to ER Diagrams page

Web app:
- Add Query Telemetry screenshot section
- Add Multi-Window screenshot section
- Import AppWindow icon for multi-window section

* fix: use actual app icon on docs homepage

* fix: ensure docs homepage button text is visible

Use inline style for button text color to override theme styles
that were causing the "Read the Docs" text to be invisible on the
cyan background.

* refactor: use lucide-static icons on docs homepage

Replace inline SVG elements with lucide-static imports for cleaner,
more maintainable code. Added Icon helper component to render the
SVG strings with custom classes.

* fix: enable light/dark mode switching in docs

- Remove forcedTheme and hardcoded dark class from RootProvider
- Add separate light theme CSS variables
- Make color-scheme responsive to theme class
- Use CSS variables for grid pattern background
- Add theme-aware navbar background colors

* fix: address CodeRabbit review comments in docs

- Add cross-platform command palette shortcuts in settings
- Use Windows backslash convention for settings path
- Rename "Query plans (EXPLAIN)" to "Query execution plans"
- Fix compound adjective "Floating-point" in sqlite docs
- Replace vague "very large" with specific "10+ GB" sizing
- Add model maintenance note and provider error disclaimer
- Bundle external images locally to avoid URL fragility
- Fix backtick shortcut rendering in multi-window docs
- Remove TODO comment from ssh-tunnels docs

---------

Co-authored-by: Claude <noreply@anthropic.com>
2025-12-12 15:28:25 +05:30
Claude
cfa4421e7e
feat(docs): add Fumadocs documentation site
- Create apps/docs package with Fumadocs framework
- Configure dark terminal-inspired theme matching data-peek aesthetic
- Add comprehensive documentation structure:
  - Getting Started: installation, first connection, first query
  - Features: query editor, schema explorer, results viewer, inline editing,
    table designer, ERD diagrams, query plans, saved queries, export
  - Configuration: settings, themes, licensing
  - Database Support: PostgreSQL, MySQL
  - Reference: keyboard shortcuts
- Update .gitignore to allow apps/docs (vs root docs/)
2025-11-30 09:55:07 +00:00