Commit graph

12 commits

Author SHA1 Message Date
Rohith Gilla
f880b13cee
chore: release v0.19.1 2026-04-10 16:04:53 +05:30
Rohith Gilla
cd412b631b
chore: release v0.19.0 2026-04-07 10:47:58 +05:30
vercel[bot]
164dc3fd9b
Install and Configure Vercel Speed Insights (#137)
# Vercel Speed Insights Installation

Successfully installed and configured Vercel Speed Insights for the data-peek webapp project.

## Changes Made

### 1. Package Installation
- Added `@vercel/speed-insights` version ^2.0.0 to dependencies in `apps/webapp/package.json`
- Updated `pnpm-lock.yaml` with the new dependency and its transitive dependencies

### 2. Component Integration
- Modified `apps/webapp/src/app/layout.tsx`:
  - Imported `SpeedInsights` component from `@vercel/speed-insights/next`
  - Added `<SpeedInsights />` component inside the `<body>` tag, alongside the existing `<Analytics />` component

## Implementation Details

The implementation follows the official Vercel Speed Insights quickstart documentation for Next.js App Router (v13.5+):
- Used the correct Next.js-specific import path: `@vercel/speed-insights/next`
- Placed the component in the root layout file at `app/layout.tsx`
- Added the component inside the `<body>` tag as recommended

## Framework
This project uses Next.js 16.0.7 with the App Router architecture, so the implementation uses the App Router-specific instructions from the official documentation.

## Next Steps
To enable Speed Insights:
1. Deploy the application to Vercel
2. Navigate to the Vercel dashboard
3. Select Speed Insights from the sidebar
4. Choose the project and click Enable
5. After deployment, the Speed Insights script will be automatically injected at `/_vercel/speed-insights/*`
6. Once users visit the site, performance metrics will appear in the Vercel dashboard

## Notes
- The existing `@vercel/analytics` package was already installed, so this addition complements the existing analytics setup
- The pre-existing build errors in the codebase are unrelated to this change - they stem from missing dependencies in the shared `packages/ui` package
- The SpeedInsights component is zero-bundle-size on the client and only loads the tracking script when needed

Co-authored-by: Vercel <vercel[bot]@users.noreply.github.com>
2026-04-06 18:56:16 +05:30
Rohith Gilla
d722e8996c
feat(webapp): add Dexie database definition for local-first storage 2026-04-06 17:08:09 +05:30
Rohith Gilla
ed41c71f67
fix(webapp): add Clerk dark theme for visible auth UI
Clerk components were rendering dark text on dark background, making
sign-in, user button, and other auth UI invisible. Added @clerk/themes
dark base theme with matching color variables.
2026-04-06 10:45:10 +05:30
vercel[bot]
edc464c29e
Install and configure Vercel Web Analytics (#136)
# Vercel Web Analytics Installation Report

## Summary
Successfully installed and configured Vercel Web Analytics for the data-peek webapp project following the latest official Vercel documentation.

## Changes Made

### 1. Package Installation
- Installed `@vercel/analytics` version 2.0.1 using pnpm
- Updated `apps/webapp/package.json` to include the new dependency

### 2. Code Integration
Modified `apps/webapp/src/app/layout.tsx`:
- Added import: `import { Analytics } from '@vercel/analytics/next'`
- Added `<Analytics />` component inside the `<body>` tag, after the main content providers

### 3. Framework-Specific Implementation
- Used Next.js App Router approach as documented in Vercel's quickstart guide
- Placed Analytics component in the root layout file (`app/layout.tsx`)
- Component placed within `<body>` tag to ensure proper tracking across all pages

## Implementation Details

The Analytics component was added to the root layout following Next.js App Router best practices:
- Import from `@vercel/analytics/next` for Next.js-specific integration
- Placed after the main application content to avoid interfering with the existing ClerkProvider, Providers, and NuqsAdapter wrapper hierarchy
- This ensures analytics tracking is initialized for all pages in the application

## Files Modified
1. `apps/webapp/package.json` - Added @vercel/analytics dependency
2. `apps/webapp/src/app/layout.tsx` - Added Analytics import and component
3. `pnpm-lock.yaml` - Updated lockfile with new dependencies

## Next Steps for Deployment
To enable analytics on Vercel:
1. Enable Web Analytics in the Vercel dashboard (Analytics section)
2. Deploy the application using `vercel deploy`
3. Verify tracking via browser Network tab (look for analytics requests)

## Notes
- The project had pre-existing build issues unrelated to this change (missing @radix-ui dependencies in the UI package)
- The Analytics implementation itself is correct and follows official Vercel documentation
- Analytics will automatically start collecting data once deployed to Vercel with the feature enabled in the dashboard

Co-authored-by: Vercel <vercel[bot]@users.noreply.github.com>
2026-04-06 09:57:30 +05:30
tembo[bot]
05c222e90a
Add MSSQL & edit mode support (#134)
* feat(webapp): add MSSQL support, query editing, command palette, and SQL formatting

Co-authored-by: Rohith <gillarohith1@gmail.com>

* chore(webapp): remove MSSQL support and related code to drop database

Co-authored-by: Rohith <gillarohith1@gmail.com>

* fix(webapp): address review feedback for edit mode and query cancel

- Cache pg_backend_pid at connect time so cancelQuery works during in-flight queries
- Cache CONNECTION_ID at connect time for the same reason in MySQL adapter
- Use parameterized query for SET statement_timeout in Postgres adapter
- Parse SQL to extract table/schema context for edit mode instead of empty placeholders
- Add MSSQL bracket identifier quoting to escapeId in edit store
- Remove unused Trash2 and useQueryStore imports from edit-toolbar

---------

Co-authored-by: tembo[bot] <208362400+tembo[bot]@users.noreply.github.com>
Co-authored-by: Rohith <gillarohith1@gmail.com>
Co-authored-by: pullfrog[bot] <226033991+pullfrog[bot]@users.noreply.github.com>
2026-04-06 08:38:10 +05:30
Rohith Gilla
fb89beee0c
refactor(webapp): use @data-peek/ui shared components in data table and toolbar 2026-04-05 09:29:31 +05:30
Rohith Gilla
8d3642b1be
feat(webapp): add column stats adapter methods and nuqs dependency 2026-04-04 22:08:03 +05:30
Rohith Gilla
1ecd1b41e5
feat(webapp): add Monaco SQL editor with data-peek theme 2026-04-03 13:20:42 +05:30
Rohith Gilla
c4d9d60127
feat(webapp): add tRPC with Clerk auth and connections router 2026-04-03 11:01:32 +05:30
Rohith Gilla
69d7c3da91
feat(webapp): scaffold Next.js app with Tailwind and Clerk 2026-04-03 10:54:15 +05:30