Skip to content

Commit 109cd36

Browse files
Merge pull request #6723 from Countly/master-v25.03.21-into-next
Master v25.03.21 into next
2 parents ceccc7e + 1a79f69 commit 109cd36

File tree

6 files changed

+19
-7
lines changed

6 files changed

+19
-7
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@
22
Dependencies:
33
- Remove SQLite
44

5+
## Version 25.03.21
6+
Fixes:
7+
- [feedback] Prevent showing the application when switching between the NPS and Survey pages
8+
- [populator] Fix NPS generator
9+
- [surveys] Fix survey details results summary tiles display when journeys plugin in not enabled
10+
511
## Version 25.03.20
612
Fixes:
713
- [push] Fix: Migrate push to the new events model

plugins/populator/frontend/public/javascripts/countly.models.js

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1815,8 +1815,13 @@
18151815
},
18161816
success: function(json, textStatus, xhr) {
18171817
if (json && json.result) {
1818-
var id = json.result.split(" ");
1819-
npsWidgetList.push(id[2]);
1818+
if (json.result._id) {
1819+
npsWidgetList.push(json.result._id);
1820+
}
1821+
else if (json.result.text) {
1822+
var id = json.result.text.split(" ");
1823+
npsWidgetList.push(id[2]);
1824+
}
18201825
}
18211826
callback(json, textStatus, xhr);
18221827
},

plugins/remote-config/frontend/public/javascripts/countly.views.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -67,11 +67,11 @@
6767
<tbody>\
6868
<tr><td class="cly-vue-remote-config-percentages-breakdown__sequence__heading"><div class="cly-vue-remote-config-percentages-breakdown__sequence bu-py-1 bu-px-2" :data-test-id="testId + \'-order-label\'">1</div></td><td class="has-ellipsis cly-vue-remote-config-percentages-breakdown__condition__heading bu-pr-1"><div class="has-ellipsis cly-vue-remote-config-percentages-breakdown__data bu-py-2 bu-px-1 cly-vue-remote-config-percentages-breakdown__default-value"><span class="bu-ml-2 bu-mr-3 text-medium" :data-test-id="testId + \'-default-value-label\'">{{i18n("remote-config.default-value")}}</span><span class="cly-vue-remote-config-percentages-breakdown__default-value__value bu-py-1 bu-px-2 text-small" v-tooltip="defaultValue.value" :data-test-id="testId + \'-default-value\'">{{defaultValue.value}}</span></div></td><td class="cly-vue-remote-config-percentages-breakdown__percentage__heading"><div class="bu-is-flex"><div class="text-big font-weight-bold" :data-test-id="testId + \'-percentage\'">{{defaultValue.percentage}}% </div> <div class="font-weight-normal color-cool-gray-100 bu-pt-1 bu-pl-1" :data-test-id="testId + \'-percent-of-total\'">{{i18n("remote-config.percent.of.total")}}</div></div></td></tr>\
6969
<tr v-if="isDrillEnabled" v-for="(condition, i) in conditions" :key="i">\
70-
<td class="cly-vue-remote-config-percentages-breakdown__sequence__heading"><div class="cly-vue-remote-config-percentages-breakdown__sequence bu-py-1 bu-px-2" :data-test-id="testId + \'other-order-label\'">{{i+2}}</div>\
70+
<td class="cly-vue-remote-config-percentages-breakdown__sequence__heading"><div class="cly-vue-remote-config-percentages-breakdown__sequence bu-py-1 bu-px-2" :data-test-id="testId + \'-other-order-label-\' + i">{{i+2}}</div>\
7171
</td>\
72-
<td class="has-ellipsis cly-vue-remote-config-percentages-breakdown__condition__heading bu-pr-1"><div class="has-ellipsis cly-vue-remote-config-percentages-breakdown__data bu-py-2 bu-px-1 cly-vue-remote-config-percentages-breakdown__condition" :style="{backgroundColor: condition.color}"><span class="cly-vue-remote-config-percentages-breakdown__condition__vertical-align"><img src="/remote-config/images/call_split.svg"/></span><span class="cly-vue-remote-config-percentages-breakdown__condition__vertical-align bu-ml-2 bu-mr-3 text-medium" :data-test-id="testId + \'condition-name-label\'">{{condition.name}}</span><span class="cly-vue-remote-config-percentages-breakdown__condition__vertical-align cly-vue-remote-config-percentages-breakdown__condition__value bu-py-1 bu-px-2 text-small" v-tooltip="condition.value" :data-test-id="testId + \'condition-value\'">{{condition.value}}</span></div></td>\
72+
<td class="has-ellipsis cly-vue-remote-config-percentages-breakdown__condition__heading bu-pr-1"><div class="has-ellipsis cly-vue-remote-config-percentages-breakdown__data bu-py-2 bu-px-1 cly-vue-remote-config-percentages-breakdown__condition" :style="{backgroundColor: condition.color}"><span class="cly-vue-remote-config-percentages-breakdown__condition__vertical-align"><img src="/remote-config/images/call_split.svg"/></span><span class="cly-vue-remote-config-percentages-breakdown__condition__vertical-align bu-ml-2 bu-mr-3 text-medium" :data-test-id="testId + \'-condition-name-label-\' + i">{{condition.name}}</span><span class="cly-vue-remote-config-percentages-breakdown__condition__vertical-align cly-vue-remote-config-percentages-breakdown__condition__value bu-py-1 bu-px-2 text-small" v-tooltip="condition.value" :data-test-id="testId + \'-condition-value-\' + i">{{condition.value}}</span></div></td>\
7373
<td class="cly-vue-remote-config-percentages-breakdown__percentage__heading">\
74-
<div class="bu-is-flex"><div class="text-big font-weight-bold" :data-test-id="testId + \'percentage-label\'">{{condition.percentage}}% </div> <div class="font-weight-normal color-cool-gray-100 bu-pt-1 bu-pl-1" :data-test-id="testId + \'percent-of-label\'">{{i18n("remote-config.percent.of.total")}}</div></div>\
74+
<div class="bu-is-flex"><div class="text-big font-weight-bold" :data-test-id="testId + \'-percentage-label-\' + i">{{condition.percentage}}% </div> <div class="font-weight-normal color-cool-gray-100 bu-pt-1 bu-pl-1" :data-test-id="testId + \'-percent-of-label-\' + i">{{i18n("remote-config.percent.of.total")}}</div></div>\
7575
</td>\
7676
</tr>\
7777
</tbody>\

plugins/remote-config/frontend/public/templates/create-condition.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
<div class="text-medium text-heading bu-mt-4">{{condition.name}}</div>
1010
<div>
1111
<el-input
12+
:test-id="'add-value-for-selected-condition-' + condition.name"
1213
v-model ="condition.value"
1314
placeholder="Enter condition value">
1415
<el-button type="text" slot="suffix" @click="openJsonEditorForCondition" class="cly-vue-remote-config-parameters-drawer__autocomplete-button">{ }</el-button>

plugins/remote-config/frontend/public/templates/parameters.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
type="expand" min-width="50">
2222
<template v-slot="props">
2323
<cly-section>
24-
<condition-stats :test-id="'datatable-remote-config-' + scope.$index" :parameter="props.row"></condition-stats>
24+
<condition-stats :test-id="'datatable-remote-config-' + props.$index" :parameter="props.row"></condition-stats>
2525
</cly-section>
2626
</template>
2727
</el-table-column>

plugins/views/scripts/omitViewSegments.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//Put script in ./countly/plugins/views/omitViewSegments.js
1+
//Put script in ./countly/plugins/views/scripts/omitViewSegments.js
22
/*
33
The script deletes data for specific segments in aggregated data. It also can set an omitting list in the database to ensure that segments are also omitted on incoming data.
44
*/

0 commit comments

Comments
 (0)