Skip to content

Add Post a Listing Page at /client/listings/new#44

Merged
johneliud merged 2 commits into
mainfrom
feat/39-post-listing
Jun 4, 2026
Merged

Add Post a Listing Page at /client/listings/new#44
johneliud merged 2 commits into
mainfrom
feat/39-post-listing

Conversation

@johneliud

Copy link
Copy Markdown
Owner

Description

Adds the page where clients can post project listings to the marketplace. Freelancers can then browse and apply via /projects. This complements the existing direct project creation flow at /client/projects/new (which is preserved for clients who already know their freelancer's address).

Type of Change

  • New feature

Changes Made

  • app/client/listings/new/page.tsx — Post a Listing form with:
    • Wallet connection gate
    • Title and description fields
    • Skills tag input — type and press Enter or comma to add, Backspace to remove the last tag
    • Dynamic milestone builder (same add/remove pattern as /client/projects/new) with title + XLM amount per milestone
    • Live total project value display
    • Validation: wallet connected, title, description, all milestone titles non-empty, all amounts > 0
    • On success → createListing() → redirect to /client
    • Cancel → back to /client

Related Issue

Closes #39

Testing

  • Tested locally
  • All existing pages still load correctly
  • npm run build passes with 0 TypeScript errors — /client/listings/new registered as a static route

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:34am

@johneliud johneliud changed the title feat: add Post a Listing page at /client/listings/new (#39) Add Post a Listing Page at /client/listings/new Jun 4, 2026
@johneliud johneliud self-assigned this Jun 4, 2026
@johneliud johneliud merged commit cecf37c 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.

Build Post a Listing page for clients (/client/listings/new)

1 participant