[PR #108] [MERGED] minor: Swap gtag for supabase #195

Closed
opened 2026-02-21 17:17:32 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/langchain-ai/langsmith-docs/pull/108
Author: @bracesproul
Created: 3/11/2024
Status: Merged
Merged: 3/11/2024
Merged by: @hinthornw

Base: mainHead: brace/swap-gtag-supabase


📝 Commits (7)

📊 Changes

7 files changed (+290 additions, -29 deletions)

View changed files

📝 .gitignore (+1 -0)
📝 .yarn/install-state.gz (+0 -0)
📝 docusaurus.config.js (+6 -1)
📝 package.json (+6 -1)
src/analytics.js (+0 -5)
📝 src/theme/Feedback.js (+61 -19)
📝 yarn.lock (+216 -3)

📄 Description

Added deps:

  • @supabase/supabase-js - for sending inserts
  • supabase - dev dep, for generating types via cli
  • dotenv for loading env vars

Added script:

  • yarn gen - will auto generate the database schema types using the supabase CLI. Not necessary for development, but is useful. Requires authing with the supabase CLI (will error out w/ instructions if you're not authed).

Added functionality:

  • pulls users IP address (using a free endpoint: https://api.ipify.org so we can filter out abuse down the line)

TODO:

  • add env vars to vercel

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/langchain-ai/langsmith-docs/pull/108 **Author:** [@bracesproul](https://github.com/bracesproul) **Created:** 3/11/2024 **Status:** ✅ Merged **Merged:** 3/11/2024 **Merged by:** [@hinthornw](https://github.com/hinthornw) **Base:** `main` ← **Head:** `brace/swap-gtag-supabase` --- ### 📝 Commits (7) - [`319af8e`](https://github.com/langchain-ai/langsmith-docs/commit/319af8e9699748fb02629c44fda3dc7d65cae5b9) docs[minor]: Swap gtag for supabase - [`dd58f08`](https://github.com/langchain-ai/langsmith-docs/commit/dd58f08341b7afb656cb9795480b53703f2d35a4) cr - [`d1f1f25`](https://github.com/langchain-ai/langsmith-docs/commit/d1f1f25ce7619841c05cab88b7305fd7f7e24f6c) perfer dotenv over docusoarus dotenv plugin - [`95662b4`](https://github.com/langchain-ai/langsmith-docs/commit/95662b4dffe24a6715bfae3c4351298a0ac6209e) drop gen from build - [`4ea27e3`](https://github.com/langchain-ai/langsmith-docs/commit/4ea27e3cd66b4e40ca94d6e43f381c8264c4460f) drop supabase dep - [`9360b24`](https://github.com/langchain-ai/langsmith-docs/commit/9360b245ce837f47bc614efe23215a416a91ba0b) drop types file - [`9575f34`](https://github.com/langchain-ai/langsmith-docs/commit/9575f34307c464b51c9766b97e15feb1af81f051) add back supabase dev dep ### 📊 Changes **7 files changed** (+290 additions, -29 deletions) <details> <summary>View changed files</summary> 📝 `.gitignore` (+1 -0) 📝 `.yarn/install-state.gz` (+0 -0) 📝 `docusaurus.config.js` (+6 -1) 📝 `package.json` (+6 -1) ➖ `src/analytics.js` (+0 -5) 📝 `src/theme/Feedback.js` (+61 -19) 📝 `yarn.lock` (+216 -3) </details> ### 📄 Description Added deps: - `@supabase/supabase-js` - for sending inserts - `supabase` - dev dep, for generating types via cli - `dotenv` for loading env vars Added script: - `yarn gen` - will auto generate the database schema types using the supabase CLI. Not necessary for development, but is useful. Requires authing with the supabase CLI (will error out w/ instructions if you're not authed). Added functionality: - pulls users IP address (using a free endpoint: `https://api.ipify.org` so we can filter out abuse down the line) TODO: - [x] add env vars to vercel --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-21 17:17:32 -05:00
yindo closed this issue 2026-02-21 17:17:32 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langchain-ai/langsmith-docs#195