-
Notifications
You must be signed in to change notification settings - Fork 115
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
Add system vault navigation #6750
Conversation
const SystemVaultMenu = () => { | ||
// TODO(Groups UI) Implement system vault menu. | ||
return <></>; | ||
const SYSTEM_VAULTS_ITEMS = [ |
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.
Should we move this to types? Feel like we are gonna need this in other places
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 is specifically for menu rendering so I'd keep it close to the implementation. What other places do you have in mind?
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.
The company data screen?
owner: LightWorkspaceType; | ||
vault: VaultType; | ||
item: DataSourceOrViewInfo; | ||
viewType: "data_sources" | "data_source_views"; |
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.
Should we move the DataSourceOrView
type from swr to types and reuse it here?
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.
Indeed this one could live in types
. Let me move it.
* Add system vault navigation * Move DataSourceOrView to type.
Description
Follow up of #6745.
This PR adds the navigation for the system vault based on design from here.
Risk
Deploy Plan