Skip to content

add rust news page#1237

Merged
benjamin-747 merged 1 commit into
gitmono-dev:mainfrom
martinwq997:main
Jul 17, 2025
Merged

add rust news page#1237
benjamin-747 merged 1 commit into
gitmono-dev:mainfrom
martinwq997:main

Conversation

@martinwq997

Copy link
Copy Markdown
Contributor

No description provided.

@vercel

vercel Bot commented Jul 16, 2025

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
mega ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 16, 2025 6:33am

Copilot AI 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.

Pull Request Overview

Adds a new Rust news listing page, integrates it into the Rust landing section, and adjusts global layout scrolling behavior.

  • Change global scroll behavior from overflow-hidden to overflow-auto.
  • Introduce /rust/rust-news page with static news data and a search/filter UI.
  • Update Rust index page and sidebar to surface the new News section and remove old Cratespro references.

Reviewed Changes

Copilot reviewed 5 out of 13 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
styles/global.css Switched main wrapper overflow from hidden to auto
pages/[org]/rust/rust-news/index.tsx Added Rust News page with static data and search UI
pages/[org]/rust/index.tsx Updated landing cards to include "Rust News" option
pages/[org]/cratespro/index.tsx Removed deprecated Cratespro index page
components/Sidebar/SidebarCratespro.tsx Renamed link to point at Rust section instead of Cratespro
Comments suppressed due to low confidence (2)

moon/apps/web/components/Sidebar/SidebarCratespro.tsx:1

  • [nitpick] The component is still named SidebarCratespro but now links to Rust; consider renaming the file and component to SidebarRust for consistency.
// import { ChatBubblePlusIcon } from '@gitmono/ui/Icons'

moon/apps/web/pages/[org]/rust/rust-news/index.tsx:1

  • No tests accompany the new RustNewsPage or its filter logic; add unit or integration tests to validate key behaviors like filtering and rendering.
import Head from 'next/head'

Comment thread moon/apps/web/pages/[org]/rust/rust-news/index.tsx
Comment thread moon/apps/web/pages/[org]/rust/rust-news/index.tsx
Comment thread moon/apps/web/pages/[org]/rust/index.tsx
@benjamin-747
benjamin-747 added this pull request to the merge queue Jul 17, 2025
Merged via the queue into gitmono-dev:main with commit 6da565b Jul 17, 2025
4 checks passed
liuyangjuncong20202570 pushed a commit to liuyangjuncong20202570/mega that referenced this pull request Jul 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants