mirror of
https://github.com/portainer/portainer.git
synced 2025-07-23 15:29:42 +02:00
feat(notifications): track toast notifications [EE-4132] (#7711)
* feat(notifications): track toast notifications [EE-4132] * suggested refactoring * fix failing test * remove duplicate styles * applying spacing to context icon
This commit is contained in:
parent
4e20d70a99
commit
648c1db437
18 changed files with 608 additions and 59 deletions
|
@ -3,6 +3,7 @@ import { PropsWithChildren } from 'react';
|
|||
import { ContextHelp } from '@@/PageHeader/ContextHelp';
|
||||
|
||||
import { useHeaderContext } from './HeaderContainer';
|
||||
import { NotificationsMenu } from './NotificationsMenu';
|
||||
import { UserMenu } from './UserMenu';
|
||||
|
||||
interface Props {
|
||||
|
@ -20,7 +21,8 @@ export function HeaderTitle({ title, children }: PropsWithChildren<Props>) {
|
|||
</div>
|
||||
{children && <span>{children}</span>}
|
||||
</div>
|
||||
<div className="flex items-center gap-4">
|
||||
<div className="flex items-end">
|
||||
<NotificationsMenu />
|
||||
<ContextHelp />
|
||||
{!window.ddExtension && <UserMenu />}
|
||||
</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue