Commit ae271d0
feat(identity): Org Chart tree view for sys_business_unit (#2189)
sys_business_unit is already a self-referencing hierarchy
(parent_business_unit_id, ADR-0057 D2) with BFS graph traversal, but Setup only
exposed flat grids. Adds an `org_chart` list view (type: 'tree') that renders the
hierarchy as an indented, expand/collapse tree-grid, listed first so it's the
default tab. No schema change — only surfaces the existing parent pointer. The
active/inactive/by_kind/all grids stay for search, filter, and bulk edit.
Uses the 'tree' view type added in #2184; renderer is objectui plugin-tree.
Co-authored-by: Jack Zhuang <277994282+os-zhuang@users.noreply.github.com>
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>1 parent 25fc0e4 commit ae271d0
2 files changed
Lines changed: 31 additions & 0 deletions
File tree
- .changeset
- packages/platform-objects/src/identity
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
Lines changed: 18 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
36 | 54 | | |
37 | 55 | | |
38 | 56 | | |
| |||
0 commit comments