Skip to content
This repository was archived by the owner on Aug 10, 2026. It is now read-only.

[WEB-4259] New Homepage - #2557

Merged
denissellu merged 13 commits into
mainfrom
WEB-4259-new-sexy-homepage
May 6, 2025
Merged

[WEB-4259] New Homepage#2557
denissellu merged 13 commits into
mainfrom
WEB-4259-new-sexy-homepage

Conversation

@denissellu

@denisselludenissellu commented Apr 23, 2025

Copy link
Copy Markdown
Contributor

See WEB-4259 New simple design to match with the updated nav, including pulling the changelog

Screenshot 2025-04-24 at 15 30 56

Summary by CodeRabbit

  • New Features

    • Introduced a changelog feed section on the homepage displaying the latest updates.
    • Added a dedicated examples section with improved layout and visuals.
    • Platform and product information is now featured in a structured, interactive section.
  • Refactor

    • Homepage layout restructured for clarity, with explicit sections for hero, platform/products, examples, and changelog.
    • Homepage content and data types streamlined for easier navigation and maintainability.
    • Sidebar layout options now allow independent control of left and right sidebars.
  • Chores

    • Added support for sourcing changelog entries from an external RSS feed.
    • Updated dependencies to include RSS feed sourcing capability.
  • Removed

    • Deprecated generic homepage card components and types in favor of new structured sections.

@ably-ci
ably-citemporarily deployed to ably-docs-web-4259-new--ih1dz4 April 23, 2025 15:12 Inactive
@coderabbitai

coderabbitaiBot commented Apr 23, 2025

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on this repository.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Walkthrough

This change implements a major redesign of the documentation homepage. It removes the previous generic, card-based section layout and introduces a new, more structured homepage composed of distinct sections: a hero header, a platform and products showcase, an examples section, and a dynamically populated changelog feed. The homepage content structure and associated types are refactored to support this new layout. Several obsolete components are deleted, and new components are added for the redesigned sections. Additionally, the changelog feed is sourced via a new RSS plugin, with supporting code and dependencies introduced for RSS feed integration. Sidebar layout options are also updated for greater granularity.

Changes

File(s)Change Summary
src/components/Homepage/BodySection/BodySection.tsx, BodySectionDescription.tsx, Card/FeatureCard.tsx, Card/HeroCard.tsx, Card/Links.tsx, Card/SdkCard.tsx, Card/types.tsDeleted all previous homepage section/card components and their types, removing the old card-based homepage structure.
src/components/Homepage/HomepageContent.tsxRefactored the homepage content component to use new structured sections and dedicated subcomponents; updated prop signature and removed obsolete types.
src/components/Homepage/HeroSection.tsx, PlatformAndProducts.tsx, ExamplesSection.tsx, Changelog.tsxAdded new components for the hero header, platform/products, examples, and changelog sections.
src/data/content/homepage.ts, src/data/content/types.tsReplaced the sections array with new structured objects for platform/products and examples; updated types accordingly.
src/pages/docs/index.tsxUpdated to pass the new homepageContent structure to the homepage content component.
gatsby-config.ts, package.jsonAdded gatsby-source-rss-feed plugin and dependency for RSS changelog integration.
data/createPages/index.ts, data/onCreatePage.ts, src/components/Layout/Layout.tsxRefined sidebar layout options from a single sidebar flag to separate leftSidebar and rightSidebar booleans; updated type and usage accordingly.

Sequence Diagram(s)

sequenceDiagram
participant User
participant Homepage
participant PlatformAndProducts
participant ExamplesSection
participant ChangelogSection
participant GatsbyStaticQuery
User->>Homepage: Visit docs homepage
Homepage->>HeroSection: Render hero header
Homepage->>PlatformAndProducts: Render platform/products section
Homepage->>ExamplesSection: Render examples section
Homepage->>ChangelogSection: Render changelog feed
ChangelogSection->>GatsbyStaticQuery: Fetch latest changelog entries from RSS
GatsbyStaticQuery-->>ChangelogSection: Return changelog data
ChangelogSection->>Homepage: Render changelog entries
Loading

Assessment against linked issues

Objective (Issue)AddressedExplanation
Implement new simple docs homepage design with updated layout and changelog integration (WEB-4259)
Remove old card-based homepage sections and replace with hero, platform/products, examples, and changelog sections (WEB-4259)
Update homepage content structure and types to match new design (WEB-4259)
Integrate changelog feed via RSS and display latest entries (WEB-4259)

Suggested reviewers

  • kennethkalmer
  • m-hulbert

Poem

A new homepage springs up, so neat and so bright,
With heroes and products all shining in light.
Examples now sparkle, the changelog feeds through,
The old cards have hopped off—hello to the new!
With code and with carrots, this rabbit approves,
For docs now feel fresher, with all the right moves.
🥕✨


🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Generate unit testing code for this file.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai generate unit testing code for this file.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and generate unit testing code.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Support

Need help? Create a ticket on our support page for assistance with any issues or questions.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai generate sequence diagram to generate a sequence diagram of the changes in this PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

@denissellu
denisselluforce-pushed the WEB-4259-new-sexy-homepage branch from 611f647 to f73a71aCompareApril 23, 2025 19:05
@denissellu
denissellutemporarily deployed to ably-docs-web-4259-new--ih1dz4 April 23, 2025 19:05 Inactive
@denissellu
denisselluforce-pushed the WEB-4259-new-sexy-homepage branch from f73a71a to 854a5edCompareApril 23, 2025 19:15
@denissellu
denissellutemporarily deployed to ably-docs-web-4259-new--ih1dz4 April 23, 2025 19:16 Inactive
@denissellu
denisselluforce-pushed the WEB-4259-new-sexy-homepage branch from 854a5ed to 7fd1b8cCompareApril 24, 2025 13:17
@denissellu
denissellutemporarily deployed to ably-docs-web-4259-new--ih1dz4 April 24, 2025 13:17 Inactive
@denissellu
denisselluforce-pushed the WEB-4259-new-sexy-homepage branch from 7fd1b8c to d021685CompareApril 24, 2025 13:18
@denissellu
denissellutemporarily deployed to ably-docs-web-4259-new--ih1dz4 April 24, 2025 13:18 Inactive
@denisselludenissellu self-assigned this Apr 24, 2025
@denissellu
denisselluforce-pushed the WEB-4259-new-sexy-homepage branch from d021685 to e91b95fCompareApril 24, 2025 16:46
@denissellu
denissellutemporarily deployed to ably-docs-web-4259-new--ih1dz4 April 24, 2025 16:47 Inactive
@denissellu
denisselluforce-pushed the WEB-4259-new-sexy-homepage branch from e91b95f to 459453cCompareApril 25, 2025 15:33
@denissellu
denissellutemporarily deployed to ably-docs-web-4259-new--ih1dz4 April 25, 2025 15:33 Inactive
@denissellu
denisselluforce-pushed the WEB-4259-new-sexy-homepage branch from 459453c to d40055fCompareApril 25, 2025 16:31
@denissellu
denissellutemporarily deployed to ably-docs-web-4259-new--ih1dz4 April 25, 2025 16:32 Inactive
@denissellu
denissellu marked this pull request as ready for review April 25, 2025 16:34

@aralovelacearalovelace left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

will check more next week

Comment threadsrc/data/content/homepage.ts

@m-hulbertm-hulbert left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I think we can also delete everything in src/components/Homepage/BodySection with this update.

Comment threadsrc/data/content/homepage.ts Outdated

@jamiehensonjamiehenson left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Pretty good, close to a stamp for me. Though naturally we can't release this until Examples goes out, which is marked for this week no matter what. Related to this, there also needs to be changes to the Header to both allow the Documentation/Examples switched, and the "DOCS" bit alongside the logo.

From testing locally:

  • the headers of the Examples and Changelogs sections (incl their respective View All links) aren't aligned with eachother vertically
  • in mobile, the margin between the product tiles section and the Examples section needs to be reduced to 48px from 64px
  • the gap is too big between the header and the Platform & Products section

Comment threadsrc/images/homepage/example_image.svg Outdated
Comment threadsrc/components/Homepage/PlatformAndProducts.tsx Outdated
Comment threadsrc/components/Homepage/PlatformAndProducts.tsx Outdated
@denissellu
denisselluforce-pushed the WEB-4259-new-sexy-homepage branch from d40055f to 520cc12CompareApril 29, 2025 12:13
@denissellu
denissellutemporarily deployed to ably-docs-web-4259-new--ih1dz4 April 29, 2025 12:13 Inactive
@denissellu
denisselluforce-pushed the WEB-4259-new-sexy-homepage branch from 520cc12 to 57fb31bCompareApril 29, 2025 12:37
@denissellu
denissellutemporarily deployed to ably-docs-web-4259-new--ih1dz4 April 29, 2025 12:37 Inactive
@denissellu
denisselluforce-pushed the WEB-4259-new-sexy-homepage branch from 57fb31b to acb83fdCompareApril 29, 2025 17:33
@denissellu
denissellutemporarily deployed to ably-docs-web-4259-new--ih1dz4 April 29, 2025 17:33 Inactive
@matt423
matt423temporarily deployed to ably-docs-web-4259-new--ih1dz4 May 2, 2025 14:27 Inactive
Comment threadsrc/data/content/homepage.ts Outdated
@denissellu
denisselluforce-pushed the WEB-4259-new-sexy-homepage branch from 979c2d0 to 01e4574CompareMay 2, 2025 15:39
@denissellu
denissellutemporarily deployed to ably-docs-web-4259-new--ih1dz4 May 2, 2025 15:39 Inactive
@m-hulbert

Copy link
Copy Markdown
Contributor
Screenshot 2025-05-02 at 17 46 29

We've lost the Examples background entirely now 😅

@denissellu
denisselluforce-pushed the WEB-4259-new-sexy-homepage branch from 01e4574 to 14c0dc1CompareMay 2, 2025 16:01
@denissellu
denissellutemporarily deployed to ably-docs-web-4259-new--ih1dz4 May 2, 2025 16:02 Inactive
@denissellu
denisselluforce-pushed the WEB-4259-new-sexy-homepage branch from 14c0dc1 to 04a4f44CompareMay 2, 2025 16:17
@denissellu
denissellutemporarily deployed to ably-docs-web-4259-new--ih1dz4 May 2, 2025 16:18 Inactive
@denissellu
denisselluforce-pushed the WEB-4259-new-sexy-homepage branch from 04a4f44 to 2ee04ebCompareMay 6, 2025 10:38
@denissellu
denissellutemporarily deployed to ably-docs-web-4259-new--ih1dz4 May 6, 2025 10:38 Inactive
@denissellu
denisselluforce-pushed the WEB-4259-new-sexy-homepage branch from 2ee04eb to ce96f96CompareMay 6, 2025 11:44
@denissellu
denissellu temporarily deployed to ably-docs-web-4259-new--ih1dz4 May 6, 2025 11:44 Inactive

@m-hulbertm-hulbert left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🚀

@denissellu
denissellu merged commit 8eb09f3 into mainMay 6, 2025
@denissellu
denissellu deleted the WEB-4259-new-sexy-homepage branch May 6, 2025 11:57
Sign up for freeto subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Development

Successfully merging this pull request may close these issues.

6 participants

@denissellu@jamiehenson@m-hulbert@aralovelace@matt423@ably-ci