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

707 add print button to pair dialog #718

Merged
merged 5 commits into from Sep 18, 2023

Conversation

Bdegraaf1234
Copy link
Collaborator

@Bdegraaf1234 Bdegraaf1234 commented Sep 15, 2023

Description: Adding a print button to the subject-pair dialogue.

Fixes #707

Checklist:

  • The Main workflow has succeeded
  • The Gatling tests have passed
  • I have logged into the portal running locally with default admin credentials
  • I have updated the README files if this change requires documentation update
  • I have commented my code, particularly in hard-to-understand areas

… be printed. I want to see if I can get this dynamic, since now these elements can never be printed using printscreen
printservice sets printlock from subject-pair-dialog.component.ts
printlock is read from main.component.html.
This needs a timeout in the print function call, hoping to resolve that still.
@Bdegraaf1234 Bdegraaf1234 linked an issue Sep 15, 2023 that may be closed by this pull request
@Bdegraaf1234 Bdegraaf1234 changed the base branch from master to dev September 15, 2023 12:48
@Bdegraaf1234 Bdegraaf1234 self-assigned this Sep 15, 2023
removed commented out code
removed unused references to _print.scss
removed unused print tag
blootsvoets
blootsvoets previously approved these changes Sep 18, 2023
Copy link
Member

@blootsvoets blootsvoets left a comment

Choose a reason for hiding this comment

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

The code looks good to me. Does the print view look as expected?

force angular to detect style changes by introducing a 0 ms timeout in setPrintLockTo
remove unused references
@Bdegraaf1234
Copy link
Collaborator Author

Bdegraaf1234 commented Sep 18, 2023

final printview:
image

@blootsvoets blootsvoets merged commit 2366ed1 into dev Sep 18, 2023
4 of 5 checks passed
@blootsvoets blootsvoets deleted the 707-add-print-button-to-pair-dialog branch September 18, 2023 12:09
@blootsvoets blootsvoets mentioned this pull request Oct 3, 2023
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.

Add print button to pair dialog
3 participants