Point the public site to each project's TaskStream board
Some checks failed
Tests / lint (push) Has been cancelled
Tests / test (push) Has been cancelled
Tests / test-postgres (push) Has been cancelled
Tests / mcp (push) Has been cancelled

A project with a board now carries its key, its address and the address
of the board's public showcase in the public API, so the website can show
its roadmap, releases and tickets for newcomers.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-08 19:13:56 +02:00
parent b32d6bf001
commit 7e7d2847fe
6 changed files with 83 additions and 0 deletions

View File

@@ -85,4 +85,21 @@ class TaskStreamClient
{
return "{$this->webUrl}/p/{$key}";
}
/**
* The public summary of a board (roadmap, releases, sprint, tickets for
* newcomers). Anyone may read it, so the public site can ask directly.
*/
public function showcaseUrl(string $key): string
{
return "{$this->apiUrl}/api/explore/projects/{$key}/showcase";
}
/**
* Where the paths of a showcase (`/p/KEY/issues/KEY-3`) are opened.
*/
public function webUrl(): string
{
return $this->webUrl;
}
}