Clone this repo:
  1. 9c13098 Update README by Joanna Wang · 7 days ago master
  2. 19a1879 Redo imports by Joanna Wang · 10 days ago v0.0.31
  3. 949b7c8 Recreate bower.json by Joanna Wang · 10 days ago
  4. f01c3ca Rename back to chops-ui by Joanna Wang · 10 days ago v0.0.3
  5. b182c16 Take [] out near the 171 mark by Joanna Wang · 10 days ago

chops-ui

Design Doc: go/chops-ui

This directory contains Polymer Web Components that are meant to be shared by Chrome Operations' application frontends.

chopsui/ has been published as the bower package: chops-ui

Definitions

infra repo

  • The chopsui directory in the infra repo

chopsui repo

  • A subdirectory mirror repo of the chopsui directory in the infra repo

Code changes should be done in the infra repo.

New versions of the chops-ui bower package are published by pushing git tags. This should be done in the chopsui repo. See the Pushing a New Version section.

Documenting elements

Please add demos and documentation for elements as described in the polymer docs.

Check that your demo and documentation are working and correct by running:

polymer serve

then visit localhost:XXXX/componenets/chops-ui/demo/my-el_demo.html

Pushing a New Version

New versions are published by pushing git version tags while in the chopsui repo. Bower will automatically detect a new version tag.

Prerequisites

You need to be granted permission to push tags in the chopsui repo. If you don't have permission, please contact jojwang@, zhangtiff@, or seanmccullough@ for instructions on how to proceed.

make a clone of the chopsui repo

git clone https://chromium.googlesource.com/infra/infra/crdx/chopsui

make sure chromium's depot_tools is in your path

Push a new version tag

  1. Once the latest change(committed in the infra repo) for the new version has landed, switch to the chopsui repo
  2. To view existing tags run
git tag
  1. Create a new version tag
git tag v0.0.31 # replace 0.0.31 with an appropriate version number
  1. Push the new tag
git push --tags

That's it! Run

bower info chops-ui

You should see the new version tag you just pushed listed under ‘Available versions’.