Obsidian-style job editor, wikilinks, and note handoff #7

Merged
Taskuler-bot merged 14 commits from feat/obsidian-job-editor into feat/landing-aesthetic 2026-11-11 23:42:02 +00:00
Member

Why

George asked to make the job post work like Obsidian, and to add an Obsidian plug-in for Taskuler.

This PR stacks on web #6 (the landing-page aesthetic). Base is feat/landing-aesthetic, not feat/phase1-scaffold or main.

The companion plug-in lives in the private repo taskuler/obsidian-taskuler (PR opened there into main).

What changed

  • Post job is an Obsidian-style Markdown editor (CodeMirror 6) with a live preview, in the landing aesthetic.
  • YAML frontmatter properties (title, bounty and token, builder deposit, work period, review option, tags) stay in two-way sync with a properties panel.
  • [[wikilinks]] to other jobs and tasks, with autocomplete from the DataSource (mock jobs). Rendered links go to the job page. Job pages show Linked from backlinks, and #tags.
  • Drafts autosave to localStorage. Import from / export to a .md file in the shared format.
  • /post?draft=<base64url md> prefills the editor from the plug-in (or any other handoff). The payload is validated and never auto-submitted.
  • Approve & post is unchanged, including the escrow summary, screening, and Coinbase fund flow when those flags are on.
  • Shared format is documented in docs/job-note-format.md. The parser/serializer is kept identical in the Obsidian plug-in.

Test plan

  • npm test — 37/37 passed (13 new: parser/serializer round-trip, wikilink resolution, handoff decoding)
  • 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 make the job post work like Obsidian, and to add an Obsidian plug-in for Taskuler. This PR stacks on [web #6](https://git.taskuler.com/taskuler/web/pulls/6) (the landing-page aesthetic). Base is `feat/landing-aesthetic`, not `feat/phase1-scaffold` or `main`. The companion plug-in lives in the private repo [taskuler/obsidian-taskuler](https://git.taskuler.com/taskuler/obsidian-taskuler) (PR opened there into `main`). ## What changed - **Post job** is an Obsidian-style Markdown editor (CodeMirror 6) with a live preview, in the landing aesthetic. - YAML frontmatter properties (title, bounty and token, builder deposit, work period, review option, tags) stay in two-way sync with a properties panel. - `[[wikilinks]]` to other jobs and tasks, with autocomplete from the DataSource (mock jobs). Rendered links go to the job page. Job pages show **Linked from** backlinks, and `#tags`. - Drafts autosave to `localStorage`. Import from / export to a `.md` file in the shared format. - `/post?draft=<base64url md>` prefills the editor from the plug-in (or any other handoff). The payload is validated and **never auto-submitted**. - **Approve & post** is unchanged, including the escrow summary, screening, and Coinbase fund flow when those flags are on. - Shared format is documented in `docs/job-note-format.md`. The parser/serializer is kept identical in the Obsidian plug-in. ## Test plan - [x] `npm test` — 37/37 passed (13 new: parser/serializer round-trip, wikilink resolution, handoff decoding) - [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.
Post job is now a Markdown note with YAML properties, a live preview, [[wikilinks]], #tags, draft autosave, and .md import/export. A /post?draft= handoff prefills the editor from the Obsidian plug-in and never auto-submits. Approve & post is unchanged. Job pages render the note and show backlinks.
The shared input style was overriding the hidden file picker on Post job, and job pages were repeating #tags already rendered in the description.
The three panes are a tablist with arrow-key navigation, defaulting to Source. Edits stay in sync and the draft still autosaves. Escrow and Approve & post stay below the tabs. Validation errors put a marker on the Properties tab.
Properties stays an always-visible panel above a single editor. Source and
editable Live preview switch with an aria-pressed control or Ctrl/Cmd+E
(default Source). Live preview hides Markdown syntax except on the cursor
line and keeps YAML frontmatter out of the body via two-way stitch-back.
Global form input rules were stretching checkbox widgets to block
width, which pushed the box onto its own line.
The single aria-pressed button was easy to misread. Post job now uses a
Source | Preview radiogroup at the editor's top-right, with code and eye
icons, an accent fill on the active segment, and arrow-key movement.
Ctrl/Cmd+E still switches, and the tooltip names the shortcut.
george approved these changes 2026-11-11 23:35:26 +00:00
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.
Taskuler-bot merged commit a452a082af into feat/landing-aesthetic 2026-11-11 23:42:02 +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!7
No description provided.