Commit graph

8 commits

Author SHA1 Message Date
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