Commit graph

32 commits

Author SHA1 Message Date
Rohith Gilla
448fa4895b chore: release v0.8.0 2025-12-12 12:51:38 +05:30
Rohith Gilla
a877a79471 chore: add educator license script 2025-12-11 20:17:41 +05:30
Rohith Gilla
256b06b3a1 chore: release v0.7.0 2025-12-11 12:31:44 +05:30
Rohith Gilla
8d023eee0d chore: release v0.6.2 2025-12-09 09:30:57 +05:30
Rohith Gilla
4a57d3c707 chore: release v0.6.1 2025-12-09 09:30:45 +05:30
Rohith Gilla
a64d964c60 chore: release v0.6.0 2025-12-09 08:36:59 +05:30
Rohith Gilla
49e8ab6287
feat: improved row insert UX with side sheet and smart fields (#46)
* chore: fix uii/ux

* feat: add schema caching with background refresh and notifications

- Cache schemas and custom types in memory and disk for faster load times
- Background refresh when loading from cache to keep data fresh
- Add toast notifications to inform users of schema updates
- Show refresh spinner and cache status in schema explorer tooltip
- Fall back to stale cache with warning when refresh fails

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>

* feat: add periodic auto-update checks with toast notifications

- Add periodic update checks every 4 hours (in addition to startup check)
- Show toast notification when update is downloading
- Show persistent toast with "Restart Now" button when download completes
- Extend notification store to support action buttons
- Add IPC events for updater communication with renderer
- Create useAutoUpdater hook for listening to update events

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>

* feat: add side sheet for row insertion with smart field inputs

- Add AddRowSheet component with type-aware field inputs:
  - UUID fields with generate button
  - Date/time fields with picker and "Now" button
  - Boolean fields with toggle switch
  - Enum fields with dropdown selection
  - JSON fields with textarea
- Add dropdown menu for Add Row with Form/Quick Add options
- Add duplicate row functionality with row action dropdown
- Auto-clear serial/identity PKs when duplicating rows

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>

* fix: handle foreign key fields properly in add row sheet

- Check for FK before UUID type to prevent random UUID generation for FK columns
- Add searchable dropdown for FK fields that fetches values from referenced table
- Show loading state while FK values are being fetched
- Fall back to manual input if FK values can't be loaded

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>

* fix: replace Select with Popover-based combobox for FK fields

The Select component doesn't work well with search input inside.
Using Popover with native input provides proper searchable combobox UX.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>

* chore: formatter

* perf: add useCallback and useMemo optimizations to SmartField

- Wrap generateUUID, setNow, clearValue in useCallback to prevent
  recreation on every render
- Add useMemo for FK value filtering to avoid recalculating on
  every render
- Add self-review documentation

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

* fix: remove duplicate db:invalidate-schema-cache handler

Removed duplicate IPC handler registration that was causing
"Attempted to register a second handler" error on startup.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

* feat: add row button available in normal mode

- Show "Add Row" button in normal view mode (not just edit mode)
- Clicking it opens the form sheet directly
- On submit, automatically enters edit mode and adds the row
- Provides a faster workflow for inserting data without manually
  entering edit mode first
2025-12-06 13:32:17 +05:30
Rohith Gilla
bf6281c08e chore: release v0.5.3 2025-12-05 21:27:30 +05:30
Rohith Gilla
914fae5683 chore: fix mobile header 2025-12-05 10:09:05 +05:30
Rohith Gilla
7a3da22996 feat(web): add CLI script to grant contributor licenses
Adds `pnpm admin:grant-license` command to grant free licenses to
contributors without credit cards. Creates customer, generates license,
saves to DB, and sends welcome email via Resend.

Usage:
  pnpm admin:grant-license --email contributor@example.com
  pnpm admin:grant-license --email x@y.com --name "Name" --plan team

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-05 08:59:01 +05:30
Rohith Gilla
0f971d0352 chore: release v0.5.2 2025-12-05 08:20:41 +05:30
Rohith Gilla
fe092ceee7 chore: release v0.5.1 2025-12-04 21:48:49 +05:30
Rohith Gilla
3051178ce1 chore: release v0.5.0 2025-12-04 18:20:43 +05:30
Rohith Gilla
8da370cb91 fix: Correct pricing link href in hero component. 2025-12-03 19:51:52 +05:30
Rohith Gilla
55571d4106 refactor(web): handle licensing on payment.succeeded instead of license_key.created
Move license creation from license_key.created webhook to payment.succeeded
since we now manage licensing ourselves instead of using Dodo's license keys.

- Remove license_key.created event type and handler
- Create license directly on payment.succeeded
- Remove license key specific fields from webhook payload type
- Simplify getEventId helper

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-03 18:45:10 +05:30
Rohith Gilla
d6963d3406 feat(web): add privacy policy and terms of service pages
- Add /privacy page with data collection, analytics, and security info
- Add /terms page with license terms, restrictions, and refund policy
- Both pages follow existing design patterns with Header/Footer

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-03 18:42:05 +05:30
Rohith Gilla
968cd9521d fix(web): update webhook verification to use Standard Webhooks spec
- Use Dodo Payments SDK's unwrap() method for signature verification
- Extract proper Standard Webhooks headers (webhook-id, webhook-signature, webhook-timestamp)
- Add idempotency handling using webhook-id to prevent duplicate processing
- Remove custom HMAC verification in favor of SDK-based approach

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-03 18:36:28 +05:30
Rohith Gilla
8781cb946c chore: release v0.4.0 2025-12-03 16:45:07 +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
Ekikere-Abasi Michael
631643f5b9
Update navigation links to include leading slashes (#23)
* Update navigation links to include leading slashes

Update navigation links to include leading slashes for links that points to a section on the home page

* Update footer links to include leading slashes

Update footer links to include leading slashes for links that points to a section on the home page
2025-12-03 16:33:32 +05:30
Rohith Gilla
24b66e9f64 chore: release v0.3.0 2025-12-02 07:52:12 +05:30
Rohith Gilla
7bbebba0cb Merge branch 'claude/ai-postgres-client-01V5vquhVRH9x6YEJR2puRWV' 2025-11-30 22:30:16 +05:30
Rohith Gilla
dac87ec006 chore: release v0.2.0 2025-11-30 18:42:54 +05:30
Claude
b8e5ca4d39
feat(web): add GitHub button to header and improve responsive design
- Add GitHub Star button to header navigation (desktop and mobile)
- Improve responsive design across all marketing components:
  - Hero: Better text sizing, feature highlight bar wrapping, screenshot scaling
  - Features: Grid adjusts from 1 to 2 to 3 columns, smaller text on mobile
  - Pricing: Cards adapt to mobile with better spacing and typography
  - FAQ: Accordion items with responsive padding and font sizes
  - CTA: Full-width buttons on mobile, stacked trust signals
  - Footer: Better mobile layout with adjusted grid and spacing
  - Download page: Platform cards, system requirements, all responsive
- Use sm: breakpoint consistently for mobile-first design
- Reduce padding and typography on small screens for better UX
2025-11-30 09:25:15 +00:00
Rohith Gilla
2425755879
feat: user feedback improvements and bug fixes (#5)
* db: drizzle migrations

* feat: implement user feedback!

Thanks @Mihaly_NC for the feedback!

* feat: expandable and collapsible query panel

* chore: formatting

* chore: bump version

* chore: fix a small oopsie
2025-11-29 17:21:56 +05:30
Rohith Gilla
c18242cbce chore: update download links 2025-11-29 13:06:17 +05:30
Rohith Gilla
f5e2ce87ec feat: add saved queries management 2025-11-29 13:02:58 +05:30
Rohith Gilla
d6b31d0559 chore: prepare for open source release 2025-11-29 10:57:24 +05:30
Rohith Gilla
a03cce9845 ui: remove comparison table 2025-11-29 10:47:01 +05:30
Rohith Gilla
82058dc7a7 feat: update licensing changes 2025-11-29 10:32:14 +05:30
Rohith Gilla
a2dbdfc805 chore: something to get deployment running 2025-11-29 10:09:38 +05:30
Rohith Gilla
0365a64af8 feat: add web app 2025-11-28 20:29:49 +05:30