-
Notifications
You must be signed in to change notification settings - Fork 389
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Dataset Creation UI fixes & Improvements #5670
Conversation
leiyre
commented
Nov 5, 2024
•
edited
Loading
edited
- Rating values validate min / max
- Question name format and renaming
- Minor style adjustments
- Show required / not required in the form preview
- Redirect from /new/repoId to /repoId
- Redirect to error page when repoId is invalid
The URL of the deployed environment for this PR is https://argilla-quickstart-pr-5670-ki24f765kq-no.a.run.app |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## develop #5670 +/- ##
===========================================
+ Coverage 91.08% 91.21% +0.12%
===========================================
Files 150 150
Lines 6250 6250
===========================================
+ Hits 5693 5701 +8
+ Misses 557 549 -8
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
argilla-frontend/v1/infrastructure/repositories/HubRepository.ts
Outdated
Show resolved
Hide resolved
# Description <!-- Please include a summary of the changes and the related issue. Please also include relevant motivation and context. List any dependencies that are required for this change. --> Closes #5633 **Type of change** <!-- Please delete options that are not relevant. Remember to title the PR according to the type of change --> - Bug fix (non-breaking change which fixes an issue) - New feature (non-breaking change which adds functionality) **How Has This Been Tested** <!-- Please add some reference about how your feature has been tested. --> **Checklist** <!-- Please go over the list and make sure you've taken everything into account --> - I added relevant documentation - I followed the style guidelines of this project - I did a self-review of my code - I made corresponding changes to the documentation - I confirm My changes generate no new warnings - I have added tests that prove my fix is effective or that my feature works - I have added relevant notes to the CHANGELOG.md file (See https://keepachangelog.com/) --------- Co-authored-by: José Francisco Calvo <[email protected]> Co-authored-by: José Francisco Calvo <[email protected]> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
...lla-frontend/components/features/dataset-creation/configuration/DatasetConfigurationForm.vue
Outdated
Show resolved
Hide resolved
….com/argilla-io/argilla into fix/dataset-creation-ui-improvements
@@ -144,7 +145,7 @@ export default { | |||
return Math.max( | |||
...this.dataset.selectedSubset.questions.map((question) => { | |||
const numberInName = question.name.split("_").pop(); | |||
return parseInt(numberInName); | |||
return parseInt(numberInName) || 0; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How can a mapped column named "column_10" influence this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In that case the next created question name will be "questionType_11"
- [x] Rating values validate min / max - [x] Question name format and renaming - [x] Minor style adjustments - [x] Show required / not required in the form preview - [x] Redirect from /new/repoId to /repoId - [x] Redirect to error page when repoId is invalid --------- Co-authored-by: Francisco Aranda <[email protected]> Co-authored-by: Paco Aranda <[email protected]> Co-authored-by: José Francisco Calvo <[email protected]> Co-authored-by: José Francisco Calvo <[email protected]> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>