Skip to content

Conversation

@jonathannorris
Copy link
Member

Removes the @vercel/analytics dependency and its usage from the Layout component.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This pull request removes the @vercel/analytics package dependency and cleans up its usage from the codebase. The PR also includes a new API specification file for the DevCycle Bucketing API.

Key changes:

  • Removal of @vercel/analytics dependency from package.json
  • Removal of Analytics component usage from the Layout wrapper
  • Addition of comprehensive Bucketing API specification (bucketing-api.yaml)

Reviewed changes

Copilot reviewed 3 out of 4 changed files in this pull request and generated 3 comments.

File Description
package.json Removes @vercel/analytics dependency from the project dependencies
yarn.lock Updates lockfile to reflect removal of @vercel/analytics package and its configuration
src/theme/Layout/index.js Removes Analytics component import and usage from the Layout wrapper
static/api-specs/bucketing-api.yaml Adds new comprehensive API specification for DevCycle Bucketing API

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@@ -1,13 +1,11 @@
import React from 'react'
import Layout from '@theme-original/Layout'
import Head from '@docusaurus/Head'
Copy link

Copilot AI Dec 16, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The import of Head from '@docusaurus/Head' is unused and should be removed.

Copilot uses AI. Check for mistakes.
Comment on lines +456 to +460
description: User's email used to identify the user on the dashaboard / target audiences
type: string

name:
description: User's name used to idenify the user on the dashaboard / target audiences
Copy link

Copilot AI Dec 16, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The word 'dashaboard' is misspelled. It should be 'dashboard'.

Suggested change
description: User's email used to identify the user on the dashaboard / target audiences
type: string
name:
description: User's name used to idenify the user on the dashaboard / target audiences
description: User's email used to identify the user on the dashboard / target audiences
type: string
name:
description: User's name used to idenify the user on the dashboard / target audiences

Copilot uses AI. Check for mistakes.
Comment on lines +456 to +460
description: User's email used to identify the user on the dashaboard / target audiences
type: string

name:
description: User's name used to idenify the user on the dashaboard / target audiences
Copy link

Copilot AI Dec 16, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Two spelling errors: 'idenify' should be 'identify' and 'dashaboard' should be 'dashboard'.

Suggested change
description: User's email used to identify the user on the dashaboard / target audiences
type: string
name:
description: User's name used to idenify the user on the dashaboard / target audiences
description: User's email used to identify the user on the dashboard / target audiences
type: string
name:
description: User's name used to identify the user on the dashboard / target audiences

Copilot uses AI. Check for mistakes.
@cloudflare-workers-and-pages
Copy link

Deploying devcycle-docs with  Cloudflare Pages  Cloudflare Pages

Latest commit: 0164dee
Status: ✅  Deploy successful!
Preview URL: https://857a4e63.devcycle-docs.pages.dev
Branch Preview URL: https://chore-remove-vercel-analytic.devcycle-docs.pages.dev

View logs

@jonathannorris jonathannorris merged commit 67a0a7e into main Dec 16, 2025
11 checks passed
@jonathannorris jonathannorris deleted the chore-remove-vercel-analytics branch December 16, 2025 19:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants