-
Notifications
You must be signed in to change notification settings - Fork 375
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
UI: New rule metrics layout #861
Conversation
Looks good! Some comments:
|
Define rule
|
@leiyre I've reviewed all raised points and it's looking good!! Testing I have found these two issues:
|
The width is dynamic, it's better to define a fixed number of elements. By default is a max of 10
The spacing is common to all views, the bottom margin of the seacrhbox is 14px, if we change it to 10px it will affect all views. it's ok? |
frontend/components/text-classifier/labeling-rules/RuleDefinition.vue
Outdated
Show resolved
Hide resolved
Comment from my part: The message "The query is already saved as a rule" when a rule is already stored it could be confusing if we only change the label: In both cases the query remains the same. As suggestion (but sure I'm not an expert) keeping the save rule button enabled/disabled depending on the rule was already created. Or maybe change the action name (Create Rule/ Save rule) |
I agree. The message is confusing and the interaction too. In my opinion:
|
We have already a global mechanism to notify completed actions. I prefer show this message as a toast notification. |
It could be nice to include some color schema to highlight the best rule metrics. The greater value for precision, the better, or the lower value for incorrect records, the better too. This could help to users to analyze rule |
fix #867 |
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.
Closing this PR and all pending tasks must be transcribed as separate issues
* 'master' of https://github.com/recognai/rubrix: Docs: Updates Flair zeroshot tutorial (#887) removing wrong video (#885) Update readme (#883) fix(UI) Metrics value by default if no metric (#875) feat(metrics): add token level metrics for token classification from client (#849) UI: New rule metrics layout (#861) chore: expose load_rules from base module (#866)
* remove old rule metrics * remove old overall metrics * new metrics component * restructure metrics * styles * button position * metrics min height * metrics loading placeholder * fix metric item height * show loading only in records area when refresh * fix padding and font-size * fix update total metrics * fix lint * show all non-reactive buttons * fix styles * rules props * text style * change copy * labels as array * prevent empty rules * fix empty search for data filter * nw rule empty query component * refresh only general metrics when updating the rule * overall metrics transition
Closes #860
Closes #867