-
Notifications
You must be signed in to change notification settings - Fork 22
Feat/162 settings api integration #85
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
Conversation
# Conflicts: # src/app/core/constants/ngxs-states.constant.ts
# Conflicts: # src/app/core/constants/ngxs-states.constant.ts # src/app/core/interceptors/auth.interceptor.ts # src/app/features/my-projects/models/node-response.model.ts # src/app/features/my-projects/models/update-node-request.model.ts # src/app/features/my-projects/services/my-projects.service.ts # src/app/features/project/contributors/contributors.component.ts # src/app/features/project/settings/components/accordion-table/accordion-table.component.ts # src/app/features/project/settings/components/settings-commenting-card/settings-commenting-card.component.ts # src/app/features/project/settings/components/settings-project-form-card/settings-project-form-card.component.ts # src/app/features/project/settings/components/settings-view-only-links-card/settings-view-only-links-card.component.ts # src/app/features/project/settings/models/index.ts # src/app/features/project/settings/settings.component.html # src/app/features/project/settings/settings.component.ts # src/app/features/settings/notifications/store/notification-subscription.state.ts
| <th> | ||
| {{ 'myProjects.settings.viewOnlyTable.sharedComponents' | translate }} | ||
| </th> | ||
| @if (tableData().items && tableData().items.length) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| @if (tableData().items && tableData().items.length) { | |
| @if (tableData().items?.length) { |
It can be simplified.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
when i've tried simplified angular throwed an errror.
src/app/features/settings/notifications/mappers/notification-subscription.mapper.ts
Outdated
Show resolved
Hide resolved
src/app/features/project/settings/store/empty-project-settings.ts
Outdated
Show resolved
Hide resolved
src/app/features/project/settings/store/empty-project-settings.ts
Outdated
Show resolved
Hide resolved
...ttings/components/project-setting-notifications/project-setting-notifications.component.html
Outdated
Show resolved
Hide resolved
...gs/components/project-detail-setting-accordion/project-detail-setting-accordion.component.ts
Show resolved
Hide resolved
src/app/features/project/settings/components/accordion-table/accordion-table.component.ts
Outdated
Show resolved
Hide resolved
...ttings/components/project-setting-notifications/project-setting-notifications.component.html
Show resolved
Hide resolved
| @@ -0,0 +1,2 @@ | |||
| export * from './settings.service'; | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It makes clear what you export and avoid circular dependencies.
Also added api integration for view-only-links in contributors page