Commit graph

29 commits

Author SHA1 Message Date
Rohith Gilla
f2cfd165f9 chore: release v0.10.0 2025-12-18 20:31:32 +05:30
Rohith Gilla
505e1a139c chore: release v0.9.0 2025-12-16 18:26:32 +05:30
Rohith Gilla
8d9b533ad4 chore: release v0.8.1 2025-12-15 15:17:11 +05:30
Rohith Gilla
b668e4c0b8
feat: add server-side pagination for table previews (#68)
* feat: add server-side pagination for table previews

- Add page size selector with options (25, 50, 100, 250, 500)
- Persist user's preferred page size in settings
- Add jump-to-page input for quick navigation
- Show "Rows X-Y of Z" instead of "Page X of Y"
- Implement server-side pagination for table preview tabs:
  - Query uses LIMIT/OFFSET instead of loading all rows
  - COUNT query fetches total for pagination UI
  - Page changes trigger re-query with new offset
- Fix stale closure issue by reading fresh state from store

* chore: small fix
2025-12-15 15:15:35 +05:30
Rohith Gilla
448fa4895b chore: release v0.8.0 2025-12-12 12:51:38 +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
bf6281c08e chore: release v0.5.3 2025-12-05 21:27:30 +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
8781cb946c chore: release v0.4.0 2025-12-03 16:45:07 +05:30
Rohith Gilla
24b66e9f64 chore: release v0.3.0 2025-12-02 07:52:12 +05:30
Rohith Gilla
735061008a
feat: add support for multiple result sets and enhanced storage (#18)
* feat: add support for multiple result sets in query editor

Implements multiple result sets feature found in TablePlus, DBeaver, and DataGrip.
When executing multiple SQL statements separated by semicolons, each statement's
results are displayed in separate tabs within the results pane.

Changes:
- Add StatementResult and MultiStatementResult types to shared package
- Update PostgreSQL, MySQL, and MSSQL adapters with queryMultiple() method
- Add SQL statement splitter that respects string literals and comments
- Update tab store with multiResult support and activeResultIndex
- Add result set tabs UI in tab-query-editor when multiple statements present
- Each result shows row count, affected rows (for non-SELECT), and timing

The UI displays clickable result tabs above the data table when multiple
statements are executed. Green indicators show data-returning statements
(SELECT), blue for row-affecting statements (INSERT/UPDATE/DELETE).

* feat: add DpStorage facade with automatic corruption recovery

- Create storage.ts with DpStorage and DpSecureStorage classes
- Implement facade pattern for electron-store with auto-recovery
- Corrupted JSON files are automatically deleted and recreated
- Refactor all stores to use the new facade:
  - index.ts: connections, saved queries
  - license-service.ts: license data
  - window-state.ts: window bounds
  - ai-service.ts: AI config, chat history

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

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

* feat: add auto updated

* feat: add build:web and build:docs scripts for Vercel deployments

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

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

* fix: use safeStorage for encryption keys and improve updater UX

- Use Electron's safeStorage to derive machine-specific encryption keys
  for connections and saved queries stores instead of hardcoded values
- Fix updater comment/behavior mismatch: now correctly documents that
  automatic checks download silently while manual checks prompt user
- Add proper dialog handling for manual update checks (shows update
  available, no updates, and error dialogs appropriately)

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

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

---------

Co-authored-by: Claude <noreply@anthropic.com>
2025-12-01 19:31:30 +05:30
Rohith Gilla
16d5a6b217
feat: integrate Turborepo for monorepo build orchestration (#15)
- Add turbo as dev dependency
- Create turbo.json with task configuration for build, lint, typecheck, dev
- Update root package.json scripts to use turbo run
- Add tsconfig.json to shared package (required for typecheck)
- Add .turbo to clean script

Benefits:
- Caching: Unchanged packages skip rebuilding (73ms cached vs 5.4s uncached)
- Parallelism: Independent tasks run concurrently
- Dependency ordering: shared package builds before dependent packages

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

Co-authored-by: Claude <noreply@anthropic.com>
2025-11-30 23:09:23 +05:30
Rohith Gilla
7bbebba0cb Merge branch 'claude/ai-postgres-client-01V5vquhVRH9x6YEJR2puRWV' 2025-11-30 22:30:16 +05:30
Rohith Gilla
c3788c4df4 chore: lock and yaml files 2025-11-30 22:29:08 +05:30
Rohith Gilla
dac87ec006 chore: release v0.2.0 2025-11-30 18:42:54 +05:30
Rohith Gilla
df475a818b chore: release v0.2.0 2025-11-30 18:40:37 +05:30
Rohith Gilla
b12e5ec687 feat: add bumpp 2025-11-30 18:40:00 +05:30
Rohith Gilla
79cecc2f1f
fix: pin electron version for electron-builder compatibility (#10)
* fix: pin electron version for electron-builder compatibility

Remove semver range (^) from electron dependency to fix
"Cannot compute electron version from installed node modules" error
during postinstall.

Fixes #6

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

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

* chore: fix lock files

* chore: fix lock file

---------

Co-authored-by: Claude <noreply@anthropic.com>
2025-11-30 09:59:47 +05:30
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
d6b31d0559 chore: prepare for open source release 2025-11-29 10:57:24 +05:30
Rohith Gilla
0365a64af8 feat: add web app 2025-11-28 20:29:49 +05:30
Claude
3d03c39500
fix: use workspace scripts for platform builds
The root build:win/mac/linux scripts were calling electron-builder
directly, but it's only installed in the desktop workspace. Changed
to delegate to the workspace scripts via pnpm --filter.
2025-11-28 10:23:45 +00:00
Rohith Gilla
c278f9fc9a feat: fix a few things 2025-11-28 15:38:43 +05:30
Rohith Gilla
703c850744 🚀 chore: init commit 2025-11-26 15:53:53 +05:30