nextcloud / nextcloud/tables

Only show errors on error state

Open
#793 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

0. Needs triage design enhancement
Dominant language
JavaScript
Stars
214
Forks
52
Avg merge
1d 10h
Merged PRs (30d)
82

Description

Is your feature request related to a problem? Please describe.

We just added the error hints (#755) on the input forms. But right know the errors are always shown up if the data is missing. This might be correct but from the UX perspective not very nice. Everytime you open the modal you get red flagged fields without doing anything, so it indicates that you did something wrong, but you didn't.

image

Describe the solution you'd like

Just show the errors if you try to insert/update the data.

Maybe we could also show them if the focus is on a next input field, so we can assume that the user missed something in the previous input. But that might be to complicated.

Describe alternatives you've considered

Leave as is or remove completely.

Additional context

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the input forms, their error hints, and the modal validation behavior described in the issue. Reproduce opening a modal with missing data, then try inserting or updating it to compare when errors appear. Done means errors are not shown merely when the modal opens and are shown after an insert or update attempt; the optional focus behavior is unresolved.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.