Skip to content
This repository was archived by the owner on Feb 11, 2026. It is now read-only.
This repository was archived by the owner on Feb 11, 2026. It is now read-only.

Refactor validation in the Knowledge submission form #94

@aevo98765

Description

@aevo98765

Validation code is repeated multiple times within the src/components/knowledge/index.tsx file.

Validation on the question and answer pair input needs to be implemented. e.g. minimum 5 pairs and no more than 2300 words in each pair. https://github.com/instructlab/taxonomy?tab=readme-ov-file#getting-started-with-knowledge-contributions.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions