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

[Dashboard De-Angular] Add and render top nav component #4002

Closed
10 tasks done
Tracked by #3365
abbyhu2000 opened this issue May 9, 2023 · 0 comments
Closed
10 tasks done
Tracked by #3365

[Dashboard De-Angular] Add and render top nav component #4002

abbyhu2000 opened this issue May 9, 2023 · 0 comments
Assignees
Labels
de-angular de-angularize work

Comments

@abbyhu2000
Copy link
Member

abbyhu2000 commented May 9, 2023

As part of rendering the actual dashboard editor page, add logic to render the Top Nav component with its corresponding configs.

    const dashboardNavBar = document.getElementById('dashboardChrome');
    const updateNavBar = () => {
      ReactDOM.render(
        <navigation.ui.TopNavMenu
          {...getNavBarProps()}
          {...(isEmbeddedExternally ? {} : { setMenuMountPoint: setHeaderActionMenu })}
        />,
        dashboardNavBar
      );
    };

This task will be break down into sub-tasks:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
de-angular de-angularize work
Projects
Development

No branches or pull requests

2 participants