Formatted text
- Descriptions, comments, replies and release notes render Markdown,
sanitised with DOMPurify (tested against scripts, handlers and
javascript: links). A pasted image is uploaded and written as
; the web fetches it with the reader's session,
so it works on private projects. Every text box has a preview. The
attachment upload now answers its attachmentId.
List view
- /p/:key/list: every ticket as rows, sortable by any column, filtered by
text, open/closed, type, priority and assignee; status, priority and
assignee change in place; bulk edit (the backlog's bar, now shared).
Ticket details
- Reactions on comments (GitHub's eight), for members and viewers.
- Duplicate a ticket: what it says, not where it stands.
- blockedBy: open tickets it waits for (BLOCKS / DEPENDS_ON), worked out
when reading with one query per board or page; shown on cards, list
rows and the ticket.
Public proposals
- A public project can take bug reports and ideas from anyone
(acceptsProposals): POST /api/explore/projects/{project}/proposals and
the form at /p/:key/proponer. They become tickets labelled «propuesta»,
opened by TaskStream; a honeypot field and 5 per address every 15
minutes keep spam out. No e-mail is asked: it would be public.
Votes
- Anyone signed in votes on a public project's tickets, members on a
private one (voteIssue, PUT/DELETE /api/issues/{issue}/vote): votes and
voted on each ticket, buttons on the ticket and the roadmap, a column
in the list. The showcase carries votes and the open proposals.
MCP: vote_issue, duplicate_issue, react_to_comment; listings show
blockers and votes. Docs, Word and PDF updated; chat notifications
(Discord, Slack, Telegram) noted for later.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
64 lines
1.4 KiB
TypeScript
64 lines
1.4 KiB
TypeScript
/**
|
|
* What a status means, whatever each project calls it (statuses, ticket types
|
|
* and areas are per-project settings, see ProjectSettings).
|
|
*/
|
|
export enum StatusCategory {
|
|
TODO = 'TODO',
|
|
IN_PROGRESS = 'IN_PROGRESS',
|
|
QA = 'QA',
|
|
DONE = 'DONE',
|
|
CANCELLED = 'CANCELLED',
|
|
}
|
|
|
|
export enum IssuePriority {
|
|
LOWEST = 'LOWEST',
|
|
LOW = 'LOW',
|
|
MEDIUM = 'MEDIUM',
|
|
HIGH = 'HIGH',
|
|
CRITICAL = 'CRITICAL',
|
|
}
|
|
|
|
export enum IssueLinkType {
|
|
BLOCKS = 'BLOCKS',
|
|
DEPENDS_ON = 'DEPENDS_ON',
|
|
TESTS = 'TESTS',
|
|
DUPLICATES = 'DUPLICATES',
|
|
RELATES_TO = 'RELATES_TO',
|
|
}
|
|
|
|
export enum ProjectRole {
|
|
OWNER = 'OWNER',
|
|
ADMIN = 'ADMIN',
|
|
MEMBER = 'MEMBER',
|
|
VIEWER = 'VIEWER',
|
|
}
|
|
|
|
export enum ReleaseStatus {
|
|
PLANNED = 'PLANNED',
|
|
RELEASED = 'RELEASED',
|
|
ARCHIVED = 'ARCHIVED',
|
|
}
|
|
|
|
export enum SprintStatus {
|
|
PLANNED = 'PLANNED',
|
|
/** Under way: one per project at a time. */
|
|
ACTIVE = 'ACTIVE',
|
|
CLOSED = 'CLOSED',
|
|
}
|
|
|
|
/** Why someone is told. */
|
|
export enum NotificationKind {
|
|
ASSIGNED = 'ASSIGNED',
|
|
STATUS_CHANGED = 'STATUS_CHANGED',
|
|
QA_FAILED = 'QA_FAILED',
|
|
COMMENTED = 'COMMENTED',
|
|
MENTIONED = 'MENTIONED',
|
|
REPLIED = 'REPLIED',
|
|
WATCHED = 'WATCHED',
|
|
ADDED_TO_PROJECT = 'ADDED_TO_PROJECT',
|
|
REMINDER = 'REMINDER',
|
|
}
|
|
|
|
/** The reactions a comment takes, in the order they are offered (GitHub's). */
|
|
export const REACTIONS = ['👍', '👎', '😄', '🎉', '😕', '❤️', '🚀', '👀'];
|