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

Common popup buttons #1794

Merged
merged 10 commits into from
Apr 3, 2023
Merged

Common popup buttons #1794

merged 10 commits into from
Apr 3, 2023

Conversation

TheSlimvReal
Copy link
Collaborator

@TheSlimvReal TheSlimvReal commented Mar 23, 2023

Based on #1752, so review and merge this first.

Cleanup and generalisation of the Save, Cancel, Go to details and Delete buttons in the various popups (NoteDetails, TodoDetails, RowDetails).

Visible/Frontend Changes

  • Buttons look and behave the same in all popups

Architectural/Backend Changes

--

@TheSlimvReal TheSlimvReal changed the base branch from master to note_redesign March 23, 2023 14:38
@github-actions
Copy link

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

@github-advanced-security
Copy link

You have successfully added a new SonarCloud configuration ``. As part of the setup process, we have scanned this repository and found no existing alerts. In the future, you will see all code scanning alerts on the repository Security tab.

@TheSlimvReal TheSlimvReal force-pushed the common_popup_buttons branch from 3ec50fd to d897f8b Compare March 27, 2023 07:34
@sonarcloud
Copy link

sonarcloud bot commented Mar 27, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication


constructor(
private entityFormService: EntityFormService,
private dialog: MatDialogRef<any>,
Copy link
Member

Choose a reason for hiding this comment

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

is this legit to inject here, as the component is only indirectly created through MatDialog? ... Seems to work though, I guess.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Yeah I was thinking the same but I guess the injection is also valid all children of the component. I believe this is how the component scoped injection works.

@TheSlimvReal TheSlimvReal merged commit fbd7916 into note_redesign Apr 3, 2023
@TheSlimvReal TheSlimvReal deleted the common_popup_buttons branch April 3, 2023 12:53
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.

2 participants