Skip to content

redesign events(workshop) page#64

Open
Piyushbijarania wants to merge 3 commits into
StabilityNexus:mainfrom
Piyushbijarania:remove-stable-order-applications-section
Open

redesign events(workshop) page#64
Piyushbijarania wants to merge 3 commits into
StabilityNexus:mainfrom
Piyushbijarania:remove-stable-order-applications-section

Conversation

@Piyushbijarania

@Piyushbijarania Piyushbijarania commented Jul 17, 2026

Copy link
Copy Markdown
Contributor

Addressed Issues:

redesign events(workshop) page

Screenshots/Recordings:

image

AI Usage Disclosure:

We encourage contributors to use AI tools responsibly when creating Pull Requests. While AI can be a valuable aid, it is essential to ensure that your contributions meet the task requirements, build successfully, include relevant tests, and pass all linters. Submissions that do not meet these standards may be closed without warning to maintain the quality and integrity of the project. Please take the time to understand the changes you are proposing and their impact. AI slop is strongly discouraged and may lead to banning and blocking. Do not spam our repos with AI slop.

Check one of the checkboxes below:

  • This PR does not contain AI-generated code at all.
  • This PR contains AI-generated code. I have read the AI Usage Policy and this PR complies with this policy. I have tested the code locally and I am responsible for it.

I have used the following AI models and tools: TODO

Checklist

  • My PR addresses a single issue, fixes a single bug or makes a single improvement.
  • My code follows the project's code style and conventions
  • If applicable, I have made corresponding changes or additions to the documentation
  • If applicable, I have made corresponding changes or additions to tests
  • My changes generate no new warnings or errors
  • I have joined the Discord server and I will share a link to this PR with the project maintainers there
  • I have read the Contribution Guidelines
  • Once I submit my PR, CodeRabbit AI will automatically review it and I will address CodeRabbit's comments.
  • I have filled this PR template completely and carefully, and I understand that my PR may be closed without review otherwise.

Summary by CodeRabbit

  • New Features
    • Added an Events page (“Academic Events on Stability”) with tabbed sections for Upcoming and Past events.
    • Implemented horizontally scrollable, snap-aligned carousels with optional left/right controls and smooth tab scrolling to anchored sections.
    • Added event edition cards with dates, titles, locations, descriptions, session/paper counts, and external links.
  • Navigation
    • Updated the header to include an internal “Events” link.
  • Style
    • Hid carousel scrollbars and added subtle left/right edge fade effects for improved focus.

@coderabbitai

coderabbitai Bot commented Jul 17, 2026

Copy link
Copy Markdown

Review Change Stack

Warning

Review limit reached

@Piyushbijarania, you've reached your PR review limit, so we couldn't start this review.

Next review available in: 45 minutes

Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
You're only billed for reviews past your plan's rate limits ($0.25/file).

How can I continue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews.

How do review limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability.

For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window.

Please refer docs for additional details.

Review details
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Pro

Run ID: 9003ea18-0fdf-48ed-9506-e0962f2fd41a

📥 Commits

Reviewing files that changed from the base of the PR and between a953aaa and e3a17f7.

📒 Files selected for processing (1)
  • app/events/page.tsx

Walkthrough

Adds an /events page with upcoming and past event carousels, smooth section navigation, carousel controls, scrollbar styling, and a header link labeled “Events”.

Changes

Academic Events Experience

Layer / File(s) Summary
Page structure and navigation
app/events/page.tsx, components/header.tsx
Defines the client-side events page, hardcoded event data, hero content, section tabs, smooth scrolling helpers, and the /events navigation link.
Event carousel rendering and styling
app/events/page.tsx, app/globals.css
Renders upcoming event cards and past edition cards with conditional arrow controls, horizontal scrolling, hidden scrollbars, and edge-fade masks.

Estimated code review effort: 3 (Moderate) | ~25 minutes

Sequence Diagram(s)

sequenceDiagram
  participant Visitor
  participant Header
  participant EventsPage
  participant CarouselDOM
  Visitor->>Header: Select Events navigation link
  Header->>EventsPage: Navigate to /events
  EventsPage->>Visitor: Render event sections and tabs
  Visitor->>EventsPage: Click tab or carousel arrow
  EventsPage->>CarouselDOM: Smooth-scroll section or carousel
  CarouselDOM->>Visitor: Display the selected content
Loading

Possibly related PRs

Suggested labels: Typescript Lang

Suggested reviewers: zahnentferner

Poem

I’m a bunny hopping through events bright,
With cards that glide from left to right.
Upcoming blooms and past tales stay,
Tabs let whiskers find the way.
“Events” now joins the menu’s song—
Carrots and carousels roll along! 🐇

🚥 Pre-merge checks | ✅ 4
✅ Passed checks (4 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title matches the main change: a redesign of the events/workshop page.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

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.

❤️ Share

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

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Actionable comments posted: 3

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@app/events/page.tsx`:
- Around line 43-57: Update scrollToSection to use the target element’s native
scrollIntoView with smooth behavior, removing the manual body and element
position calculations and offset. Preserve the existing null check and rely on
the section elements’ scroll-mt-20 styling for the 80px offset.
- Around line 59-79: Update scrollCarousel and scrollUpcomingCarousel to select
the first actual event card with the .snap-center selector instead of
firstElementChild, while preserving the existing scroll distance and direction
behavior. Do not consolidate the functions unless necessary.

In `@app/globals.css`:
- Around line 47-62: Reorder the declarations in .mask-fade-edges so
-webkit-mask-image appears before the standard mask-image property, preserving
the existing gradient value unchanged.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Pro

Run ID: 0740ce7a-2799-43ec-a7f5-bb88f1bbf80b

📥 Commits

Reviewing files that changed from the base of the PR and between 13aa3c4 and e718726.

📒 Files selected for processing (3)
  • app/events/page.tsx
  • app/globals.css
  • components/header.tsx

Comment thread app/events/page.tsx
Comment thread app/events/page.tsx
Comment thread app/globals.css
…tandard CSS prefixes, and scrolling behavior

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Caution

Some comments are outside the diff and can’t be posted inline due to platform limitations.

⚠️ Outside diff range comments (1)
app/events/page.tsx (1)

14-41: 📐 Maintainability & Code Quality | 🔵 Trivial | 💤 Low value

Remove unused data properties.

The properties eyebrow and gradient in pastEditions, as well as focusAreas in upcomingEvents, are defined but never used in the component's rendering logic. You can safely remove them to keep the data structures clean.

♻️ Proposed refactor
   const pastEditions = [
     {
       id: "stability-2025",
-      eyebrow: "PROCEEDINGS",
       title: "1st Stability Workshop",
       subtitle: "(STABILITY 2025)",
       date: "December 15, 2025",
       location: "LNMIIT Jaipur, India",
       sessions: 4,
       papers: 10,
       link: "https://workshop.stability.nexus/",
       description: "STABILITY 2025 brought together researchers to present works on the foundations of blockchains and decentralized finance protocols. After thorough peer review, 10 papers were selected for presentation at the workshop. Extended revised versions of these papers will appear in a special issue of the Journal of Financial Technology.",
-      gradient: "from-primary/30 via-info/20 to-transparent blur-[50px]",
     }
   ]
 
   const upcomingEvents = [
     {
       id: "weekly-meeting",
       title: "Weekly Research Meeting",
       date: "Every Wednesday",
       location: "Discord",
       link: "https://discord.com/events/995968619034984528/1464179973047717888",
       description: "Join our weekly research meeting where we discuss stability, trust, autonomy, and resilience in decentralized systems. Bring your ideas, questions, and research to collaborate with our community.",
-      focusAreas: ["Decentralized Finance", "Protocol Resilience", "Autonomy & Stability", "Tokenomics Design"]
     }
   ]
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@app/events/page.tsx` around lines 14 - 41, Remove the unused eyebrow and
gradient properties from the pastEditions data, and remove focusAreas from the
upcomingEvents data. Leave all properties consumed by the page rendering
unchanged.
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Outside diff comments:
In `@app/events/page.tsx`:
- Around line 14-41: Remove the unused eyebrow and gradient properties from the
pastEditions data, and remove focusAreas from the upcomingEvents data. Leave all
properties consumed by the page rendering unchanged.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Pro

Run ID: 2ec0e59b-fd89-47a4-a26d-b177b12b01ea

📥 Commits

Reviewing files that changed from the base of the PR and between e718726 and a953aaa.

📒 Files selected for processing (2)
  • app/events/page.tsx
  • app/globals.css

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.

1 participant