Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release 2025.04 updates #1514

Merged
merged 4 commits into from
Jan 22, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -88,9 +88,15 @@ export class PostDetailsComponent extends BaseComponent implements OnChanges, On
this.postId = Number(params['id']);
}
});

//map View
if (this.postFromModal) {
this.post = this.postFromModal;
this.postChanged = false;

//assign post id and get survey
this.postId = this.post.id;
this.getSurvey();
} else {
this.dataSubscription = this.route.data.subscribe((data) => {
this.post = data['post'];
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,12 +57,12 @@ export class OnboardingComponent implements AfterViewInit {
this.router.navigate(['/settings']);
}

// if (this.onboardingSteps[data.order].dynamic) {
// setTimeout(() => {
// this.customTourService.updateHighlightedElements();
// this.isHidden = false;
// }, 1000);
// }
if (this.onboardingSteps[data.order].dynamic) {
setTimeout(() => {
this.customTourService.updateHighlightedElements();
this.isHidden = false;
}, 1000);
}
},
});

Expand Down Expand Up @@ -97,15 +97,6 @@ export class OnboardingComponent implements AfterViewInit {
next: () => this.initOnboarding(),
});

this.eventBusService.on(EventType.FeedPostsLoaded).subscribe({
next: () => {
setTimeout(() => {
this.customTourService.updateHighlightedElements();
this.isHidden = false;
}, 100);
},
});

this.sessionService.isFiltersVisible$.pipe(untilDestroyed(this)).subscribe({
next: (isFiltersVisible) => {
setTimeout(() => {
Expand Down
2 changes: 1 addition & 1 deletion apps/web-mzima-client/src/assets/locales/en_GB.json
Original file line number Diff line number Diff line change
Expand Up @@ -978,7 +978,7 @@
"locked_tooltip": "This post is being edited by someone else. Please try again later."

},
"post_not_authorized": "You are not authorized to perform this action on this post.",
"post_not_authorized": "You are not authorised to perform this action on this post.",
"modify": {
"intro": "Select survey:",
"no_task_values": "There are currently no saved values for this task.",
Expand Down
3 changes: 2 additions & 1 deletion libs/sdk/src/lib/helpers/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ export const ONLY = {
NAME_ID_COLOR: 'name,id,color',
NAME_COLOR_PERMISSIONS: 'name,color,everyone_can_create,can_create',
NAME_ID_DESCRIPTION: 'name,id,description',
NEEDED_POSTS_LIST_PROPERTIES: 'id,title,content,status,color,contact,locks,post_media,data_source_message_id,post_date',
NEEDED_POSTS_LIST_PROPERTIES:
'id,title,content,author_realname,status,color,contact,locks,post_media,data_source_message_id,post_date',
TAG_ID_PARENTID_PARENT_SLUG: 'tag,id,parent_id,parent,slug',
TAG_ID_PARENTID_PARENT_SLUG_CHILDREN: 'tag,id,parent_id,parent,slug,children',
TAG_ID_PARENTID_CHILDREN: 'tag,id,parent_id,children',
Expand Down
Loading