Commit graph

8 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
8c0183b0ef feat: enhance SEO and sitemap functionality
- Updated robots.txt to disallow API access for all user agents.
- Introduced new SEO configuration in seo.ts, including meta tag generation and structured data functions.
- Implemented sitemap generation in sitemap.ts to dynamically create XML sitemaps based on documentation pages.
- Updated root and documentation routes to utilize new SEO features, including meta tags and structured data for better search engine visibility.
2025-12-24 20:00:43 +05:30
Rohith Gilla
603728a72a chore: small changes 2025-12-12 17:44:56 +05:30
Rohith Gilla
321a088705 chore: add simpleanalytics 2025-12-12 15:43:22 +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
Rohith Gilla
5cc4a55515
feat: web updates with pro license, customer portal, and safety improvements (#24)
* fix: prevent duplicate autocomplete suggestions in SQL editor

Use singleton pattern for Monaco completion provider to prevent
duplicates when multiple editor tabs are open. Also disable
word-based suggestions since the custom provider is comprehensive.


* feat(ai): prevent auto-execution of destructive SQL queries

Add safety guardrails to ensure UPDATE, DELETE, DROP, and TRUNCATE
queries are never auto-executed from the AI chat. Users must manually
review and execute these queries in a new tab.

- Add requiresConfirmation field to AI query response schema
- Update system prompt to require confirmation for destructive queries
- Hide "Run Query" button when requiresConfirmation is true
- Show "Review in Tab" button with warning styling instead


* feat: handle pro license

* feat: add customer portal

* feat: fix a few things

* chore: add simeple umami self hosted analytics

* fix: add globalEnv to turbo.json for Vercel builds

Declares environment variables required by the web app so Turborepo
passes them through during Vercel builds.

* refactor: use next/script for analytics with afterInteractive strategy

Replaces raw script tag with Next.js Script component for better
loading optimization, de-duplication, and automatic placement.
2025-12-03 16:44:38 +05:30
Rohith Gilla
04268973a3 feat: add docs 2025-11-30 22:28:59 +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