Skip to content

Update Client Dashboard with Listings Section and Add Supabase Migration#46

Merged
johneliud merged 2 commits into
mainfrom
feat/41-client-dashboard-listings
Jun 4, 2026
Merged

Update Client Dashboard with Listings Section and Add Supabase Migration#46
johneliud merged 2 commits into
mainfrom
feat/41-client-dashboard-listings

Conversation

@johneliud

Copy link
Copy Markdown
Owner

Description

Updates the Client Dashboard at /client to show a "My Listings" section above the existing on-chain projects grid. Also adds the Supabase migration file so tables are created automatically via the GitHub integration.

Type of Change

  • New feature

Changes Made

  • app/client/page.tsx — updated Client Dashboard:
    • My Listings section fetches listings via getClientListings() and application counts via getApplicationCount() in parallel
    • Each listing card shows title, description excerpt, status badge (Open / Filled), XLM total, milestone count, applicant count, and "Review Applications" link; filled listings also link to the on-chain project
    • Active Projects section preserved below listings with the same project card UI
    • Page header now has two buttons: "Post a Listing" (outline) and "New Project" (primary) — both flows are accessible from the dashboard
    • Independent loading/error/empty states for listings and projects sections
  • supabase/migrations/20260604000000_create_listings_and_applications.sql — migration file for Supabase GitHub integration; creates listings and applications tables automatically on push

Related Issue

Closes #41

Testing

  • Tested locally
  • All existing pages still load correctly
  • npm run build passes with 0 TypeScript errors

Checklist

  • Code follows the existing style
  • No hardcoded secrets or credentials
  • .env.example updated if new env vars were added
  • README updated if setup steps changed

@vercel

vercel Bot commented Jun 4, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
mile-stack Ready Ready Preview, Comment Jun 4, 2026 10:59am

@johneliud johneliud self-assigned this Jun 4, 2026
@johneliud johneliud changed the title feat: update Client Dashboard with listings section and add Supabase migration (#41) Update Client Dashboard with Listings Section and Add Supabase Migration Jun 4, 2026
@johneliud johneliud merged commit 84af13b into main Jun 4, 2026
5 checks passed
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.

Update Client Dashboard to show listings section (/client)

1 participant