-
Notifications
You must be signed in to change notification settings - Fork 269
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
[ACS-8644] Fixed issue where download button and comments section was missing on manage versions dialog #10119
[ACS-8644] Fixed issue where download button and comments section was missing on manage versions dialog #10119
Conversation
… missing on manage versions dialog
Quality Gate passedIssues Measures |
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.
works as expected, I was on a wrong branch 🙂
const { file, node, showVersionsOnly, showComments, allowDownload } = data; | ||
const { file, node, showVersionsOnly } = data; | ||
const allowDownload = data.allowDownload ?? true; | ||
const showComments = data.showComments ?? true; |
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.
should we add tests here for these or it's not necessary?
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.
These flags are passed as data to the NewVersionUploaderDialog component, and then eventually to the VersionList component as input property. The tests for showing and hiding download button and comments section, based on the data present in that component, are already present under the unit tests for that component (here and here). So I don't think its required here anymore
Please check if the PR fulfills these requirements
What kind of change does this PR introduce? (check one with "x")
What is the current behaviour? (You can also link to an open issue here)
Download button and comments section from manage versions dialog was missing
What is the new behaviour?
Download button and comments section from manage versions dialog are now shown
Does this PR introduce a breaking change? (check one with "x")
If this PR contains a breaking change, please describe the impact and migration path for existing applications: ...
Other information:
https://hyland.atlassian.net/browse/ACS-8644
Root cause analysis - comment