Skip to content

Show a ticket's type on the card #19

Description

@EdmondDantes

Feature

Type a ticket — bug, feature, refactor, design, research, chore — with an icon and a very faint tint on the card, the way Jira does.

The server already sends this

IssueType is a real enum in php-claw, ProjectStore::setIssueType() exists, and type is already on every issue frame (Server.php:687). So the UI half is unblocked: only the create path is missing on the server (addIssue() takes no type).

Sketch

  • Type: type?: IssueType on Issue (src/types/domain.ts) — it is missing today even though the server sends it.
  • UI: a small type chip or icon on Card.tsx plus a faint background tone. The left border is already the status colour (--st), so the type should read as icon and tint, not as a second border.
  • The create dialog picks the type, beside tags and workflow.

Acceptance

  • A ticket's type shows on its card without fighting the status colour, in light and dark.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions