-
Notifications
You must be signed in to change notification settings - Fork 1.6k
feat(crm): Incorporate B2B analytics into tree-nav #30930
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
Conversation
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.
PR Summary
This PR updates the navigation components to support B2B analytics by conditionally rendering labels and side actions. It adjusts the UI to show "Persons and cohorts" and adds a beta tag when the B2B analytics flag is enabled.
- Updated
/frontend/src/layout/panel-layout/PanelLayoutNavBar.tsx
to conditionally change the label and tooltip for the PersonsManagement nav item. - Modified
/frontend/src/layout/panel-layout/panelLayoutLogic.tsx
to add thesetVisibleSideAction
action. - Adjusted
/frontend/src/layout/navigation-3000/navigationLogic.tsx
to inject the B2B analytics nav item with a beta tag.
3 file(s) reviewed, no comment(s)
Edit PR Review Bot Settings | Greptile
📸 UI snapshots have been updated2 snapshot changes in total. 0 added, 2 modified, 0 deleted:
Triggered by this commit. |
📸 UI snapshots have been updated1 snapshot changes in total. 0 added, 1 modified, 0 deleted:
Triggered by this commit. |
Size Change: +40 B (0%) Total Size: 13.1 MB ℹ️ View Unchanged
|
See #29881
Changes
Renders the 'B2B analytics' side action and changes the 'People and groups' label when
b2b-analytics
is enabledb2b-analytics disabled
b2b-analytics enabled
How did you test this code?
Visual review.