Skip to content

Show and edit number, tag and labels in Administration - #293

Merged
mt0rm0 merged 1 commit into
284-number-and-label-casesfrom
288-labels-in-administration
Oct 16, 2026
Merged

mt0rm0 merged 1 commit into
284-number-and-label-casesfrom
288-labels-in-administration

Conversation

@mt0rm0

@mt0rm0 mt0rm0 commented Oct 16, 2026

Copy link
Copy Markdown
Contributor

Closes #288

The Testfälle table in Administration shows and edits the new number, tag and labels.

  • Columns: Nr., Tag, Bereich, Testart, Ausgangsfrage (with Frageform · Herkunft in small type below), Status, Version. Each of the first four sorts.
  • Filters above the table, one per label and one for Status, combinable. The heading counts "2 von 3" while filtered.
  • Labels panel, opened per case like the variants panel (one open at a time). It edits the tag and the four labels. The label fields are inputs with suggestions from GET /api/eval/labels, so a value not offered yet can just be typed. Only changed fields are sent: labels first, then the tag, so a tag typed in wins over one generated from the new labels. An empty tag asks for a generated one. A refusal, such as a tag already taken, is shown in the panel.
  • Case form: Bereich takes its suggestions from /labels instead of the fixed GO, GV, AR, which left FI and WI unselectable. When creating, it also asks for a Testart. When editing, labels stay out of the content PATCH; they change through the panel without a new version.
  • The API helper accepts PUT, for the tag endpoint.

🤖 Generated with Claude Code

The Testfälle table shows Nr., Tag, Bereich and Testart as columns, with
Frageform and Herkunft under the question, sorts by each, and filters by
Bereich, Testart, Frageform, Herkunft and Status. A Labels button opens a
panel to change the tag and the labels: inputs with suggestions from
/labels, so a new value can be typed. Labels are saved before the tag, and an
empty tag is generated again.

The case form takes its Bereich suggestions from /labels instead of a fixed
GO, GV, AR, and asks for a Testart when creating.
@mt0rm0

mt0rm0 commented Oct 16, 2026

Copy link
Copy Markdown
Contributor Author

Other infos

  • Frontend: 182 passed (9 new: LabelPanel.test.tsx, and filter and panel tests in CaseTable.test.tsx). tsc -b and eslint . clean.
  • Two Administration tests looked up "freigegeben" and "zurückgezogen" anywhere on the page. The Status filter now offers the same words, so those assertions are scoped to the table.
  • I'll check the screen in a real browser once the feature is complete and the local eval database has been migrated and refilled.

@coderabbitai

coderabbitai Bot commented Oct 16, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration
  • Configuration used: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: a27ddf1e-8ba4-4841-a32c-847039b7cc2c

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@mt0rm0
mt0rm0 merged commit 573a8d2 into 284-number-and-label-cases Oct 16, 2026
5 checks passed
@mt0rm0
mt0rm0 deleted the 288-labels-in-administration branch October 16, 2026 14:03
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