Skip to content

Conversation

@aelmanaa
Copy link
Collaborator

@aelmanaa aelmanaa commented Nov 5, 2025

This pull request introduces a blockchain type selector for CCIP documentation, allowing users to filter content by chain (EVM, Solana, Aptos) and navigate to equivalent pages for the selected chain. It also refactors the use of the Callout component to a shared import path throughout the CCIP tutorial components and implements sidebar filtering based on the selected chain type for improved user experience.

New Chain Type Selector & Sidebar Integration

  • Added the ChainTypeSelector React component with a scalable, accessible dropdown UI for selecting blockchain type, including smart navigation to equivalent pages and Google Analytics tracking. (src/components/ChainSelector/ChainTypeSelector.tsx, src/components/ChainSelector/ChainTypeSelector.module.css, [1] [2]
  • Integrated the chain type selector into the CCIP sidebar, showing the selector only for chain-aware sections and filtering sidebar items dynamically based on the selected chain type. (src/components/LeftSidebar/LeftSidebar.astro, [1] [2] [3] [4] [5]
  • Added chain type metadata and configuration utilities to support UI rendering, theming, and filtering. (src/config/chainTypes.ts, src/config/chainTypes.tsR1-R80)
  • Updated sidebar rendering to include chain type data attributes for correct filtering. (src/components/LeftSidebar/RecursiveSidebar.astro, src/components/LeftSidebar/RecursiveSidebar.astroR118-R121)

Refactoring & Consistency

  • Refactored all CCIP tutorial step components to import the shared Callout component from the new common path for consistency and maintainability. [1] [2] [3] [4] [5] [6] [7] [8]
  • Added a new AptosCCTCallout component to inform users about upcoming Aptos documentation and provide a contact link for token developers. (src/components/CCIP/AptosCCTCallout.tsx, src/components/CCIP/AptosCCTCallout.tsxR1-R21)

Exports & Imports

@aelmanaa aelmanaa requested a review from a team as a code owner November 5, 2025 12:21
@vercel
Copy link

vercel bot commented Nov 5, 2025

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

Project Deployment Preview Updated (UTC)
documentation Ready Ready Preview Nov 5, 2025 6:07pm

@github-actions
Copy link
Contributor

github-actions bot commented Nov 5, 2025

👋 aelmanaa, thanks for creating this pull request!

To help reviewers, please consider creating future PRs as drafts first. This allows you to self-review and make any final changes before notifying the team.

Once you're ready, you can mark it as "Ready for review" to request feedback. Thanks!

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