feat: changelog page to landing page#342
feat: changelog page to landing page#342izadoesdev merged 6 commits intodatabuddy-analytics:stagingfrom
Conversation
- Add changelog page with split-view layout (sticky left sidebar, scrollable right content) - Integrate Notra REST API for fetching changelog posts - Add 'Powered by Notra' badge with SVG logo linking to usenotra.com - Add changelog links to main and docs navbars - Fix JSX attribute casing in icon components (clipRule, fillRule) - Bump Next.js to ^16.1.6 - External links in changelog content open in new tabs
- Add changelog page with split-view layout (sticky left sidebar, scrollable right content) - Integrate Notra REST API for fetching changelog posts - Add 'Powered by Notra' badge with SVG logo linking to usenotra.com - Add changelog links to main and docs navbars - Fix JSX attribute casing in icon components (clipRule, fillRule) - Bump Next.js to ^16.1.6 - External links in changelog content open in new tabs
…ixes Made-with: Cursor
Made-with: Cursor
|
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Repository UI Review profile: ASSERTIVE Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
📝 Coding Plan
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Greptile SummaryThis PR adds a changelog page to the Databuddy docs site, integrating with the Notra API to fetch and display changelog posts in a split-view layout (sticky left sidebar, scrollable right content). It also adds changelog links to both navbars, registers the route in the sitemap, fixes JSX attribute casing in icon components, and bumps Next.js to Key changes:
Confidence Score: 3/5
Important Files Changed
Sequence DiagramsequenceDiagram
participant Browser
participant NextJS as Next.js SSR
participant Cache as React cache()
participant Notra as Notra API
Browser->>NextJS: GET /changelog
NextJS->>Cache: getChangelogs()
Cache->>Notra: GET /v1/{orgId}/posts?status=published&sort=desc
Note over Cache,Notra: Bearer {NOTRA_API_KEY} header
alt API success
Notra-->>Cache: { posts: [...], pagination: {...} }
Cache-->>NextJS: NotraPostListResponse
NextJS->>NextJS: externalizeLinks(post.content)
NextJS->>NextJS: splitChangelogContent(html)
NextJS-->>Browser: Rendered changelog HTML (revalidate: 3600s)
else API failure / missing env vars
Notra-->>Cache: FetchError { error: true, status, statusText }
Cache-->>NextJS: FetchError
NextJS-->>Browser: Empty state ("No releases yet")
end
Last reviewed commit: 89111b3 |
|
@mezotv is attempting to deploy a commit to the Databuddy OSS Team on Vercel. A member of the Team first needs to authorize it. |
Description
Checklist