Skip to content

fix: final tweaks#7749

Merged
mhartington merged 18 commits intomainfrom
fix/final-tweaks
Apr 2, 2026
Merged

fix: final tweaks#7749
mhartington merged 18 commits intomainfrom
fix/final-tweaks

Conversation

@carlagn
Copy link
Copy Markdown
Contributor

@carlagn carlagn commented Apr 2, 2026

Summary by CodeRabbit

  • New Features

    • Added a new “Query Insights” landing page.
  • Bug Fixes

    • Fixed logo rendering so correct light/dark images display.
  • UI Changes

    • Increased hero top spacing on several pages; adjusted responsive heading sizes; converted logo lists into clickable external links.
  • Content Updates

    • Streamlined partner copy and updated hero/feature text.
  • Navigation & Links

    • Updated multiple CTAs and footer/social links to external docs, sign-up, and quickstart destinations; some buttons now open in a new tab.

@vercel
Copy link
Copy Markdown

vercel bot commented Apr 2, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
blog Ready Ready Preview, Comment Apr 2, 2026 3:22pm
docs Ready Ready Preview, Comment Apr 2, 2026 3:22pm
eclipse Ready Ready Preview, Comment Apr 2, 2026 3:22pm
site Ready Ready Preview, Comment Apr 2, 2026 3:22pm

Request Review

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai bot commented Apr 2, 2026

Note

Reviews paused

It looks like this branch is under active development. To avoid overwhelming you with review comments due to an influx of new commits, CodeRabbit has automatically paused this review. You can configure this behavior by changing the reviews.auto_review.auto_pause_after_reviewed_commits setting.

Use the following commands to manage reviews:

  • @coderabbitai resume to resume automatic reviews.
  • @coderabbitai review to trigger a single review.

Use the checkboxes below for quick actions:

  • ▶️ Resume reviews
  • 🔍 Trigger review

Walkthrough

Adds a large new Query Insights page; introduces a light-theme Next.js logo and inverts its theme display logic; converts multiple internal CTAs to external links (some with UTM params); adjusts hero spacing and typography across several pages; removes a footer link and updates social URLs; small layout and formatting fixes. (50 words)

Changes

Cohort / File(s) Summary
New page: Query Insights
apps/site/src/app/query-insights/page.tsx
Adds a full new Next.js page with generateMetadata() and default async Page — hero, charts, feature cards, table, and CTAs. Large addition; review metadata, external links, and server/client component boundaries.
Theme-specific logos & renderer
apps/site/src/components/homepage/card-section/default-logos.json, apps/site/src/components/homepage/card-section/logo-grid.tsx
Added imageUrlLight for Next.js and inverted Tailwind visibility classes in logo renderer. Verify correct logo shown per theme and absence of regressions.
Logo parade -> clickable links
apps/site/src/components/logo-parade.tsx, packages/ui/src/components/logo-parade.tsx
Switched logo wrappers from non-interactive <div> to <a> with href, target="_blank", rel="noopener noreferrer". Confirm link targets and accessibility.
Homepage & footer CTAs
apps/site/src/app/(index)/page.tsx, packages/ui/src/data/footer.ts
Footer CTA changed to external Prisma Console sign-up URL (UTM added); removed “Accelerate” footer link; updated Twitter and YouTube social URLs to pris.ly shortlinks. Check outbound URLs and analytics.
ORM & related CTA/link updates
apps/site/src/app/orm/page.tsx, apps/site/src/app/postgres/page.tsx, apps/site/src/app/studio/page.tsx
Adjusted heading spacing, added a Benchmarks button, changed several CTAs to external docs/benchmarks/console URLs (added UTM where shown), and tweaked a Studio CTA variant. Validate targets and button props.
Hero spacing & typography across pages
apps/site/src/app/ecosystem/page.tsx, apps/site/src/app/enterprise/page.tsx, apps/site/src/app/partners/page.tsx
Added pt-24 to hero containers and reduced base heading sizes while adding larger breakpoints; updated partner copy. Verify responsive spacing and typography.
Enterprise supported DB links
apps/site/src/app/enterprise/page.tsx
Added external Prisma quickstart documentation url fields to supported database entries. Confirm links point to correct quickstarts.
Footer/error/docs link normalization
apps/docs/src/app/global-error.tsx, apps/docs/src/app/not-found.tsx
Replaced internal /docs links with https://www.prisma.io/docs; normalized quoting and EOF newline in not-found.tsx. Check absolute links and metadata strings.
Layout & minor formatting tweaks
apps/site/src/components/enterprise/carousel-item.tsx, apps/eclipse/content/design-system/components/pagination.mdx
Changed a carousel card container from flex to grid and removed a title bottom margin; added trailing newline to an MDX file. Verify layout and visual spacing.

Estimated code review effort

🎯 4 (Complex) | ⏱️ ~45 minutes

🚥 Pre-merge checks | ✅ 1 | ❌ 2

❌ Failed checks (1 warning, 1 inconclusive)

Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Write docstrings for the functions missing them to satisfy the coverage threshold.
Title check ❓ Inconclusive The title 'fix: final tweaks' is vague and overly generic, failing to convey meaningful information about the 16-file changeset spanning logo updates, routing changes, footer modifications, and new landing pages. Consider a more specific title such as 'refactor: update routing, logos, and footer links for Prisma platform consolidation' or 'feat: add query-insights landing page and update external documentation URLs' to better reflect the primary changes.
✅ Passed checks (1 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.


Comment @coderabbitai help to get the list of available commands and usage tips.

@argos-ci
Copy link
Copy Markdown

argos-ci bot commented Apr 2, 2026

The latest updates on your projects. Learn more about Argos notifications ↗︎

Build Status Details Updated (UTC)
default (Inspect) ✅ No changes detected - Apr 2, 2026, 3:25 PM

mhartington
mhartington previously approved these changes Apr 2, 2026
mhartington
mhartington previously approved these changes Apr 2, 2026
Copy link
Copy Markdown
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

🧹 Nitpick comments (1)
apps/site/src/app/(index)/page.tsx (1)

245-249: Extract the sign-up URL into a shared constant to prevent CTA drift.

Line 248 duplicates the same UTM URL already used at Line 115; centralizing it will keep both CTAs aligned during future campaign updates.

♻️ Proposed refactor
+const CONSOLE_SIGN_UP_URL =
+  "https://console.prisma.io/sign-up?utm_source=website&utm_medium=index&utm_campaign=cta";

 export default function SiteHome() {
   return (
@@
             <Button
               variant="ppg"
-              href="https://console.prisma.io/sign-up?utm_source=website&utm_medium=index&utm_campaign=cta"
+              href={CONSOLE_SIGN_UP_URL}
               size="3xl"
               target="_blank"
               rel="noopener noreferrer"
@@
                 <Button
                   variant="ppg"
                   size="2xl"
-                  href="https://console.prisma.io/sign-up?utm_source=website&utm_medium=index&utm_campaign=cta"
+                  href={CONSOLE_SIGN_UP_URL}
                 >
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@apps/site/src/app/`(index)/page.tsx around lines 245 - 249, The sign-up UTM
URL used in the Button's href is duplicated elsewhere and should be extracted
into a shared constant to avoid CTA drift; create a constant (e.g.,
PRISMA_SIGNUP_URL) exported from a nearby constants/module file and replace the
literal href in the Button component (and the other CTA that uses the same URL)
with that constant so both CTAs reference the single source of truth.
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Nitpick comments:
In `@apps/site/src/app/`(index)/page.tsx:
- Around line 245-249: The sign-up UTM URL used in the Button's href is
duplicated elsewhere and should be extracted into a shared constant to avoid CTA
drift; create a constant (e.g., PRISMA_SIGNUP_URL) exported from a nearby
constants/module file and replace the literal href in the Button component (and
the other CTA that uses the same URL) with that constant so both CTAs reference
the single source of truth.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: c767a3ce-3d63-4830-97a2-5b637f34e501

📥 Commits

Reviewing files that changed from the base of the PR and between 2f12612 and d4c2a8f.

📒 Files selected for processing (5)
  • apps/site/src/app/(index)/page.tsx
  • apps/site/src/app/ecosystem/page.tsx
  • apps/site/src/app/orm/page.tsx
  • apps/site/src/app/partners/page.tsx
  • packages/ui/src/data/footer.ts
✅ Files skipped from review due to trivial changes (2)
  • apps/site/src/app/orm/page.tsx
  • apps/site/src/app/ecosystem/page.tsx

@carlagn carlagn force-pushed the fix/final-tweaks branch from d1cc1e7 to 3fac910 Compare April 2, 2026 15:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants