Skip to content

Turn comments into issues with a developer view Issues tab - #228

Merged
Mistium merged 3 commits into
developfrom
comment-issues
Nov 21, 2026
Merged

Mistium merged 3 commits into
developfrom
comment-issues

Conversation

@Mistium

@Mistium Mistium commented Nov 21, 2026

Copy link
Copy Markdown
Member

Comments on a project can now be tracked as issues and marked done, and the developer view gets an Issues tab with a full thread page for each one. The API side is MistWarp/api#84, already merged and deployed (1.5.0).

Stacked on #227. Its base is developer-mode, so merge #227 first. I'll restack this onto develop once #227 lands.

  • Comments. A top-level comment's author, or anyone who can edit the project, can pick Track as issue from the comment menu.
    • Tracked comments show an Issue #n badge (green), or Done #n once finished. The badge links to the issue page in the developer view.
    • The same menu has Mark as done, Reopen issue and Stop tracking as issue.
  • Issues tab (/code/issues). Filter by open or finished issues and search. Each row shows the first comment as the title, who opened it and when, the latest reply, and the reply count.
    • Signed-in people can use New issue, which posts a comment and tracks it in one go. If tracking fails after the comment is posted, retrying only tracks it, so you never get a duplicate comment.
  • Issue page (/code/issues/<n>). Shows the full thread with a reply box, plus Mark as done or Reopen issue for the author and the project team. Replies, edits and untracking from elsewhere update it live.
  • Turning issues off. Owners get a Turn off issues switch in Manage project.
    • While it's on, nobody can start, finish or reopen issues; the API refuses those too. Existing issues stay readable and can still be untracked.
    • The Issues tab hides when there are none.
  • The Details card in the developer view lists open issues, and the social-preview middleware knows the new routes.

Preview: https://comment-issues.scratch-gui.pages.dev/project/p1790295130360345000J3JZRS/code/issues (Cloudflare Pages branch preview against the live API)

Version: 3.10.0 (#227) → 3.11.0 (minor, new feature). Develop is on 3.9.0, and #227 takes it to 3.10.0.

Checks: pnpm run check passes, including new tests for:

  • the helpers;
  • the comment menu permissions, including with issues off;
  • the list and the thread page, including realtime and the retry path;
  • routes and middleware.

An independent review of this branch and the API ran. Its must-fix and should-fix findings are fixed: matching the API when issues are off, the duplicate-comment retry, untracked threads, whole-sentence strings, and tab flicker. Two things are knowingly left as they are:

  • the Issues tab count refreshes when you open the list or change an issue yourself, not live for other people's changes;
  • issue links drop a private-link ?k= key, like the developer view's other tabs.

Screenshots

These come from a local copy of the API seeded with sample issues.

The Issues tab (Chromium dark, Firefox light):
Issues list
Issues list in Firefox

An issue thread, as its author:
Issue thread

After Mark as done (Firefox):
Done issue

Badges and the comment menu on the project page (Chromium, and Firefox showing an open issue's actions):
Comment menu
Comment menu in Firefox

Phone:
Phone list Phone thread

@Mistium
Mistium changed the base branch from developer-mode to develop November 21, 2026 07:47
@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Nov 21, 2026 •

Copy link
Copy Markdown

Deploying scratch-gui with  Cloudflare Pages  Cloudflare Pages

Latest commit: 69226a1
Status: ✅  Deploy successful!
Preview URL: https://07fb5869.scratch-gui.pages.dev
Branch Preview URL: https://comment-issues.scratch-gui.pages.dev

View logs

@Mistium
Mistium merged commit 7cc25a3 into develop Nov 21, 2026
1 check 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.

1 participant