Skip to content

Fix three small inconsistencies in Administration - #298

Merged
mt0rm0 merged 1 commit into
devfrom
282-small-ui-inconsistencies
Oct 16, 2026
Merged

mt0rm0 merged 1 commit into
devfrom
282-small-ui-inconsistencies

Conversation

@mt0rm0

@mt0rm0 mt0rm0 commented Oct 16, 2026

Copy link
Copy Markdown
Contributor

Closes #282

Found in the browser walkthrough of every screen:

  1. The Testfälle upload used the bare <input type="file">, whose text comes from the browser ("Choose File / No file chosen"). It is now hidden behind a German "Datei auswählen" button, the way the document upload already does it.
  2. The variants panel listed the styles alphabetically (Fachsprachlich first), because the backend returns them ORDER BY stil. It now shows them in the Vorlage's order: umgangssprachlich, fachsprachlich, verkürzt.
  3. Administration → Dokumente showed "Dokumente im Index: 0 Dokumente" for the seconds the list takes to load. The count now appears once the list is there. It also says "1 Dokument" for one.

🤖 Generated with Claude Code

The Testfälle upload hides the browser's file control, which said "Choose
File / No file chosen", behind a German button. The variants panel lists
the styles in the Vorlage's order rather than alphabetically. The document
list no longer shows "0 Dokumente" while it is still loading, and says
"1 Dokument".
@mt0rm0

mt0rm0 commented Oct 16, 2026

Copy link
Copy Markdown
Contributor Author

Other infos

  • Frontend: 190 passed (3 new, one per fix), tsc -b and eslint . clean.
  • The upload tests still find the input by its aria-label; userEvent.upload works on a hidden input, as the existing document upload tests already rely on.

@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: e544979f-dabc-4505-b48e-9f0bfce7abec

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 bfb2144 into dev Oct 16, 2026
5 checks passed
@mt0rm0
mt0rm0 deleted the 282-small-ui-inconsistencies branch October 16, 2026 14:57
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