icipe-official / icipe-official/vectoratlas-software-code

Refactor validation feedback

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

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
2
Forks
8
Avg merge
5d 4h
Merged PRs (30d)
11

Description

Currently, the validation errors are returned as a long list below the Validation Console heading. Given the size of the files, it will be better to have both a condensed version alongside a more detailed output that can be toggled. For example, if one misses out a required column, you will see hundreds/thousands of the same error for the column spread across every row. Handling this eventuality will provide a better UI

Acceptance Criteria:

  • A validation summary is provided that can handle larger error arrays

Contributor guide

No contributing guide indexed for this repository

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 at the Validation Console and trace where the current long validation-error list is assembled and rendered. Define the condensed summary and detailed toggle behavior around the existing error output; done means the validation summary remains usable with large error arrays and repeated row-level errors.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 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.