Commit f2d7b6c
Add a Segment Management Page (#23885)
* Initiate the Segment Management Page
Add 'All Visits at the top'
Reorder segments: fixed > selected > starred > others
Add highlighted styles to fixed and selected segments
Allow star/unstar segments
Reorder data
Add view, edit, and delete actions
Synchronize UI between the editor panel and the management page
Align number to the right
Add right management
Use translation for the page description
Implement the search segment
Add tooltip on view action
Add a create segment button
Add sparkline
UX Meeting feedback
Add a menu entry into the Administration menu + colored evolution
Fix range selection
Update evolution tooltip
Add manage segment button
Remove tooltip on sparkline when using a custom range
Reorder administration menu and add an outlink icon
Use generic table tooltip instead of custom ones
Fix PHPCS
Fix PHP errors
Update the Scheduled Reports help box about segment
Move JavaScript in a separate file and fix a bug when we unstar selected segment
Bugfix: not all users are allowed to create segments
Change translation key since the parameters changed
No need to have write access to be able to see the segment management page
Fix UI feedback on failing star/unstar api calls
First round of Stefanās feedback
* Update UI screenshots and fix tests
Update UI screenshots
Update UI Screenshots
* Only display data for pre-processed segments
* Fix the tooltip synchronisation after segment star state change
* Revert UI Screenshot change
* Create Dashboard link with an accessible idSite
* Build dashboard link on the client side
* Handle string enable_only_idsite
* Add tests on title, order, and synchronisation
* Add test on edit button
* Update UI screenshot
* Redesign real-time segment notice after team feedback
* Consolidate and add more tests
* Create back-end Fixture for #23885 (#24161)
* Create back-end Fixture
* Feedback from @sgiehl
* Update expected screenshots
* More Stable SegmentSelectorEditor test
* Feedback from @chippison
* Make listeners return unsubscribe handlers to prevent duplicate handlers
* Vue build
* Fix - Allow to remove 'All Visits' from comparisons
* restore browser-trigger archiving state in SegmentEditor ControllerTest teardown
* Do not update TagManager
* Load data for the ManageSegmentPage line by line from front-end asynchronous calls
* Securize segment data/delete flows and stabilize async ManageSegmentPage tests
* Sanitize segment-data errors and test sequential loading after row failure
* Fix tests
* stabilize UI tests
* add new segment management page to whats new list (#24189)
* stabilize UI tests
* Small back-end optimisation
* Fix front-end user right to star/edit/delete segment
* Fix segment search in segment panel
* Move SegmentEditor.getSegmentData to API file and rename parameter (#24199)
* SegmentEditor.getSegmentData API moved to the API file and renamed parameter
* Fix evolution icons
---------
Co-authored-by: Nathan Gavin <nathangavin987@gmail.com>
# Conflicts:
# tests/UI/expected-screenshots/UIIntegrationTest_period_select_date_range_click.png1 parent d2fcd6c commit f2d7b6c
61 files changed
Lines changed: 2621 additions & 292 deletions
File tree
- core/Menu
- lang
- plugins
- CoreHome
- stylesheets/dataTable
- vue/src/Sparkline
- CoreVue/types
- CustomDimensions/tests
- System/expected
- UI/expected-screenshots
- Goals
- Morpheus/stylesheets/ui
- ScheduledReports
- lang
- vue
- dist
- src/AddReport
- SegmentEditor
- Widgets
- categories
- javascripts
- lang
- stylesheets
- templates
- tests
- Fixtures
- Integration
- System
- UI
- expected-screenshots
- TwoFactorAuth/vue/dist
- tests
- PHPUnit
- Integration
- System/expected
- UI/expected-screenshots
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
107 | 107 | | |
108 | 108 | | |
109 | 109 | | |
110 | | - | |
| 110 | + | |
| 111 | + | |
111 | 112 | | |
112 | 113 | | |
113 | 114 | | |
114 | | - | |
| 115 | + | |
115 | 116 | | |
116 | | - | |
| 117 | + | |
117 | 118 | | |
118 | 119 | | |
119 | 120 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| 33 | + | |
33 | 34 | | |
34 | 35 | | |
35 | 36 | | |
| 37 | + | |
36 | 38 | | |
37 | 39 | | |
38 | 40 | | |
| 41 | + | |
39 | 42 | | |
40 | 43 | | |
41 | 44 | | |
| 45 | + | |
42 | 46 | | |
43 | 47 | | |
44 | 48 | | |
| |||
70 | 74 | | |
71 | 75 | | |
72 | 76 | | |
| 77 | + | |
| 78 | + | |
73 | 79 | | |
74 | 80 | | |
75 | 81 | | |
| |||
95 | 101 | | |
96 | 102 | | |
97 | 103 | | |
| 104 | + | |
| 105 | + | |
98 | 106 | | |
99 | 107 | | |
100 | 108 | | |
| |||
Lines changed: 9 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
101 | 101 | | |
102 | 102 | | |
103 | 103 | | |
104 | | - | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
105 | 107 | | |
106 | 108 | | |
107 | 109 | | |
| |||
156 | 158 | | |
157 | 159 | | |
158 | 160 | | |
159 | | - | |
| 161 | + | |
| 162 | + | |
160 | 163 | | |
161 | 164 | | |
162 | 165 | | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
163 | 170 | | |
164 | 171 | | |
165 | 172 | | |
| |||
Lines changed: 56 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
53 | 92 | | |
54 | 93 | | |
55 | 94 | | |
| |||
71 | 110 | | |
72 | 111 | | |
73 | 112 | | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
74 | 122 | | |
75 | 123 | | |
76 | 124 | | |
| |||
82 | 130 | | |
83 | 131 | | |
84 | 132 | | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
85 | 138 | | |
86 | 139 | | |
87 | 140 | | |
| |||
105 | 158 | | |
106 | 159 | | |
107 | 160 | | |
| 161 | + | |
108 | 162 | | |
109 | 163 | | |
110 | 164 | | |
111 | 165 | | |
112 | 166 | | |
113 | | - | |
| 167 | + | |
| 168 | + | |
114 | 169 | | |
115 | 170 | | |
116 | 171 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
83 | 83 | | |
84 | 84 | | |
85 | 85 | | |
| 86 | + | |
86 | 87 | | |
87 | 88 | | |
88 | 89 | | |
| |||
Lines changed: 32 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1565 | 1565 | | |
1566 | 1566 | | |
1567 | 1567 | | |
1568 | | - | |
| 1568 | + | |
| 1569 | + | |
| 1570 | + | |
| 1571 | + | |
| 1572 | + | |
| 1573 | + | |
| 1574 | + | |
| 1575 | + | |
| 1576 | + | |
| 1577 | + | |
| 1578 | + | |
| 1579 | + | |
| 1580 | + | |
| 1581 | + | |
| 1582 | + | |
| 1583 | + | |
| 1584 | + | |
| 1585 | + | |
| 1586 | + | |
| 1587 | + | |
| 1588 | + | |
| 1589 | + | |
| 1590 | + | |
| 1591 | + | |
| 1592 | + | |
| 1593 | + | |
| 1594 | + | |
| 1595 | + | |
| 1596 | + | |
| 1597 | + | |
| 1598 | + | |
| 1599 | + | |
Lines changed: 2 additions & 2 deletions
Loading
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
| 25 | + | |
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
62 | | - | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
63 | 68 | | |
64 | 69 | | |
65 | 70 | | |
| |||
0 commit comments