emory-libraries / Pattern-Library

Minimal pattern library based on Emory Libraries' website redesign
0 stars 1 forks source link

Create new pattern Template::Cover #183

Closed kristianserrano closed 5 years ago

kristianserrano commented 5 years ago

Testing

pattern-library templates-cover qa /events-and-exhibits/

laurenhamel commented 5 years ago

I'm reassigning this issue to myself and picking it up since it's the next item in the queue.

laurenhamel commented 5 years ago

@kristianserrano, this is ready for testing. I had to create a draft for the page while testing to fill in some more content, so I'm also sharing the XML that I used here:

/events-and-exhibits/index.xml

<system-index-block current-time="1564784684528" name="Current Page" type="folder">
  <calling-page>
    <system-page current="true" id="538e67eb0ae72098508fdcfb7174786f">
      <name>index</name>
      <is-published>true</is-published>
      <title>Events & Exhibits</title>
      <path>/events-and-exhibits/index</path>
      <site>Emory Libraries - Main</site>
      <link></link>
      <created-by>lhamel</created-by>
      <created-on>1564769937337</created-on>
      <last-modified-by>lhamel</last-modified-by>
      <last-modified>1564784678032</last-modified>
      <dynamic-metadata>
        <name>Goal</name>
      </dynamic-metadata>
      <dynamic-metadata>
        <name>Audience</name>
      </dynamic-metadata>
      <system-data-structure definition-path="Page Types/Cover Page">
        <version>1.0</version>
        <background-image>
          <path>/</path>
        </background-image>
        <introduction>Nulla vitae elit libero, a pharetra augue. Aenean eu leo quam. Pellentesque ornare sem lacinia quam venenatis vestibulum.</introduction>
        <image-heavy-card>
          <minor-heading>Through August 31, 2019</minor-heading>
          <link>
            <version>1.0</version>
            <link-type>Cascade Page</link-type>
            <cascade-page type="page"><content/>
              <path>/events-and-exhibits/exhibits/100-years-of-women-at-emory</path>
              <dynamic-metadata>
                <name>Goal</name>
                <value>Educate</value>
              </dynamic-metadata>
              <dynamic-metadata>
                <name>Audience</name>
                <value>Undergraduate Students</value>
                <value>Non-affiliates/Public Community</value>
                <value>Researchers</value>
                <value>Staff</value>
                <value>Graduate Students</value>
                <value>Instructors</value>
                <value>Faculty</value>
              </dynamic-metadata>
              <link>site://Emory Libraries - Main/events-and-exhibits/exhibits/100-years-of-women-at-emory</link>
              <site>Emory Libraries - Main</site>
              <name>100-years-of-women-at-emory</name>
              <title>100 Years of Women at Emory</title>
              <description>In 1917, Eléonore Raoul 20L enrolled in Emory¿s School of Law and became the first woman to earn a degree from the University. This important event broke a barrier for women who would follow. Exploring the noted and notable milestones in
                the history of women at Emory reminds us that phrases like ¿the first¿ and ¿the earliest¿ often warrant further research. Many of the events occurred only after years of advocacy and activism by others.
              </description>
            </cascade-page>
            <cascade-file>
              <path>/</path>
            </cascade-file><external-url/><link-customizations/><link-label/><link-description/></link>
          <image>
            <version>1.0</version>
            <image-file type="file"><content/>
              <path>/images/exhibits-images/100-years-of-women.jpg</path>
              <dynamic-metadata>
                <name>Goal</name>
              </dynamic-metadata>
              <link>site://Emory Libraries - Main/images/exhibits-images/100-years-of-women.jpg</link>
              <site>Emory Libraries - Main</site>
              <name>100-years-of-women.jpg</name>
            </image-file><caption/><photo-credit/></image>
          <button-label>Exhibit Details</button-label>
        </image-heavy-card>
        <links-list>
          <version>1.0</version>
          <heading>Join Us</heading>
          <link>
            <version>1.0</version>
            <link-type>Cascade Page</link-type>
            <cascade-page type="page"><content/>
              <path>/events-and-exhibits/calendar-of-events</path>
              <dynamic-metadata>
                <name>Goal</name>
              </dynamic-metadata>
              <link>site://Emory Libraries - Main/events-and-exhibits/calendar-of-events</link>
              <site>Emory Libraries - Main</site>
              <name>calendar-of-events</name>
              <title>Calendar of Events</title>
            </cascade-page>
            <cascade-file>
              <path>/</path>
            </cascade-file><external-url/>
            <link-customizations>
              <value>Label</value>
            </link-customizations>
            <link-label>Full Events Celndar</link-label><link-description/></link>
          <link>
            <version>1.0</version>
            <link-type>Cascade Page</link-type>
            <cascade-page type="page"><content/>
              <path>/events-and-exhibits/exhibits-gallery</path>
              <dynamic-metadata>
                <name>Goal</name>
              </dynamic-metadata>
              <link>site://Emory Libraries - Main/events-and-exhibits/exhibits-gallery</link>
              <site>Emory Libraries - Main</site>
              <name>exhibits-gallery</name>
              <title>Current and Past Exhibitions</title>
            </cascade-page>
            <cascade-file>
              <path>/</path>
            </cascade-file><external-url/><link-customizations/><link-label/><link-description/></link>
          <link>
            <version>1.0</version>
            <link-type>Cascade Page</link-type>
            <cascade-page type="page"><content/>
              <path>/events-and-exhibits/calendar-of-events</path>
              <dynamic-metadata>
                <name>Goal</name>
              </dynamic-metadata>
              <link>site://Emory Libraries - Main/events-and-exhibits/calendar-of-events</link>
              <site>Emory Libraries - Main</site>
              <name>calendar-of-events</name>
              <title>Calendar of Events</title>
            </cascade-page>
            <cascade-file>
              <path>/</path>
            </cascade-file><external-url/>
            <link-customizations>
              <value>Label</value>
            </link-customizations>
            <link-label>Upcoming Library Workshops</link-label><link-description/></link>
        </links-list>
        <featured-content>
          <image-heavy-card>
            <link>
              <version>1.0</version>
              <badge-label>Event</badge-label>
              <minor-heading>March 7. 2020</minor-heading>
              <link-type>External URL</link-type>
              <cascade-page>
                <path>/</path>
              </cascade-page>
              <cascade-file>
                <path>/</path>
              </cascade-file>
              <external-url/>
              <link-customizations/>
              <link-label>Event 1</link-label>
              <link-description>Maecenas faucibus mollis interdum.</link-description>
            </link>
            <image>
              <version>1.0</version>
              <image-file>
                <path>//source.unsplash.com/4qt6g8Aabcw</path>
              </image-file><caption/><photo-credit/></image>
            <button>
              <button-label>Learn More</button-label>
            </button>
          </image-heavy-card>
          <image-heavy-card>
            <link>
              <version>1.0</version>
              <badge-label>Exhibit</badge-label>
              <minor-heading>March 7, 2020</minor-heading>
              <link-type>External URL</link-type>
              <cascade-page>
                <path>/</path>
              </cascade-page>
              <cascade-file>
                <path>/</path>
              </cascade-file><external-url/><link-customizations/>
              <link-label>Exhibit 1</link-label>
              <link-description>Etiam porta sem malesuada magna mollis euismod.</link-description>
            </link>
            <image>
              <version>1.0</version>
              <image-file>
                <path>//source.unsplash.com/4qt6g8Aabcw</path>
              </image-file><caption/><photo-credit/></image>
            <button>
              <button-label>Learn More</button-label>
            </button>
          </image-heavy-card>
          <image-heavy-card>
            <link>
              <version>1.0</version>
              <badge-label>Event</badge-label>
              <minor-heading>March 7, 2020</minor-heading>
              <link-type>External URL</link-type>
              <cascade-page>
                <path>/</path>
              </cascade-page>
              <cascade-file>
                <path>/</path>
              </cascade-file><external-url/><link-customizations/>
              <link-label>Event 2</link-label>
              <link-description>Maecenas faucibus mollis interdum.</link-description>
            </link>
            <image>
              <version>1.0</version>
              <image-file>
                <path>//source.unsplash.com/4qt6g8Aabcw</path>
              </image-file><caption/><photo-credit/></image>
            <button>
              <button-label>Learn More</button-label>
            </button>
          </image-heavy-card>
        </featured-content>
        <image-heavy-card-listing>
          <version>1.0</version>
          <badge-label>Exhibition</badge-label>
          <minor-heading>September 13, 2017 - Febryary 3, 2019</minor-heading>
          <heading>Building Emory's African American Collections: Highlights from the Curatorial Career of Randall K. Burkett</heading><description/>
          <link>
            <link-type>Cascade Page</link-type>
            <cascade-page type="page"><content/>
              <path>/events-and-exhibits/exhibits/building-emorys-african-american-collections</path>
              <dynamic-metadata>
                <name>Goal</name>
                <value>Educate</value>
              </dynamic-metadata>
              <dynamic-metadata>
                <name>Audience</name>
                <value>Researchers</value>
                <value>Undergraduate Students</value>
                <value>Non-affiliates/Public Community</value>
                <value>Staff</value>
                <value>Instructors</value>
                <value>Faculty</value>
                <value>Graduate Students</value>
              </dynamic-metadata>
              <link>site://Emory Libraries - Main/events-and-exhibits/exhibits/building-emorys-african-american-collections</link>
              <site>Emory Libraries - Main</site>
              <name>building-emorys-african-american-collections</name>
              <title>Building African American Collections</title>
              <description>Randall K. Burkett was hired in 1997 as Emory¿s first curator for African American collections. Over the past 21 years, he has led the university¿s effort to build collections of rare books, manuscripts, serials, photographs, and print
                ephemera in this field. He and his Rose Library colleagues have sought to ensure the African American voice is represented and have given priority to African American-authored and African American-published material. The exhibition highlights
                treasures in the collections and Burkett¿s stories of their discovery and acquisition.
              </description>
              <review-date>May 22, 2019 12:00 AM</review-date>
            </cascade-page>
            <cascade-file>
              <path>/</path>
            </cascade-file><external-url/>
            <button-label>Exhibition Details</button-label>
          </link>
          <image>
            <version>1.0</version>
            <image-file type="file"><content/>
              <path>/images/exhibits-images/building-african-american-collections.jpg</path>
              <dynamic-metadata>
                <name>Goal</name>
                <value>Educate</value>
              </dynamic-metadata>
              <dynamic-metadata>
                <name>Audience</name>
                <value>Staff</value>
              </dynamic-metadata>
              <link>site://Emory Libraries - Main/images/exhibits-images/building-african-american-collections.jpg</link>
              <site>Emory Libraries - Main</site>
              <name>building-african-american-collections.jpg</name>
              <title>Building African American Collections</title>
              <review-date>May 22, 2019 12:00 AM</review-date>
            </image-file><caption/><photo-credit/></image>
        </image-heavy-card-listing>
        <feeds>
          <heading>Upcoming</heading>
          <feed-import>
            <version>1.0</version>
            <feed-title>Events</feed-title>
            <url>https://www.trumba.com/calendars/robert-woodruff-library.json?events=5</url>
            <link>
              <version>1.0</version>
              <link-type>Cascade Page</link-type>
              <cascade-page type="page"><content/>
                <path>/events-and-exhibits/calendar-of-events</path>
                <dynamic-metadata>
                  <name>Goal</name>
                </dynamic-metadata>
                <link>site://Emory Libraries - Main/events-and-exhibits/calendar-of-events</link>
                <site>Emory Libraries - Main</site>
                <name>calendar-of-events</name>
                <title>Calendar of Events</title>
              </cascade-page><external-url/></link>
            <customizations>
              <value>icon</value>
            </customizations><button-label/>
            <icon>material-calendar_month_outline</icon>
          </feed-import>
          <feed-import>
            <version>1.0</version>
            <feed-title>Upcoming Workshops</feed-title>
            <url>https://www.trumba.com/calendars/robert-woodruff-library-classes-at-woodruff-library.json?events=5</url>
            <link>
              <version>1.0</version>
              <link-type>Cascade Page</link-type>
              <cascade-page type="page"><content/>
                <path>/events-and-exhibits/calendar-of-events</path>
                <dynamic-metadata>
                  <name>Goal</name>
                </dynamic-metadata>
                <link>site://Emory Libraries - Main/events-and-exhibits/calendar-of-events</link>
                <site>Emory Libraries - Main</site>
                <name>calendar-of-events</name>
                <title>Calendar of Events</title>
              </cascade-page><external-url/></link>
            <customizations>
              <value>icon</value>
            </customizations><button-label/>
            <icon>material-pencil_ruler</icon>
          </feed-import>
        </feeds>
      </system-data-structure>
    </system-page>
  </calling-page>
</system-index-block>
laurenhamel commented 5 years ago

I'm moving this into blocked because of the suspected firewall issue with our use of curl to fetch feed data, which is timing out in server environments. Currently, middleware is investigating the issue and will report back.

laurenhamel commented 5 years ago

The curl request issue has been resolved. The server environment requires a proxy, which middleware has shared with the development team.

laurenhamel commented 5 years ago

This is ready for acceptance. See above for testing links.