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

Adding DEV auto-fill functionality for both the knowledge and skills form#169

Merged
vishnoianil merged 12 commits intoinstructlab:mainfrom
aevo98765:issue/#166/dev-form-filler
Sep 19, 2024
Merged

Adding DEV auto-fill functionality for both the knowledge and skills form#169
vishnoianil merged 12 commits intoinstructlab:mainfrom
aevo98765:issue/#166/dev-form-filler

Conversation

@aevo98765
Copy link
Copy Markdown
Collaborator

this will make Dev work that depend on filling the knowledge or skills for out faster. Functionality is not available outside of .env dev.

Signed-off-by: Ash Evans <ash.evans@ibm.com>
…e it is not inherited. Therefore this will be the only field users will have to fill out.

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>
…r to auto fill the skills form

Signed-off-by: Ash Evans <ash.evans@ibm.com>
Signed-off-by: Ash Evans <ash.evans@ibm.com>
Copy link
Copy Markdown
Contributor

@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.

@aevo98765 Great! work here, it's really very very helpful and reduces a lot of pain while hacking with the UI code. Submitting knowledge and form 50 times a day is not fun at all. :-)

Overall PR looks good. Some minor review comments and noticed following two issues :

  • It requires one more seed example for knowledge form, currently it has only 4 examples.
  • When we click on the "Edit" PR, i think we can just remove the auto-fill button, because i think we don't need autofill in that scenario. Checking for !skillEditFormData?.isEditForm this condition should fix it.

Comment thread src/components/Contribute/Knowledge/AutoFill.ts
Comment thread src/components/Contribute/Knowledge/AutoFill.ts
Comment thread src/components/Contribute/Knowledge/index.tsx Outdated
Comment thread src/components/Contribute/Skill/index.tsx Outdated
aevo98765 and others added 6 commits September 18, 2024 09:52
Signed-off-by: Ash Evans <ash.evans@ibm.com>
… to match convention

Signed-off-by: Ash Evans <ash.evans@ibm.com>
… to match convention in the skills form

Signed-off-by: Ash Evans <ash.evans@ibm.com>
Signed-off-by: Ash Evans <70710356+aevo98765@users.noreply.github.com>
Signed-off-by: Ash Evans <ash.evans@ibm.com>
@aevo98765
Copy link
Copy Markdown
Collaborator Author

@vishnoianil g2g?

@vishnoianil vishnoianil merged commit 378e712 into instructlab:main Sep 19, 2024
@vishnoianil
Copy link
Copy Markdown
Contributor

@aevo98765 great! work here, appreciate it, lot of devs will be happy with this feature :D

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants