-
Notifications
You must be signed in to change notification settings - Fork 78
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
PROD-2323 Add-tabs-to-display-monitored-and-ignored-schema-in-Data-Detection #5236
Merged
lucanovera
merged 28 commits into
main
from
PROD-2323-Add-tabs-to-display-monitored-and-ignored-schema-in-Data-Detection
Aug 28, 2024
Merged
Changes from 25 commits
Commits
Show all changes
28 commits
Select commit
Hold shift + click to select a range
8b0405e
PROD-2323 WIP
447b10a
Merge branch 'main' of github.com:ethyca/fides into PROD-2323-Add-tab…
36e1025
PROD-2323 WIP
178fcb3
PROD-2323 WIP
eccf640
PROD-2658 Fix pagination not being reset
cac7a2d
Update changelog
661e38c
PROD-2658 code update
4774e15
Revert file commited accidentaly
5cfb0a4
Merge branch 'PROD-2658-Blank-table-after-going-back-using-Data-Detec…
956ecb8
PROD-2323 Make change type icon be monitored when the active tab is m…
bc84463
PROD_2323 Match the activity icon to the filter tab
dae626f
Merge branch 'PROD-2323-Add-tabs-to-display-monitored-and-ignored-sch…
42e58b1
PROD-2323 Reset table pagination to page 1 after switching data detec…
d523748
PROD-2323 Reset table pagination to page 1 after switching data detec…
53bd47a
PROD-2323 Fix discovery results using unmonitored tab
40cc1c8
PROD-2323 Fix detection results using unmonitored tab
3d0ec8b
PROD-2323 WIP
39f1bb9
Merge branch 'main' of github.com:ethyca/fides into PROD-2323-Add-tab…
3859549
PROD-2323 update paging when filters change
7e7dc08
PROD-2323 Fix bug
6cb0091
PROD-2323 Don't show confirm button in Monitored/Unmonitored view
82e1329
PROD-2323 Update tests
7690924
PROD-2323 Remove confusing eye icons for monitor/unmonitor
15a629d
PROD-2323 Update test
99d8de1
PROD-2323 Update changelog
e04d548
PROD-2323 Add size width of 180 to actions column to prevent buttons …
1c7e59d
PROD-2323 Update changelog
fa7c4a4
Merge branch 'main' into PROD-2323-Add-tabs-to-display-monitored-and-…
lucanovera File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
120 changes: 0 additions & 120 deletions
120
...min-ui/cypress/fixtures/detection-discovery/results/detection/table-list-full-schema.json
This file was deleted.
Oops, something went wrong.
35 changes: 35 additions & 0 deletions
35
...press/fixtures/detection-discovery/results/detection/table-list-monitored-tab-filter.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
{ | ||
"items": [ | ||
{ | ||
"urn": "my_bigquery_monitor.prj-bigquery-418515.test_dataset_1.consent-reports-20", | ||
"user_assigned_data_categories": [], | ||
"name": "consent-reports-22", | ||
"description": null, | ||
"monitor_config_id": "my_bigquery_monitor", | ||
"updated_at": null, | ||
"source_modified": "2024-03-27T21:47:09.915000+00:00", | ||
"classifications": [], | ||
"diff_status": "monitored", | ||
"child_diff_statuses": {}, | ||
"parent_schema": "my_bigquery_monitor.prj-bigquery-418515.test_dataset_1", | ||
"schema_name": "test_dataset_1", | ||
"num_rows": 19, | ||
"fields": [ | ||
"my_bigquery_monitor.prj-bigquery-418515.test_dataset_1.consent-reports-20.Created", | ||
"my_bigquery_monitor.prj-bigquery-418515.test_dataset_1.consent-reports-20.Fides_user_device", | ||
"my_bigquery_monitor.prj-bigquery-418515.test_dataset_1.consent-reports-20.User_geography", | ||
"my_bigquery_monitor.prj-bigquery-418515.test_dataset_1.consent-reports-20.Preference", | ||
"my_bigquery_monitor.prj-bigquery-418515.test_dataset_1.consent-reports-20.Notice_title", | ||
"my_bigquery_monitor.prj-bigquery-418515.test_dataset_1.consent-reports-20.Phone_number", | ||
"my_bigquery_monitor.prj-bigquery-418515.test_dataset_1.consent-reports-20.Request_origin", | ||
"my_bigquery_monitor.prj-bigquery-418515.test_dataset_1.consent-reports-20.Method", | ||
"my_bigquery_monitor.prj-bigquery-418515.test_dataset_1.consent-reports-20.Email" | ||
], | ||
"database_name": "prj-bigquery-418515" | ||
} | ||
], | ||
"total": 2, | ||
"page": 1, | ||
"size": 25, | ||
"pages": 1 | ||
} |
35 changes: 35 additions & 0 deletions
35
...ess/fixtures/detection-discovery/results/detection/table-list-unmonitored-tab-filter.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
{ | ||
"items": [ | ||
{ | ||
"urn": "my_bigquery_monitor.prj-bigquery-418515.test_dataset_1.consent-reports-20", | ||
"user_assigned_data_categories": [], | ||
"name": "consent-reports-21", | ||
"description": null, | ||
"monitor_config_id": "my_bigquery_monitor", | ||
"updated_at": null, | ||
"source_modified": "2024-03-27T21:47:09.915000+00:00", | ||
"classifications": [], | ||
"diff_status": "muted", | ||
"child_diff_statuses": {}, | ||
"parent_schema": "my_bigquery_monitor.prj-bigquery-418515.test_dataset_1", | ||
"schema_name": "test_dataset_1", | ||
"num_rows": 19, | ||
"fields": [ | ||
"my_bigquery_monitor.prj-bigquery-418515.test_dataset_1.consent-reports-20.Created", | ||
"my_bigquery_monitor.prj-bigquery-418515.test_dataset_1.consent-reports-20.Fides_user_device", | ||
"my_bigquery_monitor.prj-bigquery-418515.test_dataset_1.consent-reports-20.User_geography", | ||
"my_bigquery_monitor.prj-bigquery-418515.test_dataset_1.consent-reports-20.Preference", | ||
"my_bigquery_monitor.prj-bigquery-418515.test_dataset_1.consent-reports-20.Notice_title", | ||
"my_bigquery_monitor.prj-bigquery-418515.test_dataset_1.consent-reports-20.Phone_number", | ||
"my_bigquery_monitor.prj-bigquery-418515.test_dataset_1.consent-reports-20.Request_origin", | ||
"my_bigquery_monitor.prj-bigquery-418515.test_dataset_1.consent-reports-20.Method", | ||
"my_bigquery_monitor.prj-bigquery-418515.test_dataset_1.consent-reports-20.Email" | ||
], | ||
"database_name": "prj-bigquery-418515" | ||
} | ||
], | ||
"total": 1, | ||
"page": 1, | ||
"size": 25, | ||
"pages": 1 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
26 changes: 26 additions & 0 deletions
26
clients/admin-ui/src/features/data-discovery-and-detection/DetectionResultFilterTabs.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
import DataTabsHeader from "~/features/common/DataTabsHeader"; | ||
|
||
interface DetectionResultFilterTabsProps { | ||
filterTabIndex: number; | ||
onChange: (index: number) => void; | ||
filterTabs: { label: string }[]; | ||
} | ||
|
||
const DetectionResultFilterTabs = ({ | ||
filterTabs, | ||
onChange, | ||
filterTabIndex, | ||
}: DetectionResultFilterTabsProps) => { | ||
return ( | ||
<DataTabsHeader | ||
border="full-width" | ||
mb={5} | ||
size="sm" | ||
data={filterTabs} | ||
borderWidth={1} | ||
index={filterTabIndex} | ||
onChange={onChange} | ||
/> | ||
); | ||
}; | ||
export default DetectionResultFilterTabs; |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
this second line can likely be removed as redundant?