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

Highlight Notebooks in Documentation and Collection View #286

Merged
merged 6 commits into from Apr 17, 2019

Conversation

Projects
None yet
5 participants
@ianmilligan1
Copy link
Member

ianmilligan1 commented Apr 17, 2019

GitHub issue(s):

If you are responding to an issue, please mention their numbers below.

What does this Pull Request do?

This pull request adds in discussion of the notebooks as a "prototype" service in the documentation and FAQ, as well as in the collection view. The first two are straightforward, I am less sure about the latter.

Here is what the collection view looks like in this PR:

Screen Shot 2019-04-17 at 12 09 30 PM

Note that I've added an additional link to the documentation section under the notebook.

How should this be tested?

TravisCI should turn green, but more importantly, reviewers should look at the additional prose and make sure it is clear as well as the look and feel of the link. I am looking for any suggestions around the best way to highlight this without cluttering the page..

Interested parties

@ruebot @greebie @SamFritz

@ianmilligan1 ianmilligan1 requested review from greebie, ruebot and SamFritz Apr 17, 2019

@codecov-io

This comment has been minimized.

Copy link

codecov-io commented Apr 17, 2019

Codecov Report

Merging #286 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #286   +/-   ##
=======================================
  Coverage   96.22%   96.22%           
=======================================
  Files          35       35           
  Lines         557      557           
=======================================
  Hits          536      536           
  Misses         21       21

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update ade3aa8...7f5d493. Read the comment docs.

@@ -97,7 +97,7 @@
<% unless !File.exists? textfilter_path(@user.id, @collection.id, @collection.account) %>
<%= link_to('Text by Domains<br />'.html_safe + number_to_human_size(File.size(textfilter_path(@user.id, @collection.id, @collection.account))), user_collection_download_textfilter_path(@user.id, @collection.id, @collection.account), class: 'btn btn-primary', 'data-toggle': 'tooltip', 'data-placement': 'top', title: 'A zip file that contains the text of the top ten domains within a web archive, each within their own text file. Within the files you can find the crawl date, full URL, and the plain text of each page within the file.') %>
<% end %>
<p><small><%=link_to("You can find information about how to use these files here.", "/derivatives")%></small></p>
<p><small><%=link_to("Learn more about these files here.", "/derivatives")%> <%=link_to("We also have a prototype Jupyter Notebook service available.", "/documentation#notebooks")%></small></p>

This comment has been minimized.

Copy link
@ruebot

ruebot Apr 17, 2019

Member

Not sure about calling it a service. But then again, I'm sitting here and can't think of a better alternative. 🤷‍♂️

This comment has been minimized.

Copy link
@ianmilligan1

ianmilligan1 Apr 17, 2019

Author Member

Agreed, I also struggled with this - it's not quite a service, but we also probably need something beyond just a "jupyter notebook."

Other options could include?

  • "We also have prototype Archives Unleashed Cloud Jupiter Notebooks available."
  • "We also have a prototype Jupyter Notebook application available." (?)
  • "We also have a prototype Jupyter Notebook download available."

This comment has been minimized.

Copy link
@ruebot

ruebot Apr 17, 2019

Member

Let's do that first one.

This comment has been minimized.

Copy link
@SamFritz

SamFritz Apr 17, 2019

Member

Tough call, but I agree - I think if we go with the first option it leaves the language flexible enough and we can revisit down the line.

This comment has been minimized.

Copy link
@ianmilligan1

ianmilligan1 Apr 17, 2019

Author Member

OK (and with "Jupyter" - damn Safari autocorrect).

@@ -98,6 +98,12 @@
<%= image_tag("AUK_neighbours.png", alt: "AUK Interactive Hyperlink Diagram Explained", class:"body_img")%>
<%= image_tag("AUK_hover.png", alt: "AUK Interactive Hyperlink Diagram hover feature", class:"body_img")%>

<a name="notebooks"></a><h3 class="about_h3">Exploring Derivatives with the Archives Unleashed Cloud Jupyter Notebooks</h3>
<%= image_tag("AUK_Notebook.png", alt: "AUK Jupyter Notebook", class:"body_img")%>
<p class="about_p">We have a prototype Jupyter Notebook available for you to work with the derivatives generated by the Archives Unleashed Cloud. You can read more about this in our blog post "<%= link_to('Exploring Web Archival Data through Archives Unleashed Cloud Jupyter Notebooks', 'https://news.archivesunleashed.org/exploring-web-archival-data-through-archives-unleashed-cloud-jupyter-notebooks-7605c6ca2b33', target: '_blank') %>". They allow you to interactively explore and filter the domain count information, extracted full text, and network visualization data generated by the Archives Unleashed Cloud.</p>

This comment has been minimized.

Copy link
@ruebot

ruebot Apr 17, 2019

Member

Should we have: "We have a..." or "We have some..." since we'll probably merge archivesunleashed/auk-notebooks#51 today.

@@ -49,7 +49,10 @@
<p class="about_p">The interactive hyperlink diagram was designed to help users see their web archive collections at a glance, and visualizes the connections between the domains present within the collection.</p>
<p class="about_p">The diagram is based on social network theory, which visualizes the communication or connection relationships between entities (individuals, groups, organizations, institutions).</p>
<p class="about_p"><strong>I have the derivatives, but now what do I do?</strong></p>
<p class="about_p">Now comes the fun part of digging into your web archival collections. The derivatives give you a starting point for further analysis on your research questions. The way you approach analyzing the derivatives will largely depend on the content of the collections, topic, and what some of your research questions are, but here are a few ideas and resources to help get you started:</p>
<p class="about_p">Now comes the fun part of digging into your web archival collections. The derivatives give you a starting point for further analysis on your research questions. The way you approach analyzing the derivatives will largely depend on the content of the collections, topic, and what some of your research questions are.</p>
<p class="about_p">First, we have a prototype Jupyter Notebook available for you to work with the derivatives generated by the Archives Unleashed Cloud. You can read more about this in our blog post "<%= link_to('Exploring Web Archival Data through Archives Unleashed Cloud Jupyter Notebooks', 'https://news.archivesunleashed.org/exploring-web-archival-data-through-archives-unleashed-cloud-jupyter-notebooks-7605c6ca2b33', target: '_blank') %>". They allow you to interactively explore and filter the domain count information, extracted full text, and network visualization data generated by the Archives Unleashed Cloud.</p>

This comment has been minimized.

Copy link
@ruebot

ruebot Apr 17, 2019

Member

Same as above.

@ruebot

ruebot approved these changes Apr 17, 2019

@SamFritz
Copy link
Member

SamFritz left a comment

Looks good, just a few suggestions

@@ -97,7 +97,7 @@
<% unless !File.exists? textfilter_path(@user.id, @collection.id, @collection.account) %>
<%= link_to('Text by Domains<br />'.html_safe + number_to_human_size(File.size(textfilter_path(@user.id, @collection.id, @collection.account))), user_collection_download_textfilter_path(@user.id, @collection.id, @collection.account), class: 'btn btn-primary', 'data-toggle': 'tooltip', 'data-placement': 'top', title: 'A zip file that contains the text of the top ten domains within a web archive, each within their own text file. Within the files you can find the crawl date, full URL, and the plain text of each page within the file.') %>
<% end %>
<p><small><%=link_to("You can find information about how to use these files here.", "/derivatives")%></small></p>
<p><small><%=link_to("Learn more about these files here.", "/derivatives")%> <%=link_to("We also have a prototype Jupyter Notebook service available.", "/documentation#notebooks")%></small></p>

This comment has been minimized.

Copy link
@SamFritz

SamFritz Apr 17, 2019

Member

Tough call, but I agree - I think if we go with the first option it leaves the language flexible enough and we can revisit down the line.

<%= image_tag("AUK_Notebook.png", alt: "AUK Jupyter Notebook", class:"body_img")%>
<p class="about_p">We have prototype Jupyter Notebooks available for you to work with the derivatives generated by the Archives Unleashed Cloud. You can read more about this in our blog post "<%= link_to('Exploring Web Archival Data through Archives Unleashed Cloud Jupyter Notebooks', 'https://news.archivesunleashed.org/exploring-web-archival-data-through-archives-unleashed-cloud-jupyter-notebooks-7605c6ca2b33', target: '_blank') %>". They allow you to interactively explore and filter the domain count information, extracted full text, and network visualization data generated by the Archives Unleashed Cloud.</p>
<p class="about_p">We are currently exploring greater integration between the notebooks and the Archives Unleashed Cloud. To use them now, please visit the GitHub repository <%= link_to('here', 'https://github.com/archivesunleashed/auk-notebooks', target: '_blank') %> and follow the instructions.</p>
<p class="about_p">Note that this is a prototype service. Any and all feedback and suggestions are greatly appreciated.</p>

This comment has been minimized.

Copy link
@SamFritz

SamFritz Apr 17, 2019

Member

drop 'service'

(maybe: 'Note that this is still in the prototype stage.')?

This comment has been minimized.

Copy link
@SamFritz

SamFritz Apr 17, 2019

Member

Perhaps we should add in contact info for feedback?

'Any and all feedback and suggestions are greatly appreciated and can be sent to our project manager at sam.fritz@archivesunleashed.org'

This comment has been minimized.

Copy link
@ianmilligan1

ianmilligan1 Apr 17, 2019

Author Member

Great idea, let me add this!

@ianmilligan1

This comment has been minimized.

Copy link
Member Author

ianmilligan1 commented Apr 17, 2019

OK (sorry for all the commits – downside of working in a meeting). I think it is ready for re-review now. Appreciate all the feedback everybody.

@ruebot

ruebot approved these changes Apr 17, 2019

@ruebot ruebot merged commit a9a11aa into master Apr 17, 2019

3 checks passed

codecov/patch Coverage not affected when comparing ade3aa8...7f5d493
Details
codecov/project 96.22% remains the same compared to ade3aa8
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details

@ruebot ruebot deleted the Issue-285 branch Apr 17, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.