ChildMindInstitute / mindlogger-app

MindLogger (React Native) data collection app
Other
15 stars 6 forks source link

Page Breaks Between Each Activity in the Report #2859

Open e-kass opened 2 years ago

e-kass commented 2 years ago

For reports that are generated from multiple (1+) activities, there should be a page break between them.

Result of this error: Logos are showing up in the middle of the pages (I think this is because the logos are associated with/linked to the activity header)

See Screenshot here. red shows where the logo is popping up INCORRECTLY. Should be at the TOP RIGHT CORNER of the page. pink shows the end of activity 1 purple shows beginning of activity 2 orange shows where the page break should be (between the 2 activities)

Screen Shot 2022-09-01 at 4.21.34 PM.png

NOTE - Our temporary fix for this included removing the logo. This logo is the applet image not the applet watermark.

Screenshot below "removes" the logo from being associated with the activity header.

Screen Shot 2022-09-01 at 4.29.27 PM.png

To see full incorrect report, see below. Use password: **Pmhsa2022*** to access the report

https://app.zenhub.com/files/103405139/c7a92b82-49e8-471b-89ba-1ab1d4a345a3/download

natalia-muzyka commented 1 year ago

@Tom1204 Video: https://www.screencast.com/t/IF5XMeoq

Environment: https://admin-staging.mindlogger.org/ test_account@ml.com / 123456 applet: Reports test flow: Combined Applet password: Qwe123!!!

yzenchanka commented 1 year ago

Page breaks are fixed https://app.zenhub.com/files/103405139/da9b6846-177e-453d-a6d0-bb7f6874e779/download Environment: https://admin.mindlogger.org/ Win 10 / Chrome 103

Note: logo is still displayed in report. @hotavocado @e-kass Сould you please clarify whether we need to remove the logo from the report?

yzenchanka commented 1 year ago

https://app.zenhub.com/files/103405139/52e5a3c5-6e8e-4e9f-9978-18a8fca6ab9c/download Password: Asd123!!!

natalia-muzyka commented 1 year ago

There is a separate ticket for applet image in the report: https://app.zenhub.com/workspaces/mindlogger-5e11094d0c26311588da9626/issues/childmindinstitute/mindlogger-admin-old-vue/1779 This ticket can be closed.

yzenchanka commented 1 year ago

The issue is reproduced

There is no page breaks between each Activity in the Report. See the attached file (Applet password Asd123!!!)https://app.zenhub.com/files/103405139/b1f527c5-71cf-4074-934f-e2692eb8bd1c/download

Environment: https://admin-staging.mindlogger.org/ Win 10 / Chrome 108

FYI @natalia-muzyka