Skip to content

Conversation

@rfontanarosa
Copy link
Collaborator

closes #1693

@rfontanarosa rfontanarosa requested a review from gino-m October 14, 2025 16:18
@rfontanarosa rfontanarosa self-assigned this Oct 14, 2025
@rfontanarosa rfontanarosa requested a review from gino-m October 16, 2025 14:06
@rfontanarosa rfontanarosa marked this pull request as ready for review October 17, 2025 11:56
surveyId?: string | null;
json = '';

private surveyIdSignal = this.navigationService.getSurveyId();
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Re need to remove this call.

private subscription = new Subscription();
export class EditSurveyComponent {
private urlSignal = this.navigationService.getUrl();
private surveyIdSignal = this.navigationService.getSurveyId();
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should not exist.

activeSurvey$: Observable<Survey>;
private subscription = new Subscription();
export class MainPageContainerComponent {
private surveyIdSignal = this.navigationService.getSurveyId();
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same here.

return this.urlParamsSignal;
}

getSurveyId(): Signal<string | null> {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This getFooId methods should be deleted.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Code health] Wrap url path in custom class and expose as signal from NavigationService

3 participants