-
Notifications
You must be signed in to change notification settings - Fork 7
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
Conversation
There was a problem hiding this 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
packages/tupaia-web/src/features/Dashboard/ExportDashboard/ExportDashboard.tsx
Outdated
Show resolved
Hide resolved
packages/tupaia-web/src/features/ExportSettings/ExportDescriptionInput.tsx
Outdated
Show resolved
Hide resolved
packages/tupaia-web/src/features/ExportSettings/ExportDescriptionInput.tsx
Outdated
Show resolved
Hide resolved
packages/tupaia-web/src/features/ExportSettings/ExportDescriptionInput.tsx
Outdated
Show resolved
Hide resolved
packages/tupaia-web/src/features/ExportSettings/ExportDescriptionInput.tsx
Outdated
Show resolved
Hide resolved
packages/tupaia-web/src/features/ExportSettings/ExportDescriptionInput.tsx
Outdated
Show resolved
Hide resolved
packages/tupaia-web/src/features/ExportSettings/ExportDescriptionInput.tsx
Show resolved
Hide resolved
packages/tupaia-web/src/features/PDFExportDashboardItem/PDFExportDashboardItem.tsx
Outdated
Show resolved
Hide resolved
packages/tupaia-web/src/features/PDFExportDashboardItem/PDFExportDashboardItem.tsx
Outdated
Show resolved
Hide resolved
<PDFExportDashboardItem | ||
key={dashboardItem.code} | ||
dashboardItem={dashboardItem} | ||
entityName={entity?.name} | ||
activeDashboard={activeDashboard} | ||
isPreview={isPreview} | ||
settings={settings} | ||
displayDescription={pageIndex === 1 || (!isPreview && i === 0)} |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Issue #: RN-1088
Changes:
Screenshots: