Seven market improvements: filters, trust, matching, job page, sort/list, stats, onboarding #8

Merged
Taskuler-bot merged 7 commits from feat/market-improvements into feat/obsidian-job-editor 2026-11-11 23:41:10 +00:00
Member

Why

George asked to go through each of the seven market-improvement ideas and build them on the preview.

This PR stacks on web #7 (feat/obsidian-job-editor @18205ea). One commit per item. Mock DataSource only; no real keys or chain. Nothing is deployed or merged.

What changed

  1. Search and filters — search, tag, budget range (with token), deadline window, status, and funding source (Treasury vs poster). Active filters live in the URL so a view can be shared or bookmarked.
  2. Trust signals on cards — escrow-funded badge, the poster's completed-job count, and the number of active applicants (open jobs) or workers (in progress).
  3. Matching — a For you ranking against the connected wallet's work-history tags (the mock preview falls back to sample interests: #audit #testing when the wallet has no history). Filter sets can be saved in localStorage and show how many new jobs match since they were last opened.
  4. Richer job page — acceptance criteria parsed from a ## Acceptance criteria section, a posted → escrow funded → submitted → paid timeline, a local Q&A thread (browser localStorage only, seeded on job 1), and related jobs from [[wikilinks]] plus backlinks.
  5. Sorting, list view, keyboard — sort by newest, highest pay, or ending soon; Cards | List toggle (both in the URL); j/k (or arrows) move, Enter opens, / focuses search, with a visible focus ring.
  6. Live stats strip — open jobs, total in escrow, and paid out this week, via DataSource.marketStats(). The mock uses src/market/stats.ts. The live path is documented in docs/indexer-queries.md as GraphQL against api.taskuler.com (not a "Ponder API"). Infra is asked for a first-class marketStats aggregate so the client does not have to page the catalog.
  7. Onboarding — the market and job pages stay usable without a wallet. Connect is requested only to bid, post, or withdraw. Jobs tagged first-job or good-first-task have a dedicated, shareable ?first=1 filter.

Limitations

  • Highest-pay sort compares nominal human units across tokens (no FX). On a tie, USDC ranks ahead of TSKR, then ETH.
  • Deadline filters and "ending soon" use deadline (once a bid is accepted) or closesAt (an application window on open mock jobs).
  • Q&A is local to this browser; it is not signed or broadcast.
  • For you sample interests are mock-preview only, and only when the connected wallet has no work history.
  • Escrow and payout totals in the strip are computed from mock jobs and payout credits. The live DataSource is still a stub.

Test plan

  • npm test — 78/78 passed (52 existing + 26 new: filter/URL serialization, first-job filter, sorting, matching ranking, saved-search new matches, stats computation)
  • npm run build — passed
  • Preview will be rebuilt in mock mode from this branch (same private URL). Do not merge until George reviews. Nothing is published.
## Why George asked to go through each of the seven market-improvement ideas and build them on the preview. This PR stacks on [web #7](https://git.taskuler.com/taskuler/web/pulls/7) (`feat/obsidian-job-editor` @18205ea). One commit per item. Mock DataSource only; no real keys or chain. Nothing is deployed or merged. ## What changed 1. **Search and filters** — search, tag, budget range (with token), deadline window, status, and funding source (Treasury vs poster). Active filters live in the URL so a view can be shared or bookmarked. 2. **Trust signals on cards** — escrow-funded badge, the poster's completed-job count, and the number of active applicants (open jobs) or workers (in progress). 3. **Matching** — a For you ranking against the connected wallet's work-history tags (the mock preview falls back to sample interests: `#audit` `#testing` when the wallet has no history). Filter sets can be saved in `localStorage` and show how many new jobs match since they were last opened. 4. **Richer job page** — acceptance criteria parsed from a `## Acceptance criteria` section, a posted → escrow funded → submitted → paid timeline, a local Q&A thread (browser `localStorage` only, seeded on job 1), and related jobs from `[[wikilinks]]` plus backlinks. 5. **Sorting, list view, keyboard** — sort by newest, highest pay, or ending soon; Cards | List toggle (both in the URL); `j`/`k` (or arrows) move, `Enter` opens, `/` focuses search, with a visible focus ring. 6. **Live stats strip** — open jobs, total in escrow, and paid out this week, via `DataSource.marketStats()`. The mock uses `src/market/stats.ts`. The live path is documented in `docs/indexer-queries.md` as GraphQL against **api.taskuler.com** (not a "Ponder API"). Infra is asked for a first-class `marketStats` aggregate so the client does not have to page the catalog. 7. **Onboarding** — the market and job pages stay usable without a wallet. Connect is requested only to bid, post, or withdraw. Jobs tagged `first-job` or `good-first-task` have a dedicated, shareable `?first=1` filter. ## Limitations - Highest-pay sort compares nominal human units across tokens (no FX). On a tie, USDC ranks ahead of TSKR, then ETH. - Deadline filters and "ending soon" use `deadline` (once a bid is accepted) or `closesAt` (an application window on open mock jobs). - Q&A is local to this browser; it is not signed or broadcast. - For you sample interests are mock-preview only, and only when the connected wallet has no work history. - Escrow and payout totals in the strip are computed from mock jobs and `payout` credits. The live DataSource is still a stub. ## Test plan - [x] `npm test` — 78/78 passed (52 existing + 26 new: filter/URL serialization, first-job filter, sorting, matching ranking, saved-search new matches, stats computation) - [x] `npm run build` — passed - Preview will be rebuilt in mock mode from this branch (same private URL). Do not merge until George reviews. Nothing is published.
Browse jobs with search, tag, budget range, deadline, status, and
funding-source (Treasury vs poster) filters. The active filters live
in the query string so a view can be shared or bookmarked.
Each card now shows whether escrow is funded, how many jobs the
poster has completed, and how many people have bid or are already
working it.
A connected wallet can rank the market against tags from its work
history (the mock preview falls back to sample interests). Filter
sets can be saved in localStorage and show how many new jobs match
since they were last opened.
The job page now shows acceptance criteria parsed from the note, a
posted → escrow funded → submitted → paid timeline, a local Q&A
thread, and related jobs from [[wikilinks]] and backlinks.
Jobs can be sorted by newest, highest pay, or ending soon, and the
market switches between cards and a compact list. Both layouts are
stored in the URL. j/k (or arrows) move between jobs, Enter opens
the focused job, and / focuses search, with a visible focus ring.
The market opens with open-job, in-escrow, and paid-out-this-week
totals computed by DataSource.marketStats(). The mock uses the shared
helper; the live path is documented as GraphQL against api.taskuler.com.
The market, job pages, and filters stay usable without a connected
wallet. Connect is requested only when posting, bidding, or
withdrawing. Jobs tagged first-job or good-first-task have a
dedicated, shareable filter.
george approved these changes 2026-11-11 23:35:56 +00:00
Taskuler-bot merged commit efaa98c987 into feat/obsidian-job-editor 2026-11-11 23:41:10 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
taskuler/web!8
No description provided.