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

[Simon] fix: plus button in notes / tasks of child correctly opens popup again #2192

Merged
merged 7 commits into from
Jan 23, 2024

Conversation

TheSlimvReal
Copy link
Collaborator

@TheSlimvReal TheSlimvReal commented Jan 23, 2024

Closes #2188
Alternative to #2190

TODO

  • Changes after Checked in AttendanceDetailsComponent

Copy link
Contributor

Deployed to https://pr-2192.aam-digital.net/

@TheSlimvReal TheSlimvReal changed the title [Simon] Pull requests list fix: plus button in notes / tasks of child correctly opens popup again [Simon] fix: plus button in notes / tasks of child correctly opens popup again Jan 23, 2024
Copy link
Member

@sleidig sleidig left a comment

Choose a reason for hiding this comment

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

I like your implementation. Seems to work well - I did not find a "Changed after checked" warning.

The updates of new notes and todos currently throws in everything - even unrelated entities. But I would hope to fix this with further index generalization at some point, so maybe acceptable right now.

async ngOnInit() {
this.entries = await this.loadDataFor(this.entity.getId(true));
override async initData() {
this.data = await this.loadDataFor(this.entity.getId(true));
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
this.data = await this.loadDataFor(this.entity.getId(true));
// TODO: RelatedEntitiesComponent listening to entity updates currently adds any task (also unrelated to this entity) -> add better filters?
this.data = await this.loadDataFor(this.entity.getId(true));

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

We already have the same issue in NotesRelatedToEntities so I would rather collect this in an issue -> #2195

…omponent.ts

Co-authored-by: Sebastian <sebastian@aam-digital.com>
@TheSlimvReal TheSlimvReal merged commit 048de5f into master Jan 23, 2024
7 checks passed
@TheSlimvReal TheSlimvReal deleted the fix-plus-simon branch January 23, 2024 18:23
@aam-digital-ci
Copy link
Collaborator

🎉 This PR is included in version 3.29.1-master.4 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

@aam-digital-ci aam-digital-ci added the released on @master managed by CI (semantic-release) label Jan 23, 2024
@aam-digital-ci
Copy link
Collaborator

🎉 This PR is included in version 3.30.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

@aam-digital-ci aam-digital-ci added the released managed by CI (semantic-release) label Jan 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
released on @master managed by CI (semantic-release) released managed by CI (semantic-release)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

'+' button not working in TodosRelatedToEntity and NotesRelatedToEntity
3 participants