Skip to content

Commit

Permalink
Feathr UI: API spec alignment and ux experience improvement (#303)
Browse files Browse the repository at this point in the history
This PR update ui code to align with latest api spec which abstracts common interfaces among different registration providers. This PR also enhances lineage ux experience and adds RBAC experience for flighting.

New Feature registration API integration
API spec can be viewed at https://feathr-registry.azurewebsites.net/docs. UI code is now purview free.

UX improvements
 When a feature is clicked, the feature node is highlighted
 When a feature is clicked, the feature level lineage path is highlighted. Feature level lineage means direct producer and consumer.
 Nodes in graph are colored grouped by feature type.
 User can toggle graph to filter by feature type.
 Flow arrow is enabled to indicate producer and consumer relationship
 All out of scope resources are removed in graph, for example, Altas Process, Project.
 Add navigate button in node so user can click to navigate to feature detail page.
 RBAC in flgihting, accessible via /management path.

Linked issue: #272
  • Loading branch information
blrchen committed Jun 2, 2022
1 parent 1285ff7 commit 91fb26f
Show file tree
Hide file tree
Showing 28 changed files with 1,127 additions and 537 deletions.
1 change: 1 addition & 0 deletions ui/.env
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
REACT_APP_AAD_APP_CLIENT_ID=db8dc4b0-202e-450c-b38d-7396ad9631a5
REACT_APP_AAD_APP_AUTHORITY=https://login.microsoftonline.com/common
REACT_APP_API_ENDPOINT=https://feathr-registry.azurewebsites.net
202 changes: 68 additions & 134 deletions ui/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 2 additions & 7 deletions ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,9 @@
"dagre": "^0.8.5",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-flow-renderer": "^10.2.1",
"react-flow-renderer": "^9.7.4",
"react-query": "^3.38.0",
"react-resizable": "^3.0.4",
"react-router": "^5.0.1",
"react-router-dom": "^5.1.2"
"react-router-dom": "^6.3.0"
},
"devDependencies": {
"@testing-library/jest-dom": "^5.16.3",
Expand All @@ -25,9 +23,6 @@
"@types/node": "^16.11.26",
"@types/react": "^17.0.43",
"@types/react-dom": "^17.0.14",
"@types/react-resizable": "^1.7.4",
"@types/react-router": "^5.1.8",
"@types/react-router-dom": "^5.1.4",
"react-scripts": "5.0.0",
"typescript": "^4.6.3",
"web-vitals": "^2.1.4"
Expand Down
Loading

0 comments on commit 91fb26f

Please sign in to comment.