Commit 027b3b8
refactor(analytics): remove FEATURE_FLAG_CONTENT_ANALYTICS_SHOW_ENGAGEMENT_DASHBOARD (#34893)
## Summary
- Remove `FEATURE_FLAG_CONTENT_ANALYTICS_SHOW_ENGAGEMENT_DASHBOARD`
feature flag from backend (`FeatureFlagName.java`,
`ConfigurationResource.WHITE_LIST`)
- Delete the `dotAnalyticsEngagementResolver` and its spec file
- Remove resolver from analytics dashboard route config
- Replace conditional tab logic (`$engagementEnabled` signal, `$tabs`
computed, breadcrumb effect) with a static `DASHBOARD_TAB_LIST` —
Engagement tab is now always visible
- Update dashboard component test to account for new tab order
Closes #34850
## Test plan
- [x] `yarn nx lint portlets-dot-analytics` passes
- [x] `yarn nx test portlets-dot-analytics` — 17 suites, 245 tests pass
(1 pre-existing sparkline failure unrelated)
- [ ] Verify Engagement tab is visible in Analytics Dashboard without
feature flag
- [ ] Verify Pageview and Conversions tabs still work correctly
- [ ] Verify KPIs, sparkline charts, breakdown, and platforms table load
in Engagement tab
🤖 Generated with [Claude Code](https://claude.com/claude-code)
---------
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>1 parent 0ca19ef commit 027b3b8
8 files changed
Lines changed: 13 additions & 145 deletions
File tree
- core-web/libs/portlets/dot-analytics/portlet/src/lib
- dot-analytics-dashboard
- resolvers
- dotCMS/src/main/java/com/dotcms
- featureflag
- rest/api/v1/system
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | | - | |
| 39 | + | |
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
44 | | - | |
| 44 | + | |
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
| |||
Lines changed: 5 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
| 61 | + | |
61 | 62 | | |
62 | 63 | | |
63 | 64 | | |
| |||
80 | 81 | | |
81 | 82 | | |
82 | 83 | | |
83 | | - | |
84 | | - | |
85 | | - | |
86 | | - | |
87 | | - | |
88 | | - | |
89 | | - | |
90 | | - | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
91 | 87 | | |
92 | 88 | | |
93 | 89 | | |
| |||
102 | 98 | | |
103 | 99 | | |
104 | 100 | | |
105 | | - | |
| 101 | + | |
106 | 102 | | |
107 | 103 | | |
108 | 104 | | |
| |||
Lines changed: 4 additions & 47 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
3 | | - | |
4 | | - | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
| 2 | + | |
12 | 3 | | |
13 | 4 | | |
14 | 5 | | |
15 | 6 | | |
16 | 7 | | |
17 | | - | |
18 | | - | |
19 | 8 | | |
20 | 9 | | |
21 | 10 | | |
22 | | - | |
23 | 11 | | |
24 | 12 | | |
25 | 13 | | |
26 | 14 | | |
27 | 15 | | |
28 | | - | |
29 | 16 | | |
30 | 17 | | |
31 | 18 | | |
| |||
54 | 41 | | |
55 | 42 | | |
56 | 43 | | |
57 | | - | |
| 44 | + | |
58 | 45 | | |
59 | 46 | | |
60 | | - | |
61 | 47 | | |
62 | 48 | | |
63 | | - | |
64 | 49 | | |
65 | 50 | | |
66 | 51 | | |
67 | 52 | | |
68 | 53 | | |
69 | 54 | | |
70 | 55 | | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | | - | |
81 | | - | |
82 | | - | |
83 | | - | |
84 | | - | |
85 | | - | |
86 | | - | |
87 | | - | |
88 | | - | |
89 | | - | |
90 | | - | |
91 | | - | |
92 | | - | |
93 | | - | |
94 | | - | |
95 | | - | |
96 | | - | |
97 | | - | |
98 | | - | |
99 | | - | |
100 | | - | |
| 56 | + | |
| 57 | + | |
101 | 58 | | |
102 | 59 | | |
103 | 60 | | |
| |||
Lines changed: 1 addition & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
8 | 7 | | |
9 | 8 | | |
10 | 9 | | |
| |||
24 | 23 | | |
25 | 24 | | |
26 | 25 | | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
| 26 | + | |
32 | 27 | | |
33 | 28 | | |
34 | 29 | | |
| |||
Lines changed: 0 additions & 58 deletions
This file was deleted.
Lines changed: 0 additions & 19 deletions
This file was deleted.
Lines changed: 0 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | 18 | | |
22 | 19 | | |
23 | 20 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
74 | | - | |
| 74 | + | |
75 | 75 | | |
76 | 76 | | |
77 | 77 | | |
| |||
0 commit comments