Skip to content
This repository has been archived by the owner on Jul 9, 2021. It is now read-only.
/ uqlibrary-search Public archive

This Polymer 1.x component has been migrated to uqlibrary/reusable-webcomponents

Notifications You must be signed in to change notification settings

uqlibrary/uqlibrary-search

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

uqlibrary-search

Codeship Status for uqlibrary/uqlibrary-search Dependency Status Dev Dependency Status

uqlibrary-search is a search form for UQ Library

Documentation is in GitHub Pages.

Getting Started

Install Node.JS and run the following in the project directory:

npm install -g bower web-component-tester polymer-cli
npm install
bower install

Developing

  • Please adhere to the Polymer code style guide provided at Style Guide.
  • Colors and common styles are imported (bower install) from uqlibrary-styles.
  • A preview of the component can be viewed locally by running npm start. Use the second URL from the command output.
  • GitHub pages should be updated after every commit to polymer1.0 branch by running bin/generate-gh-pages.sh

Testing

Tests are run using the Web Component Tester

npm test

Rebuilding

This component is called by:

  • uqlibrary-reusable-components (a build of production branch will update a drupal page)
  • uqlibrary-mylibrary (includes Library Search on the main mylibrary page)
  • uqlibrary-pages (includes Library Search on the Library Home Page)

These will need to be rebuilt in codeship to push this change live.