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

gh-590 Change architecture of bulk editor #602

Merged
merged 1 commit into from
Jul 11, 2022
Merged

Conversation

pjmonks
Copy link
Contributor

@pjmonks pjmonks commented Jul 8, 2022

  • Create new service layer between components and Mauro REST API

Also added general fixes to bulk editor

  • Remove mix and match of Angular forms and reactive forms binding
  • Fix template error when parent data model not loaded yet
  • Fetch all data elements, not just first 20

Resolves #590

* Create new service layer between components and Mauro REST API

Also added general fixes to bulk editor

* Remove mix and match of Angular forms and reactive forms binding
* Fix template error when parent data model not loaded yet
* Fetch all data elements, not just first 20

gh-590 PR fixes
Copy link
Contributor

@OButlerOcc OButlerOcc left a comment

Choose a reason for hiding this comment

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

Lots of formatting changes assume this was old file.
Looks fine as I can see. New services are good.
If you have time, would like an explanation on how you've used unsubscribe$, seems useful.

@@ -42,6 +55,8 @@ export class BulkEditSelectComponent implements OnInit {
availableProfiles: ProfileSummary[];
setupForm: FormGroup;

private unsubscribe$ = new Subject();
Copy link
Contributor

Choose a reason for hiding this comment

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

can you explain this to me if you have time, its seems useful and I think i get whats its doing but I would like to know how its working.

@pjmonks pjmonks merged commit e1268bc into develop Jul 11, 2022
@pjmonks pjmonks deleted the feature/gh-590 branch July 11, 2022 12:55
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.

Create profile abstraction layer for bulk editor
2 participants