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

Navbar Customization - Nav links for About and Guides #3637

Closed
mheppler opened this issue Feb 22, 2017 · 10 comments
Closed

Navbar Customization - Nav links for About and Guides #3637

mheppler opened this issue Feb 22, 2017 · 10 comments
Assignees
Labels
Feature: Performance & Stability Type: Feature a feature request UX & UI: Design This issue needs input on the design of the UI and from the product owner

Comments

@mheppler
Copy link
Contributor

mheppler commented Feb 22, 2017

Based on feedback from the community (#2003), we will provide configurable settings to allow for the customization of the following features in the Dataverse application's navbar:

@mheppler mheppler added Component: Documentation UX & UI: Design This issue needs input on the design of the UI and from the product owner labels Feb 22, 2017
@djbrooke djbrooke added this to the 4.7 - Dashboard and Customization milestone Feb 23, 2017
@djbrooke
Copy link
Contributor

Thanks for creating this one, @mheppler. Should we close #2831?

@mheppler
Copy link
Contributor Author

mheppler commented Mar 7, 2017

@djbrooke done

@pdurbin
Copy link
Member

pdurbin commented Mar 10, 2017

With regard to customization of links to the Guides, we should probably consider not only #2831 but also #2832 which is a bit different.

@dlmurphy
Copy link
Contributor

dlmurphy commented May 22, 2017

Last month the Design team put together a document summarizing research insights that can help inform this feature:
https://docs.google.com/a/harvard.edu/document/d/17GqVnhUw8glb0ikQ5pYX07ed5LEs2M5LYZkAkuNvUnI/edit?usp=sharing

Stuff that jumps out to me:

  1. If Guides links are configurable in the navbar, users might be directed to the wrong guides in notifications.

These notifications include links to the User Guide:

  • Account creation notification & email
  • New Dataverse creation notification & email
  • New Dataset creation notification & email

These site messages include links to the User Guide:

  • When you limit a search to the point where there are zero results, a message directs you to the User Guide.

One solution would be: if an installation uses a custom URL for its guides, these custom URLs are automatically populated in all Dataverse notifications as well.

  1. In this Google Group post, someone requested the ability to add a “Blog” link to the navbar that led to their institution’s blog. Should installations be able to add new links to their navbars?

raprasad added a commit that referenced this issue May 24, 2017
mheppler added a commit that referenced this issue May 30, 2017
…nal guide links. Removed "Guides" link from navbar code example in Style Guide. [ref #3637]
@raprasad
Copy link
Contributor

raprasad commented May 31, 2017

The following navbar link updates are included:

/cc @shlake

@mheppler
Copy link
Contributor Author

Concerns regarding the notifications in comment above from @dlmurphy have been reviewed with the changes from @pdurbin and it looks like all User Guides links are properly pointing to the correct hosted guide and version, as set in the configurations.

There is also the open issue "Notifications: Ability to modify included text" #2710 from @shlake that looks at the notifications in more detail.

@sekmiller
Copy link
Contributor

Code looks good. Passing to QA. There's still a file called 'navbar.html' that doesn't seem to be used currently. It should probably be deleted from the project at some point.

@sekmiller
Copy link
Contributor

Also, branch is a couple of commits behind dev at the moment. It needs another update.

@sekmiller sekmiller removed their assignment May 31, 2017
@mheppler
Copy link
Contributor Author

@sekmiller I will update the branch now with develop.

Re:navbar.html -- I think that file you are referencing is only part of the UI for the docs, and not the app.

screen shot 2017-05-31 at 4 22 04 pm

@pdurbin pdurbin changed the title Navbar Customization - Logo, Name, Nav links for About and Guides Navbar Customization - Nav links for About and Guides Jun 1, 2017
@pdurbin
Copy link
Member

pdurbin commented Jun 1, 2017

I ran the code locally as of 32a90dd and it looks good. I fixed the title of this issue since the stated scope has decreased (nothing about the logo anymore) but a note from @raprasad to @kcondon (or a conversation) would be appreciated since I noticed many changes of settingsService to settingsWrapper like this:

  • settingsWrapper.getValueForKey(SettingsServiceBean.Key.ComputeBaseUrl) + getSwiftContainerName()
  • settingsWrapper.isTrueForKey(SettingsServiceBean.Key.DatasetPublishPopupCustomTextOnAllVersions, false);
  • signupAllowed = settingsWrapper.isTrueForKey(SettingsServiceBean.Key.AllowSignUp, safeDefaultIfKeyNotFound);
  • etc, etc.

These are welcome performance improvements so I'll add the appropriate GitHub label.

pdurbin added a commit that referenced this issue Jun 2, 2017
Conflicts:
src/main/java/edu/harvard/iq/dataverse/DatasetPage.java

Just some Inject's at the top were in conflict.
@kcondon kcondon self-assigned this Jun 7, 2017
@kcondon kcondon closed this as completed Jun 7, 2017
@kcondon kcondon removed the Status: QA label Jun 7, 2017
@pdurbin pdurbin added the Type: Feature a feature request label Jun 23, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature: Performance & Stability Type: Feature a feature request UX & UI: Design This issue needs input on the design of the UI and from the product owner
Projects
None yet
Development

No branches or pull requests

7 participants