-
Notifications
You must be signed in to change notification settings - Fork 16
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
Feature/358 add unpublished label to collections page #372
Feature/358 add unpublished label to collections page #372
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.
Looks good, leave some comments just to improve layout.
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!
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.
I just created a test collection and it doesn't show the Unpublished label. It is shown in JSF.
SPA:
JSF:
maybe I'm missing something? @ekraffmiller
Oh, nevermind. I see the isReleased value is hardcoded to false. I am going to hardcode it to true and see what happens. @ekraffmiller EDIT: Looks good, approving: |
…el-to-collections-page Feature/358 add unpublished label to collections page
What this PR does / why we need it:
Adds an 'Unpublished' label to the Collections page, if the collection has not been published
Which issue(s) this PR closes:
Special notes for your reviewer:
The flag, isReleased, is not yet available from the javascript library, waiting for this: IQSS/dataverse-client-javascript#139
Suggestions on how to test this:
Look at the UnpublishedCollection Story, which shows the label: http://localhost:6006/?path=/story/sections-collection-page-collectioninfo--unpublished
Does this PR introduce a user interface change? If mockups are available, please link/include them here:
This is what the label looks like in JSF:
Is there a release notes update needed for this change?:
no
Additional documentation: