Enhancement/12578 side panel goal drivers#12669
Conversation
…ection' into enhancement/12578-side-panel-goal-drivers.
📚 Storybook for b8d602b: 📦 Build files for b8d602b:
🎭 Playwright reports for b8d602b: |
…side-panel-goal-drivers.
|
Size Change: +8.67 kB (+0.38%) Total Size: 2.31 MB 📦 View Changed
ℹ️ View Unchanged
|
…ection' into enhancement/12578-side-panel-goal-drivers.
| const SiteGoalsSelectionPanel: FC = () => { | ||
| const isOpen = useSelect( | ||
| ( select: Select ) => | ||
| select( CORE_UI ).getValue( SITE_GOALS_SELECTION_PANEL_OPENED_KEY ), |
There was a problem hiding this comment.
@zutigrm no CORE_UI nor CORE_FORMS must be used. This is Analytics-4 functionality and MUST be driven by the Analytics-4 datastore.
There was a problem hiding this comment.
We have an issue to standardize the side panel opening logic in #12446, creating a new (selectors/actions) in this issue, will just increase the review surface of already big PR, and make it more complicated when we start migrating the logic. Also Site Goals and Audience Segmentation are both GA4 module features, so it will be better to align them both in separate issue, and have proper definition for that, as they use the same approach like other side panels at the moment
There was a problem hiding this comment.
quick change made to lower the complexity which reached maximum and lintern was flagging the file
…side-panel-goal-drivers.
Summary
Addresses issue:
Relevant technical choices
PR Author Checklist
Do not alter or remove anything below. The following sections will be managed by moderators only.
Code Reviewer Checklist
Merge Reviewer Checklist