Skip to content
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

Merged
merged 2 commits into from
Aug 13, 2024
Merged

Add system vault navigation #6750

merged 2 commits into from
Aug 13, 2024

Conversation

flvndvd
Copy link
Contributor

@flvndvd flvndvd commented Aug 13, 2024

Description

Follow up of #6745.

This PR adds the navigation for the system vault based on design from here.

image

Risk

Deploy Plan

@flvndvd flvndvd marked this pull request as ready for review August 13, 2024 10:25
@flvndvd flvndvd self-assigned this Aug 13, 2024
const SystemVaultMenu = () => {
// TODO(Groups UI) Implement system vault menu.
return <></>;
const SYSTEM_VAULTS_ITEMS = [
Copy link
Contributor

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

Copy link
Contributor Author

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?

Copy link
Contributor

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";
Copy link
Contributor

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?

Copy link
Contributor Author

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.

@flvndvd flvndvd merged commit 9262eec into main Aug 13, 2024
6 checks passed
@flvndvd flvndvd deleted the flav/system-vault-navigation branch August 13, 2024 11:46
albandum pushed a commit that referenced this pull request Aug 28, 2024
* Add system vault navigation

* Move DataSourceOrView to type.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants