Skip to content
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

D&D data category picker improvements #5167

Merged
merged 10 commits into from
Aug 8, 2024

Conversation

jpople
Copy link
Contributor

@jpople jpople commented Aug 8, 2024

Closes PROD-2479, PROD-2480

Description Of Changes

Visual and behavioral changes to the data category picker on monitor discovery results.

Old:

Screenshot 2024-08-08 at 09 07 06

New:

Screenshot 2024-08-08 at 09 44 55

  • Select "option" component layout and styling updated
  • Width of select menu is no longer constrained to width of table cell
  • Global select styles applied to select element
  • Select is now searchable and search input autofocuses when select opens
  • Now allows multiple user-selected data categories to be added and removed (will show label from classification if no user-selected categories are available)

Steps to Confirm

  • Run a discovery monitor and run classification on your detection results
  • Browse into the field level of your discovery results table
  • Verify can add, remove, and edit data categories

Pre-Merge Checklist

  • All CI Pipelines Succeeded
  • Issue Requirements are Met
  • Relevant Follow-Up Issues Created
  • Update CHANGELOG.md

Copy link

vercel bot commented Aug 8, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
fides-plus-nightly ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 8, 2024 9:28pm

Copy link

cypress bot commented Aug 8, 2024



Test summary

4 0 0 0


Run details

Project fides
Status Passed
Commit 409a5e3 ℹ️
Started Aug 8, 2024 9:37 PM
Ended Aug 8, 2024 9:38 PM
Duration 00:35 💡
OS Linux Ubuntu -
Browser Electron 106

View run in Cypress Cloud ➡️


This comment has been generated by cypress-bot as a result of this project's GitHub integration settings. You can manage this integration in this project's settings in the Cypress Cloud

Copy link
Contributor

@gilluminate gilluminate left a comment

Choose a reason for hiding this comment

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

Looking good and tests are passing. Just one minor nitpick comment.

fontWeight={600}
colorScheme="gray"
fontSize="xs"
mr={1}
Copy link
Contributor

Choose a reason for hiding this comment

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

nitpick: it's probably slightly preferred to have the gap on the HStack set to 1 instead of adding a margin here. Seems odd that we're removing default the gap with 0 only to add a margin.

@jpople jpople merged commit 6fc8529 into main Aug 8, 2024
13 checks passed
@jpople jpople deleted the jpople/prod-2480/data-category-picker-fixes branch August 8, 2024 22:47
Copy link

cypress bot commented Aug 8, 2024



Test summary

4 0 0 0


Run details

Project fides
Status Passed
Commit 6fc8529
Started Aug 8, 2024 10:59 PM
Ended Aug 8, 2024 10:59 PM
Duration 00:37 💡
OS Linux Ubuntu -
Browser Electron 106

View run in Cypress Cloud ➡️


This comment has been generated by cypress-bot as a result of this project's GitHub integration settings. You can manage this integration in this project's settings in the Cypress Cloud

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.

2 participants