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

Widgets: Dataset Pg Widget #2499

Closed
eaquigley opened this issue Sep 8, 2015 · 6 comments
Closed

Widgets: Dataset Pg Widget #2499

eaquigley opened this issue Sep 8, 2015 · 6 comments
Assignees
Labels
Feature: Search/Browse Type: Feature a feature request UX & UI: Design This issue needs input on the design of the UI and from the product owner
Milestone

Comments

@eaquigley
Copy link
Contributor

eaquigley commented Sep 8, 2015

Currently only two widgets exist:

  1. Dataverse + Dataset listing
  2. Search box

Need to determine additional widgets (such as dataset page and file page ones) as well as improve the current widgets to be more responsive and have more features (e.g.-facets).

@eaquigley eaquigley added Type: Feature a feature request UX & UI: Design This issue needs input on the design of the UI and from the product owner labels Sep 8, 2015
@eaquigley eaquigley added this to the In Design milestone Sep 8, 2015
@eaquigley
Copy link
Contributor Author

Related to #2498, #1011, #2090, #2469

@posixeleni
Copy link
Contributor

See also #1203 which is a deliverable we need to complete for a grant funded project

@mercecrosas mercecrosas modified the milestones: 4.3, In Review Nov 30, 2015
@mheppler mheppler removed their assignment Jan 19, 2016
@mheppler mheppler changed the title Widgets: Improve current widgets and determine additional widgets Widgets: External View of Dataset Jan 25, 2016
@mheppler
Copy link
Contributor

As the comments above show, a lot of improvements and new widget features already have development issues created. There isn't an issue for the dataset page yet, so I am narrowing the scope of this ticket to just that feature by changing the title.

@mheppler mheppler changed the title Widgets: External View of Dataset Widgets: Dataset Pg Widget Jan 25, 2016
@mheppler mheppler added Feature: Dataverse General Info Edit dataverse > "General Information" > Name, Alias, Email, Metadata Fields, et al... Feature: Search/Browse and removed Feature: Dataverse General Info Edit dataverse > "General Information" > Name, Alias, Email, Metadata Fields, et al... labels Jan 27, 2016
@scolapasta scolapasta removed this from the Not Assigned to a Release milestone Jan 28, 2016
@scolapasta scolapasta added this to the 4.4 milestone Mar 14, 2016
@mheppler
Copy link
Contributor

Reviewed this issue with @scolapasta and discussed possible dynamic solutions that would allow the dataset pg to be displayed in the widgets using a UI template specific to the widgets and not the full-featured layout of the dataverse_template.xhtml. This solution needs to be scalable so that not only the dataset pg, but also the dataverse, file and any other future pages can also use this new widget template.

Some things the new widget template needs to do:

  • Functions as dataverse_template.xhtml does, serving as the layout container to multiple pages
  • Delivers: CSS, JS, analytics (?), branding, breadcrumbs, message, etc.
  • Page references to a template would point to dynamic logic in the bean #{dataverseSession.layoutTemplate} which determines the template to use based on the layout needed

mheppler added a commit that referenced this issue Mar 22, 2016
mheppler added a commit that referenced this issue Mar 22, 2016
…endering various components of dataverse_template. [ref #2499]
mheppler added a commit that referenced this issue Apr 12, 2016
…dgets pg. Added "not published" text to the bundle. [ref #2090 #2499]
mheppler added a commit that referenced this issue Apr 28, 2016
…oval of widget=iframe in a previous check in. [ref #2090 #2499]
mheppler added a commit that referenced this issue Apr 29, 2016
…leaned up styling and messaging in footer on dataverse_template plus forwarding message on citation-frame. [ref #1722 #2090 #2499]
mheppler added a commit that referenced this issue May 3, 2016
mheppler added a commit that referenced this issue May 4, 2016
mheppler added a commit that referenced this issue May 11, 2016
…n layout on dataset pg and dataset result cards on search-include. Wired up Advanced Search to work inside widget. Moved citation and footer blocks into new include files. Moved inline CSS to stylesheet. Moved text to bundle. [ref #2499 #2090]
mheppler added a commit that referenced this issue May 12, 2016
…ch and showFacet params no longer needed with new backend support for widget render logic. [ref #2499 #2090]
mheppler added a commit that referenced this issue May 12, 2016
mheppler added a commit that referenced this issue May 12, 2016
mheppler added a commit that referenced this issue May 12, 2016
mheppler added a commit that referenced this issue May 12, 2016
@scolapasta scolapasta mentioned this issue May 13, 2016
11 tasks
@mheppler
Copy link
Contributor

mheppler commented May 13, 2016

Requirements outline as copied from FRD. Checked into 2469-widgets branch.

Dataset Page

  • Add “Widgets” option to “Edit” button
  • New citation block layout to make it stand out a little more
    • Create new include for the citation block
    • Full citation, with persistentUrl link, opens in new window
    • Cite Data button (changed from “Download Citation”)
    • BibTex no longer downloads, but displays in browser
  • Metadata HTML links in compound field values open in new window

Dataset Widgets Admin Page

  • Widget code available for published data only
    • No widget code generated before published (“Why widgets…” messaging)
  • Help text with link to User Guides
  • Code available for Dataset “Full” and Dataset Citation widgets
  • “Done” button returns to dataset pg
  • Apply bug fix for User Access/Permissions Permissions - Pages w/o Log In Accessible Via URL #2841

Dataset “Full” Widget #2499

  • Published data only
    • No widget code generated before published (“Why widgets…” messaging)
  • Dataverse branding w/ “Data is stored at…” msg, link to installation Widgets: Add Branding to Data Listing Widget #2469
  • Displays a slimmer/leaner layout intended for the widget, not full Dataverse layout intended for desktop browsers
    • YES: breadcrumbs, msg block, contact author button, title, citation, files, metadata, terms tabs
    • NO: header, footer, metrics block, link/share buttons, edit button, metadata summary block, versions tab
  • “Log in” link in footer to access admin features on full Dataverse installation
  • Breadcrumbs Widgets: Add Link to Individual's Dataverse Page #2090
    • Links to parent dataverse and anything higher in the hierarchy opens in a new window
  • Navigation (general, see use cases for more specific…)
    • Click persistentId URL in citation, page opens in new window (this is for both the widget and full version of dataverse)
    • Click “Cite Data” button…
      • EndNote XML and RIS downloads within widget
      • BibTex new page opens in new window (this is for both the widget and full version of dataverse)
    • Click “Find” button for search, opens within widget
    • Click “Request Access” button...
      • Sign Up or Log In links, new page opens in new window
    • Click “Download” button…
    • File downloads within widget
    • Download File popup (Guestbook) opens within widget
    • Click user entered HTML link in metadata value, new page opens in new window (this is for both the widget and full version of dataverse)
    • Click “Preview Guestbook” button, popup opens within widget

Dataset Citation Widget

  • New citation block layout to make it stand out a little more
    • Create new include for the citation block
  • Full citation, with persistentUrl link, opens in new window
  • Cite Data button (changed from “Download Citation”)
    • BibTex no longer downloads, but displays in browser
  • Data Citation Standards msg + link, shortened to “Learn about…”
  • Dataverse branding w/ “Data is stored at…” msg, link to installation Widgets: Add Branding to Data Listing Widget #2469
  • Keep iframe pg wrapper from loading into a window, outside of the widget’s iframe

Dataset “persistentUrl” Forwarding

  • Dataverse Theme + Widgets Admin Page
    • Opt-in via Advanced Options at the dataverse level only
    • Validation for Personal Website URL format
    • Success msg
  • Update URL’s in DataCite
  • Citation servlet
  • iFrame Landing Page
    • Banner/bar with “If the site below does not load...” msg
    • Link to Dataverse installation, close msg “X” icon forwards to external site
    • Automatic delayed forward to external site (example), with counter (example)
    • DOI passed as query parameter in URL to widget

@mheppler mheppler assigned kcondon and unassigned scolapasta May 13, 2016
mheppler added a commit that referenced this issue May 17, 2016
mheppler added a commit that referenced this issue May 17, 2016
…es for Request Access popups displayed on the dataset pg within widgets. [ref #2499]
mheppler added a commit that referenced this issue May 18, 2016
@kcondon
Copy link
Contributor

kcondon commented May 26, 2016

OK, works as described, closing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature: Search/Browse 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

6 participants