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

#6156: Footer image for Sub-Dataverse #6219

Merged
merged 19 commits into from
Oct 2, 2019
Merged

Conversation

Gerafp
Copy link
Contributor

@Gerafp Gerafp commented Sep 25, 2019

New Contributors

Welcome! New contributors should at least glance at CONTRIBUTING.md, especially the section on pull requests where we encourage you to reach out to other developers before you start coding. Also, please note that we measure code coverage and prefer you write unit tests. Pull requests can still be reviewed without tests or completion of the checklist outlined below. Thanks!

Related Issues

Pull Request Checklist

@dataversebot
Copy link

Can one of the admins verify this patch?

@coveralls
Copy link

coveralls commented Sep 25, 2019

Coverage Status

Coverage decreased (-0.04%) to 19.449% when pulling 82dc1e7 on CIMMYT:6156-footer-image into ee874a6 on IQSS:develop.

@djbrooke djbrooke self-assigned this Sep 25, 2019
@djbrooke
Copy link
Contributor

Thanks @Gerafp for the PR. Assigning to myself to add some documentation for this.

Can you please put this on an AWS instance (like you did for #6154) so that we can review this more easily?

Thanks again!!

@djbrooke djbrooke removed their assignment Sep 25, 2019
@djbrooke
Copy link
Contributor

@Gerafp, I added the docs, please let us know when the branch is available and we'll review. Thanks!

@Gerafp
Copy link
Contributor Author

Gerafp commented Sep 25, 2019

Thanks @Gerafp for the PR. Assigning to myself to add some documentation for this.

Can you please put this on an AWS instance (like you did for #6154) so that we can review this more easily?

Thanks again!!

Hi @djbrooke

Yes, I deploy a instance here
http://ec2-52-203-33-8.compute-1.amazonaws.com:8080
dataverseAdmin
admin1

@djbrooke
Copy link
Contributor

Thanks @Gerafp, we'll take a look tomorrow and provide feedback!

A simple update to the tooltips without creating new ones. We can review if we want footer-specific tips.
@djbrooke djbrooke assigned djbrooke and unassigned Gerafp and djbrooke Sep 26, 2019
@djbrooke
Copy link
Contributor

@TaniaSchlatter passing your way for a design review. I'm OK with how this implemented as it basically mirrors what we allow for the logo in the header, but feel free to provide design feedback to @Gerafp and @alejandratenorio if you have any.

@Gerafp, @alejandratenorio, we'll also start a review of the code itself. Thanks again for this contribution!

@djbrooke
Copy link
Contributor

Thanks @TaniaSchlatter for discussing the feature and providing documentation feedback!

@pdurbin
Copy link
Member

pdurbin commented Sep 27, 2019

@djbrooke I approved this pull request but we could use this as an opportunity to refactor the code for both headers and footers and make it possible to set them via API. I believe @TaniaSchlatter recently asked if setting header logos for sample data is possible and it is not currently. Or we can, of course, defer adding these APIs (and API tests) until later.

@djbrooke
Copy link
Contributor

Thanks for the review the and the note @pdurbin. Let's move this to QA and not expand it to the API since it's good to go and it meets the use case for the external contributor.

@kcondon
Copy link
Contributor

kcondon commented Sep 30, 2019

@Gerafp When I deployed this it throws a 500 error, missing column, "logofooter", but I did not see a flyway entry to add this. Can you take a look?

@pdurbin
Copy link
Member

pdurbin commented Sep 30, 2019

@Gerafp hi! Two things:

@djbrooke
Copy link
Contributor

djbrooke commented Oct 1, 2019

@Gerafp @pdurbin I made these updates because if we don't get this into 4.17 we'll need to update the filename again. :) Moving to QA.

@pdurbin
Copy link
Member

pdurbin commented Oct 1, 2019

@djbrooke sounds good. I changed the .3 to .1 in 1e9abbc

@pdurbin
Copy link
Member

pdurbin commented Oct 1, 2019

@kcondon @djbrooke it occurs to me that we should probably test with multiple Glassfish and update http://guides.dataverse.org/en/4.16/installation/advanced.html#multiple-glassfish-servers if necessary. Here's what's written there now with the important bit highlighted in blue:

Screen Shot 2019-10-01 at 10 37 45 AM

@djbrooke djbrooke self-assigned this Oct 1, 2019
@djbrooke
Copy link
Contributor

djbrooke commented Oct 1, 2019

Thanks @pdurbin for discussing. I:

  • Updated the script name to 4.16.0.3.... because we plan to include it in 4.17
  • I updated the documentation about Flyway to put more emphasis on the naming scheme using the previous version (since this confused me)
  • Added the note about multiple glassfish servers that you recommended

@djbrooke djbrooke removed their assignment Oct 1, 2019
@mheppler mheppler self-assigned this Oct 1, 2019
@mheppler
Copy link
Contributor

mheppler commented Oct 1, 2019

Found a few issues in the UI while demoing this feature on the test server that @kcondon set up. Created a new branch at 6156-dv-theme-footer-cleanup that includes my changes, which I've outlined below, as well as updates from the latest merges to the develop branch.

  • dataverseFooterName, dataverseFooterTagline, dataverseFooterLink classes in CSS are not used in the XHTML and should be removed
  • Fix spacing between new footer and copyright and Dataverse Project logo
  • Footer overlaps custom footer
  • Add "logo" to image alt text
  • Remove Logo Format from footer because that is a header only feature

Will need to coordinate with @Gerafp to get this merged into his branch. (I tried to submit a PR against the original CIMMYT:6156-footer-image branch, but I couldn't seem to sort out how to do that in the GitHub.)

@kcondon kcondon merged commit 817ddd2 into IQSS:develop Oct 2, 2019
@kcondon kcondon self-assigned this Oct 2, 2019
@djbrooke djbrooke added this to the 4.17 milestone Oct 2, 2019
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.

Footer image and CSS customization for Sub-Dataverse
8 participants