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

Fix for Growth Chart’s print functionality being extremely slow in IE. #39

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

shriniketsarkar-zz
Copy link

Issue : The open source version of growth chart pops out a window for the print functionality. When the application is run in IE, launching the print window opens up the pop-up but the content is rendered extremely slow. This results in the user staring at a blank page for several seconds and sometimes minutes before any UI gets rendered on the screen. This gives the user an impression that the UI is stuck.
More Info on this Issue : #26

Fix : This PR fixes the slowness issue. The fix involves loading content on the popup window from the main growth chart window.

Changes :
A new gc-print.html page is loaded when we click on the Print Icon on Main window.
The Main GC window uses the rendered "Graph" and "Parent" views from the main window to be shown on the print popup based on the selection on the main window. If "Table" view is selected on the main window we redraw the table in a vertical orientation on the print popup.

**Printing Considerations/Instructions : **
The user will need to print in landscape mode for Graph and Parent views where as portrait mode can be used for Table view.

@shriniketsarkar-zz
Copy link
Author

@nschwertner @vlad-ignatov Can you guys take a look at this PR?

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