Skip to content

Conversation

@ComputelessComputer
Copy link
Collaborator

No description provided.

@netlify
Copy link

netlify bot commented Dec 2, 2025

Deploy Preview for hyprnote ready!

Name Link
🔨 Latest commit 55843e3
🔍 Latest deploy log https://app.netlify.com/projects/hyprnote/deploys/692e4e3bd4fd1a00087e6cf1
😎 Deploy Preview https://deploy-preview-2057--hyprnote.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@netlify
Copy link

netlify bot commented Dec 2, 2025

Deploy Preview for hyprnote-storybook ready!

Name Link
🔨 Latest commit 55843e3
🔍 Latest deploy log https://app.netlify.com/projects/hyprnote-storybook/deploys/692e4e3bb962dc00082998ad
😎 Deploy Preview https://deploy-preview-2057--hyprnote-storybook.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Dec 2, 2025

📝 Walkthrough

Walkthrough

The PR modifies the blog post template to reposition the CTA section by inserting a SlashSeparator before it, removes negative horizontal margins from the CTA container, and updates the CTA heading and description text to promote Hyprnote's features.

Changes

Cohort / File(s) Summary
Blog Post CTA Section
apps/web/src/routes/_view/blog/$slug.tsx
Added SlashSeparator component before CTASection; removed -mx-4 margin from CTA container; updated heading text from "Where conversations stay yours" to "Try Hyprnote for yourself"; updated description to emphasize AI notepad, local-first, privacy-focused, and open-source attributes

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~5 minutes

  • Straightforward UI reordering and styling adjustments
  • No logic changes or complex interactions
  • Text and margin updates are cosmetic in nature

Possibly related PRs

  • polished docs and blog page #1677 – Modifies the same file with overlapping layout and CTA styling changes
  • landing #1617 – Updates the SlashSeparator component (border-b → border-y) which is now positioned before the CTASection in this PR
  • blog beautify #1613 – Earlier layout and component placement changes to the same blog post view file

Suggested reviewers

  • yujonglee

Pre-merge checks and finishing touches

❌ 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%. You can run @coderabbitai generate docstrings to improve docstring coverage.
Description check ❓ Inconclusive No pull request description was provided, making it impossible to evaluate relevance to the changeset. Add a description explaining the motivation for these CTA section changes and their impact on user engagement or experience.
✅ Passed checks (1 passed)
Check name Status Explanation
Title check ✅ Passed The title accurately describes the main changes: enhancing the CTA section layout (adding SlashSeparator, removing negative margins) and updating its messaging (new heading and description).
✨ Finishing touches
  • 📝 Generate docstrings
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch feat/enhance-cta-section-layout

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

Copy link
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.

Actionable comments posted: 0

🧹 Nitpick comments (1)
apps/web/src/routes/_view/blog/$slug.tsx (1)

206-206: Consider adding laptop:px-0 for consistency with the homepage CTA.

The blog CTASection has px-4 on all screen sizes, while the homepage version (in apps/web/src/routes/_view/index.tsx line 2039) includes laptop:px-0 to remove horizontal padding on larger screens. This creates a visual difference that may or may not be intentional.

If consistency is desired, apply this diff:

-    <section className="py-16 px-4 bg-linear-to-t from-stone-50/30 to-stone-100/30">
+    <section className="py-16 bg-linear-to-t from-stone-50/30 to-stone-100/30 px-4 laptop:px-0">
📜 Review details

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 71bf5f8 and 55843e3.

📒 Files selected for processing (1)
  • apps/web/src/routes/_view/blog/$slug.tsx (3 hunks)
🧰 Additional context used
📓 Path-based instructions (1)
**/*.{ts,tsx}

📄 CodeRabbit inference engine (AGENTS.md)

**/*.{ts,tsx}: Avoid creating a bunch of types/interfaces if they are not shared. Especially for function props, just inline them instead.
Never do manual state management for form/mutation. Use useForm (from tanstack-form) and useQuery/useMutation (from tanstack-query) instead for 99% of cases. Avoid patterns like setError.
If there are many classNames with conditional logic, use cn (import from @hypr/utils). It is similar to clsx. Always pass an array and split by logical grouping.
Use motion/react instead of framer-motion.

Files:

  • apps/web/src/routes/_view/blog/$slug.tsx
🧬 Code graph analysis (1)
apps/web/src/routes/_view/blog/$slug.tsx (2)
apps/web/src/components/slash-separator.tsx (1)
  • SlashSeparator (1-8)
apps/web/src/routes/_view/index.tsx (1)
  • CTASection (2006-2099)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (8)
  • GitHub Check: Redirect rules - hyprnote-storybook
  • GitHub Check: Redirect rules - hyprnote
  • GitHub Check: Header rules - hyprnote-storybook
  • GitHub Check: Header rules - hyprnote
  • GitHub Check: Pages changed - hyprnote-storybook
  • GitHub Check: Pages changed - hyprnote
  • GitHub Check: ci
  • GitHub Check: fmt
🔇 Additional comments (2)
apps/web/src/routes/_view/blog/$slug.tsx (2)

95-96: LGTM! Good visual separation before CTA.

Adding the SlashSeparator creates clear visual separation before the CTA section, consistent with its use earlier in the layout.


218-223: LGTM! Clearer and more compelling CTA messaging.

The updated heading and description are more direct and effectively highlight Hyprnote's key differentiators (local-first, privacy-focused, open source). This improves the call-to-action for blog readers.

@ComputelessComputer ComputelessComputer merged commit 3ef4c3c into main Dec 2, 2025
14 checks passed
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