feat: formatted text, a list view, ticket details, public proposals and votes
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>
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
import { RouterLink } from '@angular/router';
|
||||
import {
|
||||
CdkDrag,
|
||||
CdkDragDrop,
|
||||
@@ -56,6 +57,7 @@ function idFrom(name: string): string {
|
||||
selector: 'ts-settings-page',
|
||||
changeDetection: ChangeDetectionStrategy.OnPush,
|
||||
imports: [
|
||||
RouterLink,
|
||||
GitIntegrationComponent,
|
||||
WebhooksComponent,
|
||||
TransferComponent,
|
||||
@@ -119,6 +121,44 @@ function idFrom(name: string): string {
|
||||
<span>{{ project.isPublic ? 'Público' : 'Privado' }}</span>
|
||||
</label>
|
||||
</section>
|
||||
|
||||
<section
|
||||
class="ts-panel ts-block ts-visibility"
|
||||
aria-labelledby="proposals-title"
|
||||
>
|
||||
<div>
|
||||
<h3 id="proposals-title">Propuestas del público</h3>
|
||||
<p class="ts-muted">
|
||||
@if (!project.isPublic) {
|
||||
Solo para proyectos públicos: hazlo público para abrir un
|
||||
formulario donde cualquiera, sin cuenta, reporte un error o
|
||||
proponga una idea.
|
||||
} @else if (project.acceptsProposals) {
|
||||
Abierto: cualquiera puede enviar un error o una idea desde
|
||||
<a class="ts-plain-link" routerLink="../proponer">el formulario</a
|
||||
>. Llegan como tickets con la etiqueta «propuesta», y se pueden
|
||||
votar.
|
||||
} @else {
|
||||
Cerrado. Ábrelo para que cualquiera, sin cuenta, pueda reportar un
|
||||
error o proponer una idea; llegarán como tickets con la etiqueta
|
||||
«propuesta».
|
||||
}
|
||||
</p>
|
||||
</div>
|
||||
<label class="ts-switch">
|
||||
<input
|
||||
type="checkbox"
|
||||
role="switch"
|
||||
[checked]="project.isPublic && project.acceptsProposals"
|
||||
[disabled]="!facade.canManage() || !project.isPublic"
|
||||
(change)="facade.setAcceptsProposals($any($event.target).checked)"
|
||||
/>
|
||||
<span class="ts-switch__track" aria-hidden="true"></span>
|
||||
<span>{{
|
||||
project.isPublic && project.acceptsProposals ? 'Abierto' : 'Cerrado'
|
||||
}}</span>
|
||||
</label>
|
||||
</section>
|
||||
}
|
||||
|
||||
@if (draft(); as d) {
|
||||
|
||||
Reference in New Issue
Block a user