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

tweak(tupaiaWeb): RN-1088 Description in Export Preview & Download File #5905

Merged
merged 13 commits into from
Nov 3, 2024

Conversation

hrazasalman
Copy link
Contributor

Issue #: RN-1088

Changes:

  • Addition of description text area on export preview.

Screenshots:

Screenshot 2024-09-16 at 6 56 54 pm Screenshot 2024-09-16 at 6 57 25 pm

Copy link
Contributor

@alexd-bes alexd-bes left a comment

Choose a reason for hiding this comment

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

So good! Just a few changes requested from me, mainly around how validation is handled

<PDFExportDashboardItem
key={dashboardItem.code}
dashboardItem={dashboardItem}
entityName={entity?.name}
activeDashboard={activeDashboard}
isPreview={isPreview}
settings={settings}
displayDescription={pageIndex === 1 || (!isPreview && i === 0)}
Copy link
Contributor

Choose a reason for hiding this comment

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

Currently (although this is due to change) there is 1 visual per page, so as long as i===0 this should always be the same as being the first page.
Once we merge in the other ticket that I worked on with continuous pages, you can amend this.

Copy link
Contributor

@alexd-bes alexd-bes left a comment

Choose a reason for hiding this comment

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

LGTM

@tcaiger tcaiger merged commit f85052f into dev Nov 3, 2024
44 checks passed
@tcaiger tcaiger deleted the rn-1088-description-on-preview branch November 3, 2024 20:31
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.

3 participants