Skip to content

[fix] Job detail, search validation, and settings overview (#2790, #2822, #2833)#6500

Open
xiaofengzii wants to merge 1 commit into
SecureBananaLabs:mainfrom
xiaofengzii:agent/multi-fix-2790-2822
Open

[fix] Job detail, search validation, and settings overview (#2790, #2822, #2833)#6500
xiaofengzii wants to merge 1 commit into
SecureBananaLabs:mainfrom
xiaofengzii:agent/multi-fix-2790-2822

Conversation

@xiaofengzii

Copy link
Copy Markdown

Summary

Multiple fixes for parent bounty #743.

Changes

#2790 - Job Detail Page

  • Job detail page now resolves mock jobs by id from lib/mock.ts
  • Shows job title and budget for known job ids
  • Shows not-found fallback for unknown job ids

#2822 - Settings Page

  • Settings page now shows static account overview with sections:
    • Account / Profile with status
    • Notifications preferences with status
    • Security with 2FA status
    • Billing / Payout preferences

#2833 - Search Input Validation

  • Search endpoint now validates query with Zod schema
  • Query must be string, trimmed, 1-200 characters
  • Rejects invalid query with 400 error

Verification

All fixes follow the existing code patterns and use mock data only.
Fixes #2790, #2822, #2833

…ananaLabs#2790, SecureBananaLabs#2822, SecureBananaLabs#2833)

- Job detail page now resolves mock jobs by id from lib/mock.ts
- Show not-found fallback for unknown job ids
- Search endpoint now validates query with Zod (trim, 1-200 chars)
- Reject invalid query parameters with 400 error
- Settings page now shows static account overview with status sections
- Fixes SecureBananaLabs#2790, SecureBananaLabs#2822, SecureBananaLabs#2833

Co-authored-by: Cursor <cursoragent@cursor.com>
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.

Job detail route should resolve mock jobs by id (reissue via #743)

1 participant