Skip to content

Homepage hub: Activity / Fund / Proposals shared shell - #983

Open
nicktytarenko wants to merge 3 commits into
stack/02-fund-sidebar-widgetsfrom
stack/03-homepage-hub
Open

Homepage hub: Activity / Fund / Proposals shared shell#983
nicktytarenko wants to merge 3 commits into
stack/02-fund-sidebar-widgetsfrom
stack/03-homepage-hub

Conversation

@nicktytarenko

@nicktytarenko nicktytarenko commented Aug 1, 2026

Copy link
Copy Markdown
Member

Summary

  • Replace root landing with Activity under a shared (home) layout
  • Keep Fund + Proposals as tabs that preserve layout/sidebar while swapping feed content
  • Clean up obsolete fund banner/marketplace shell pieces and redirect fallbacks to /

Stack

  1. Activity feed redesign
  2. Fund sidebar widgets
  3. This PR
  4. Navigation

Move Activity, Fund, and Proposals under a persistent (home) layout with HomeTabs and FundSidebar so tab switches only swap the feed slot.

Co-authored-by: Cursor <cursoragent@cursor.com>
@nicktytarenko
nicktytarenko requested a review from a team as a code owner August 1, 2026 13:38
@vercel

vercel Bot commented Aug 1, 2026

Copy link
Copy Markdown
Contributor

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

Project Deployment Actions Updated (UTC)
web Ready Ready Preview Aug 2, 2026 2:38pm

@chatgpt-codex-connector chatgpt-codex-connector 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.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 8b910ee775

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

Comment thread hooks/useFundTabs.tsx
export type FundTab = 'activity' | 'fund' | 'proposals';

/** Routes that make up the homepage hub — all of them highlight "Home" in the nav. */
export const HOME_TAB_PATHS = ['/', '/fund', '/fund/proposals'];

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Update Home nav for the new Activity hub

Now that / is defined as the Activity tab in the homepage hub, the app-level Home navigation still sends users to the legacy feed routes (/for-you for logged-in users and /popular for logged-out users in app/layouts/Navigation.tsx, with the same pattern in the mobile bottom nav). Because those routes still exist and there is no redirect for them in next.config.js, users who click Home from the primary nav never reach this new hub; on desktop, / also is not marked active by the Home nav item. Update those nav href/active checks alongside this route list so the new Activity hub is actually reachable from Home.

Useful? React with 👍 / 👎.

@sonarqubecloud

sonarqubecloud Bot commented Aug 2, 2026

Copy link
Copy Markdown

Quality Gate Failed Quality Gate failed

Failed conditions
3.7% Duplication on New Code (required ≤ 3%)

See analysis details on SonarQube Cloud

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