-
Notifications
You must be signed in to change notification settings - Fork 76
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
Classify Dataset UX Updates #2226
Conversation
Code Climate has analyzed commit 0218970 and detected 1 issue on this pull request. Here's the issue category breakdown:
View more on Code Climate. |
As an early criticism, check out this Loom -> https://www.loom.com/share/963dbf44bd044668aa57da96875badb6 It feels like the UX doesn't seem to quite align with what we want here, some more work around the button to approve classifications is likely required. I'd love to see something around loading the next collection to be reviewed as well 🤷🏽 |
Instead of trying to do too many things inline I ended up adding a separate step to get back to using a string array. This may be overkill but seemed like it might be the least disruptive
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.
I think the UX is currently weird because toasts seem not to be working even on main. will investigate further, but that's not your PR's fault!
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.
looks great!! just requesting changes to the tests, and also a column thing
clients/admin-ui/src/features/dataset/ApproveClassification.tsx
Outdated
Show resolved
Hide resolved
clients/admin-ui/src/features/dataset/DatasetCollectionView.tsx
Outdated
Show resolved
Hide resolved
Not sure but I may have introduced a new issue somewhere causing an empty state seizure 🤔 found when retesting https://www.loom.com/share/5b57f5b506cb445b9fa0766b2e640409 |
Co-authored-by: Allison King <allison@ethyca.com>
Hmm what steps did you take to get here? I've seen this once before but I think it's because my backend wasn't working properly. I'll try to repro on main |
It looks like it only happens when using |
Ohhhh okay yeah I believe to run a built js, you can |
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.
yay nice job Steve!! I left one suggestion, though it might make sense to make a separate ticket for it, if we want to do it at all
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.
Great job! I like your use of reduce
Ahh, interesting! Thank you once again for the detailed explainer 🙌🏽 makes sense now and I'm not afraid that I did something wonky somewhere 😂 |
Closes fidesplus#404
Code Changes
top n
in data tableapprove classifications
topClassification
Identifiability
from rendering as part of theDataset
view (Closes fidesplus#513)Steps to Confirm
fidesplus
in the backgroundnpm run dev
postgresql+psycopg2://postgres:fides@fidesplus-db:5432/fides
(it's actually a bit collection-heavy so feel free to use a smaller one you can find in 1Password such as this)Pre-Merge Checklist
CHANGELOG.md
Description Of Changes
Currently, these changes feel like a lot is left to be desired as far as the UX for classification. The approve classification button is not informative and should likely change on click or load the next collection to be completed.