Skip to content

Issue/#94/refactor the knowledge submission form#111

Merged
vishnoianil merged 16 commits intoinstructlab:mainfrom
aevo98765:issue/#94/refactor-the-knowledge-submission-form
Aug 19, 2024
Merged

Issue/#94/refactor the knowledge submission form#111
vishnoianil merged 16 commits intoinstructlab:mainfrom
aevo98765:issue/#94/refactor-the-knowledge-submission-form

Conversation

@aevo98765
Copy link
Member

The src/components/Contribute/Knowledgeindex.tsx has been refactored. Size now around 380 from 800 +. This code has been split out into individual components. Also the seedExamples have been typed which will help in future changes to the schema.

This will make future collaborative work on this form easier.

Feedback very welcome on this one. Sorry that it is a large one.

vishnoianil and others added 4 commits August 8, 2024 23:46
Signed-off-by: Anil Vishnoi <vishnoianil@gmail.com>
…icipate that this will be the main route of entry for most users

Signed-off-by: Ash Evans <ash.evans@ibm.com>
Signed-off-by: Ash Evans <ash.evans@ibm.com>
Signed-off-by: Ash Evans <ash.evans@ibm.com>
@aevo98765 aevo98765 force-pushed the issue/#94/refactor-the-knowledge-submission-form branch from 88450c9 to 20e21a4 Compare August 8, 2024 23:00
vishnoianil and others added 11 commits August 9, 2024 00:23
Signed-off-by: Anil Vishnoi <vishnoianil@gmail.com>
…r seed examples to be supported by typescript types

Signed-off-by: Ash Evans <ash.evans@ibm.com>
…breaking change for the validation. Validation of form fields needs to be reevaluated

Signed-off-by: Ash Evans <ash.evans@ibm.com>
Signed-off-by: Ash Evans <ash.evans@ibm.com>
… Also validation moved

Signed-off-by: Ash Evans <ash.evans@ibm.com>
…c sits upstream of both submit and yaml download in a knowledge validation file. This will be moved up above skills too when that is refactored

Signed-off-by: Ash Evans <ash.evans@ibm.com>
Signed-off-by: Ash Evans <ash.evans@ibm.com>
Signed-off-by: Ash Evans <ash.evans@ibm.com>
Signed-off-by: Ash Evans <ash.evans@ibm.com>
Signed-off-by: Emilie Nouveau <dyannenova@gmail.com>
Signed-off-by: Ash Evans <ash.evans@ibm.com>
@aevo98765 aevo98765 force-pushed the issue/#94/refactor-the-knowledge-submission-form branch from 214d642 to 25000e5 Compare August 8, 2024 23:28
Signed-off-by: Ash Evans <ash.evans@ibm.com>
Copy link
Member

@vishnoianil vishnoianil left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@vishnoianil
Copy link
Member

@aevo98765 Awesome work!! Thanks for pulling this off. Appreciate it!

@vishnoianil vishnoianil merged commit 5d85c09 into instructlab:main Aug 19, 2024
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.

3 participants