Skip to content

Commit 2236bce

Browse files
authored
Merge branch 'master' into dependabot/npm_and_yarn/sass-1.98.0
2 parents f360dd7 + 324dfbe commit 2236bce

File tree

6 files changed

+28
-9
lines changed

6 files changed

+28
-9
lines changed

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
## Version 25.03.X
2+
Fixes:
3+
- [dashboards] Unescape event segment values in meta
4+
5+
Enterprise fixes:
6+
- [data-manager] Fix validation approval button label
7+
- [data-manager] Fix validation table column names
8+
19
## Version 25.03.38
210
Fixes:
311
- [push] Fixed the property name by changing it from link to url for message buttons for Huawei messages

plugins/dashboards/api/parts/dashboards.js

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1213,6 +1213,14 @@ function getEventsModel(params, apps, appId, collection, segment, event, widget)
12131213
}
12141214

12151215
fn(function(data) {
1216+
if (data.meta && data.meta.segments) {
1217+
data.meta.segments.forEach((sg) => {
1218+
if (data.meta[sg] && data.meta[sg].length > 0) {
1219+
data.meta[sg] = data.meta[sg].map((item) => common.decode_html(item));
1220+
}
1221+
});
1222+
}
1223+
12161224
countlyCommon.setPeriod(paramsObj.qstring.period);
12171225

12181226
var model = countlyModel.load("event");
@@ -1315,4 +1323,4 @@ function getCrashModel(params, apps, appId, collection, widget) {
13151323
});
13161324
}
13171325

1318-
module.exports = dashboard;
1326+
module.exports = dashboard;

plugins/data-manager/frontend/public/localization/data-manager.properties

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -259,6 +259,7 @@ data-manager.related-property = Related Property
259259
data-manager.delete-transformation-permanently = Delete Transformation permanently?
260260
data-manager.delete-transformation = Delete Transformation
261261
data-manager.error = Error
262+
data-manager.error-type = Error Type
262263
data-manager.error-last-triggered = Error Last Triggered
263264
data-manager.occurence-count = Occurences
264265
data-manager.approve = Approve
@@ -381,4 +382,4 @@ data-manager.copy-to-user-custom.type = Custom User Property Type
381382
data-manager.copy-to-user-custom.existing= Existing
382383
data-manager.copy-to-user-custom.new = New
383384
data-manager.copy-to-user-custom.select-type = Existing Custom User Property
384-
data-manager.copy-to-user-custom.new-type = New Custom User Property
385+
data-manager.copy-to-user-custom.new-type = New Custom User Property

plugins/push/api/send/data/message.js

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -382,19 +382,22 @@ class Message extends Mongoable {
382382

383383
/**
384384
* Filter contents for given lang-platform combination
385-
*
385+
*
386386
* @param {Content[]|object[]} contents array of contents to filter
387387
* @param {string} p platform key
388388
* @param {string} la language key
389389
* @returns {Content[]} array of contents which are applicable for this p/l case
390390
*/
391391
static filterContents(contents, p, la) {
392-
return (contents || []).filter(c => (!p || (!c.p || c.p === p)) && (!la || (!c.la || c.la === la)));
392+
return (contents || []).filter(
393+
c => (!p || (!c.p || c.p === p || (c.p === "a" && p === "h")))
394+
&& (!la || (!c.la || c.la === la))
395+
);
393396
}
394397

395398
/**
396399
* Get Content instance by p & l given. `content()` returns default content.
397-
*
400+
*
398401
* @param {string} p platform key
399402
* @param {string} la language key
400403
* @returns {Content|undefined} Content instance if one with given p & l exists or undefined

ui-tests/cypress/e2e/dashboard/manage/apps/apps.cy.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,5 @@ describe('Create apps with different types such as Desktop, Mobile, and Web. ',
100100
navigationHelpers.goToApplicationsPage();
101101
appHelper.searchApp(app.appName);
102102
appHelper.verifyAppShouldBeDeleted();
103-
104103
});
105104
});

ui-tests/package-lock.json

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)