Skip to content

Commit 3ab6dda

Browse files
authored
ENG-1777 - Limit /tree endpoint depth to 4 levels (#6907)
1 parent 8b5b253 commit 3ab6dda

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ Changes can also be flagged with a GitHub label for tracking purposes. The URL o
2828
### Changed
2929
- Updated filter modal in new privacy request screen to store filters as query params in url [#6818](https://github.com/ethyca/fides/pull/6818)
3030
- Improve Privacy Center FidesJS performance and reliability by caching bundles in memory and adding `stale-while-revalidate` and `stale-if-error` cache headers for improved CDN performance and origin failure resilience [#6689](https://github.com/ethyca/fides/pull/6689)
31+
- Limit action center tree expansion to 4 levels (Database/Schema/Table/Field) by treating fields as leaf nodes [#6907](https://github.com/ethyca/fides/pull/6907)
3132

3233
### Developer Experience
3334
- Added keyboard navigation to CustomList component [#6903](https://github.com/ethyca/fides/pull/6903)

clients/admin-ui/src/features/data-discovery-and-detection/action-center/fields/MonitorTree.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,9 @@ const mapResponseToTreeData = (
6262
? () => <IconComponent className="h-full" />
6363
: undefined,
6464
status: treeNode.update_status,
65-
isLeaf: !treeNode.has_grandchildren,
65+
isLeaf:
66+
treeNode.resource_type === StagedResourceTypeValue.FIELD ||
67+
!treeNode.has_grandchildren,
6668
};
6769
});
6870

0 commit comments

Comments
 (0)