Skip to content
This repository was archived by the owner on Jun 26, 2018. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
644 commits
Select commit Hold shift + click to select a range
f75258c
DP-7907: adds callout link card variant
avrilpearl Feb 14, 2018
858a8be
DP-7907: As readme content for callout link as card variant
avrilpearl Feb 14, 2018
d834cce
DP-7907: Update callout link to add white variant and rename card var…
avrilpearl Feb 14, 2018
60221aa
DP-7907: Update Callout Link readme to new theme name
avrilpearl Feb 14, 2018
cf00f3f
DP-7907: Update sccs for callout link to new prop name (details to time)
avrilpearl Feb 14, 2018
dbebd03
DP-7907: Rename source to emphasized, update padding scss
avrilpearl Feb 14, 2018
d79d0f5
Merge pull request #702 from massgov/DP-7907--Add-CalloutLink-Variant…
clairesunstudio Feb 14, 2018
ba63dfe
DP-7907: [Search] Updated css/twig for CalloutLink as Details variant…
avrilpearl Feb 16, 2018
63071f8
add to release note
clairesunstudio Feb 16, 2018
cb76d06
bump mayflower to v5.13.0
clairesunstudio Feb 16, 2018
ee8c02d
fix release note
clairesunstudio Feb 16, 2018
aabacce
Merge branch 'master' into release-5.13.0
clairesunstudio Feb 16, 2018
61c0497
include pr #670 into the release note
clairesunstudio Feb 16, 2018
c70775a
Merge pull request #706 from massgov/release-5.13.0
clairesunstudio Feb 16, 2018
17fef46
Merge pull request #707 from massgov/master
avrilpearl Feb 16, 2018
73e033e
DP-6350 [a11y] Change search query field place holder text in locatio…
ygannett Feb 21, 2018
59c1dcb
DP-6351 [a11y] Change pagination on location listing to be heading (#…
ygannett Feb 21, 2018
58c924b
correct aria role value (#699)
ygannett Feb 22, 2018
187633b
add text info for social media icons with more stable method between …
ygannett Feb 22, 2018
e6e98b1
DP-6712: Fix the Video Dimensions on the Service Detail Page (#674)
ygannett Feb 22, 2018
a5d606d
change abbreviation container in page banner title to abbr from span …
ygannett Feb 22, 2018
2ef8dda
DP-3252 [a11y] Remove IDs from svg icons (#681)
ygannett Feb 22, 2018
c91d233
remove aria-controls from main nav (#676)
ygannett Feb 22, 2018
8d4bf66
set up to pass on the heading level number to imagePromo item unit fr…
ygannett Feb 22, 2018
9aedbd5
DP-6352: Move floating action to below footer (#678)
ygannett Feb 27, 2018
c7e876c
Adding changelog process to Mayflower (#708)
mrossi113 Feb 27, 2018
f7542c1
Dp 7786 create sort by variant (#711)
clairesunstudio Feb 28, 2018
8bd14cf
DP-7624 - binder cover page components (#698)
isaacchansky Feb 28, 2018
4225a4c
patch to Dp 7786 create sort by variant (#712)
clairesunstudio Feb 28, 2018
d56bdd2
DP-2082 [a11y] Add intuitive infor to the + symbols for accordion but…
ygannett Feb 28, 2018
da0ef4a
DP-7063 Added SVG Chat icon (#664)
iansholtys Feb 28, 2018
e3ebaba
Changelog link update (#715)
mrossi113 Mar 1, 2018
b1d6669
update release note
clairesunstudio Feb 28, 2018
29bc73c
nump up to 5.14.0
clairesunstudio Feb 28, 2018
ed912d7
update release note to include adding changelog
clairesunstudio Mar 1, 2018
2dbe80d
add all merged pr into release note
clairesunstudio Mar 1, 2018
24ae70d
Merge pull request #716 from massgov/release-5.14.0
clairesunstudio Mar 1, 2018
3fc4731
Dp 8000 TOC block for exapandable-sections (#718)
powpow12 Mar 2, 2018
283a6e2
Merge pull request #720 from massgov/master
clairesunstudio Mar 2, 2018
8029e79
add block for expandable section links
powpow12 Mar 5, 2018
5178c5f
Merge pull request #721 from massgov/DP-8001-expandable-block-links
powpow12 Mar 5, 2018
c9772c9
DP-7622 mayflower for information details page (#690)
clair0917 Mar 5, 2018
af525d7
add more verbosity to the pattern lab php command (#704)
isaacchansky Mar 7, 2018
9a228d5
DP-7564 Org Page Mosaic component changes (#722)
ajfwebdev Mar 8, 2018
60e9adc
fix 'our organizations' and 'mosaic' layouts on IE11 (#723)
isaacchansky Mar 12, 2018
77d09db
Dp 6522 create boards and directories patterns (#717)
isaacchansky Mar 12, 2018
4fa52f3
add changelog (#725)
isaacchansky Mar 12, 2018
c93ea3a
Contact item breakout & binder/info details update (#726)
Mar 12, 2018
a93f9e0
Add block to link-list (#727)
powpow12 Mar 12, 2018
a53226d
Fix for regression in contact list accordion indicator (#728)
isaacchansky Mar 13, 2018
7931670
DP-8190 iframes are showing a blue shading (#729)
ygannett Mar 19, 2018
af3c191
DP-6181: [a11y] Add supplemental info to phone and email links for sc…
ygannett Mar 19, 2018
99a7182
DP-8203 Mayflower display issues (#724)
ygannett Mar 20, 2018
ec5fa36
DP-6883: Use a function to embed SVG icons for download link (#732)
ygannett Mar 20, 2018
1aaa671
Link list data cleanup (#734)
clairesunstudio Mar 21, 2018
3981359
Block & conditional logic updates for info details (#738)
Mar 21, 2018
6fb1153
Dp 8290 add clear all to filters (#735)
clairesunstudio Mar 21, 2018
d083ec7
update release note
clairesunstudio Mar 21, 2018
ce3af0d
bump version to 5.15.0
clairesunstudio Mar 21, 2018
1d68526
DP-7758 mayflower create patterns for org details page (#731)
clair0917 Mar 21, 2018
a4cdded
Merge pull request #741 from massgov/release-5.15.0
rbayliss Mar 21, 2018
1e22103
Merge pull request #742 from massgov/master
rbayliss Mar 21, 2018
2348e2f
Dp 7766 mayflower for information details page toc sticky js (#737)
clair0917 Mar 22, 2018
a71c4aa
DP 7767 binder page navigation (#710)
isaacchansky Mar 22, 2018
bae88a9
DP 7341 add about pattern for elected officials (#730)
clair0917 Mar 23, 2018
ee3f206
update release notes, bump version
isaacchansky Mar 23, 2018
4cb10c0
bump package version
isaacchansky Mar 23, 2018
7274e08
Merge pull request #743 from massgov/release-5.16.0
isaacchansky Mar 23, 2018
277935f
Merge pull request #744 from massgov/master
isaacchansky Mar 23, 2018
dc7e84c
DP-8332: Upgrade to Circle 2.0 (#739)
rbayliss Mar 26, 2018
59ef30d
DP-8341: Implement visual regression testing for pages and templates …
rbayliss Mar 27, 2018
29a3ef8
DP-8378: The page banner display incorrectly for topic page within mo…
ygannett Mar 28, 2018
8d85c3f
Fix typo in visual regression docs (#753)
rbayliss Mar 29, 2018
c00b038
DP-8406 Info Details sticky TOC fixes (#752)
Mar 29, 2018
1004e04
Allow tags to be deployed to artifacts repository (#754)
rbayliss Mar 29, 2018
4629f85
Added 5.17.0 to changelog
mrossi113 Mar 29, 2018
f0d1452
Removed all changelog files for 5.17.0
mrossi113 Mar 29, 2018
a5e8c7a
update the readme. json file to 5.17.0
mrossi113 Mar 29, 2018
3273707
gulp bump update to 5.17.0
mrossi113 Mar 29, 2018
2ae1365
Merge pull request #755 from massgov/release-5.17.0
rbayliss Mar 29, 2018
01726b9
Merge pull request #756 from massgov/master
rbayliss Mar 29, 2018
2e1c5f6
DP-8126: Avoid making multiple calls to ajax endpoint for duplicate a…
rbayliss Apr 3, 2018
aae7242
DP-8339: Automate Mayflower Release Process (#758)
rbayliss Apr 4, 2018
b687fcf
Binder navigation and stick TOC on info details (#763)
Apr 4, 2018
04255f8
Dp 8221 featured item link functionality rebuilt (#761)
clair0917 Apr 4, 2018
5499fec
Dp 7483 organization block list fix (#762)
clair0917 Apr 4, 2018
9b6575e
DP-8455: Allow empty search banner images to support setting with js …
rbayliss Apr 4, 2018
1806eaf
add fix for binder page jumplinks (#749)
isaacchansky Apr 4, 2018
32a100a
DP-7564 stacked row fixes (#757)
ajfwebdev Apr 4, 2018
2e55aef
DP-8176 mayflower for people in curated lists (#740)
clair0917 Apr 4, 2018
f68702a
add binder cover page example (#750)
isaacchansky Apr 4, 2018
572194a
DP 8051 page banner elected org pages conflict fix (#765)
clair0917 Apr 5, 2018
e882446
Add changelog to the release notes for 5.18.0
mrossi113 Apr 5, 2018
412f855
Remove the changelog files for 5.18.0
mrossi113 Apr 5, 2018
7d1c414
Merge pull request #766 from massgov/release-5.18.0
Apr 5, 2018
3194668
Merge pull request #767 from massgov/master
mrossi113 Apr 5, 2018
a1093da
Bump the version to 5.18.1 in package.json
mrossi113 Apr 5, 2018
45742c1
Add release note for 5.18.1
mrossi113 Apr 5, 2018
7fe5447
Merge pull request #768 from massgov/release-5.18.1
rbayliss Apr 5, 2018
0bf9846
Merge pull request #769 from massgov/master
rbayliss Apr 5, 2018
0587884
Add SSH Keys to deploy workflows
rbayliss Apr 6, 2018
90efb21
Merge pull request #771 from massgov/deploy_keys
rbayliss Apr 6, 2018
95ae587
DP-8524: Updating mayflower release docs (#770)
mrossi113 Apr 9, 2018
af15489
DP-8453: Prevent listing header from being loaded on every pageview …
rbayliss Apr 10, 2018
9271bd1
Add current mass.gov logo in header to mayflower assets (#719)
avrilpearl Apr 12, 2018
977b1a6
reduce min height on about section (#778)
isaacchansky Apr 16, 2018
cb41611
DP-8440 quote organism spacing (#775)
isaacchansky Apr 16, 2018
ab29f0e
DP-8517 DP-8522 DP-8519 Link List Blocks updates (#773)
clair0917 Apr 17, 2018
6dd89a1
Fix broken build due to logo swap (#781)
rbayliss Apr 17, 2018
cd91ed2
Reduce backstop mismatch threshold and update the rest of the screens…
rbayliss Apr 18, 2018
409b19e
Resolve artifact push being skipped in the case where there are only …
rbayliss Apr 18, 2018
0a95922
DP-8362 Update most/all Mayflower icons to use the Twig icon() functi…
ygannett Apr 18, 2018
4afa949
Updated the release-notes.md with 5.19.0
mrossi113 Apr 18, 2018
4375bea
Removed changelogs txt files for 5.19.0
mrossi113 Apr 18, 2018
fdd7a83
update the package.json version to 5.19.0
mrossi113 Apr 18, 2018
ecab84b
fix for backstopjs within circleci testing
mrossi113 Apr 18, 2018
0a8dc93
DP-7500 / DP-7600: Updates for Elected Officials (#776)
Apr 18, 2018
f6e6c19
Merge pull request #784 from massgov/release-5.19.0
mrossi113 Apr 18, 2018
c02b26c
Sync Master back to Dev for 5.19.0 (#785)
mrossi113 Apr 18, 2018
bc22a80
Social icon color fix in Firefox (#786)
ygannett Apr 19, 2018
ff911ee
DP-8597 social links on elected page overlap update (#792)
clair0917 Apr 20, 2018
cb315b8
fix gap in image background on large widths (#791)
isaacchansky Apr 22, 2018
3a75b62
DP-8612 elected official contact row change, DP-8565 Mosaic Firefox I…
isaacchansky Apr 23, 2018
d2db84b
Add woff2 variants of fonts and use in font face declarations (#793)
rbayliss Apr 23, 2018
682a7d8
remove limiting width on subtitle (#796)
isaacchansky Apr 24, 2018
658bbe1
DP 8594 overrides for organization row reorder for Elected Officials …
Apr 24, 2018
626b258
DP-8701: replace lost update to image link styles (#799)
clair0917 Apr 24, 2018
cc6fe05
DP-8569: Add missing header navigation to binder cover page (#794)
isaacchansky Apr 24, 2018
5efb850
added 5.20.0 to the release notes
mrossi113 Apr 25, 2018
da90ee4
Removed all changelog txt files for 5.20.0
mrossi113 Apr 25, 2018
372a99c
update the package.json version to 5.20.0
mrossi113 Apr 25, 2018
c3342a6
Merge branch 'master' into release-5.20.0
mrossi113 Apr 25, 2018
03be08d
Merge pull request #800 from massgov/release-5.20.0
mrossi113 Apr 25, 2018
ea54a63
Merge pull request #802 from massgov/master
mrossi113 Apr 25, 2018
13dbec2
add additional link for linked page banner (#803)
isaacchansky Apr 25, 2018
5c48220
DP-8516 - Provides twig blocks to support overrides and template mapp…
edwardchan Apr 26, 2018
1a84782
DP-8712 support 2 executives in about row (#801)
clair0917 Apr 26, 2018
68ef74a
Resolve merge conflict reverting DP-8612
rbayliss Apr 27, 2018
d89c378
Revert the revert of _featured-item.scss to bring back Firefox bugfix
rbayliss Apr 27, 2018
ce0254c
Merge pull request #804 from massgov/hotfix-5.20.1
mrossi113 Apr 27, 2018
e96d232
resolved merge conflict
mrossi113 Apr 27, 2018
35ba768
Merge pull request #806 from massgov/sync_master_dev
rbayliss Apr 27, 2018
3662112
DP-8441: Use explicit height in iframe if provided (#777)
isaacchansky Apr 30, 2018
e04e303
Dp 8612,8730,8738 elected official updates (#808)
isaacchansky May 1, 2018
d212cd5
Add blocks for overriding Contact us groups (#811)
May 2, 2018
770717b
DP-8602: Remove unused slick plugin (#809)
rbayliss May 2, 2018
5f4158b
added release notes for 5.21.0
mrossi113 May 2, 2018
f4328b5
Removed changelogs txt files for 5.21.0
mrossi113 May 2, 2018
0db4c38
updated the package.json version to 5.21.0
mrossi113 May 2, 2018
fe2aa03
updated the release notes missing changelog
mrossi113 May 2, 2018
32507cf
Merge pull request #813 from massgov/release-5.21.0
mrossi113 May 2, 2018
2b86fc1
Merge pull request #814 from massgov/master
mrossi113 May 2, 2018
e26037c
DP-6715: image promos (#810)
damienmckenna May 3, 2018
5be779e
DP-7761: Add sanitization of text in map pin title (#797)
isaacchansky May 4, 2018
98d02ed
fixing the link creating the release step
mrossi113 May 7, 2018
b817d6d
Removed the rollback steps for this not accurate anymore
mrossi113 May 7, 2018
0b02350
update developer deployment in the readme
mrossi113 May 7, 2018
129c98d
update the developer deployment section
mrossi113 May 7, 2018
c18babc
removed the developer deploy doc
mrossi113 May 7, 2018
6653370
removed the line for it was said in the following step
mrossi113 May 7, 2018
6fe0c7f
DP-8363: Reduce the front end performance impact of the main logo and…
ygannett May 8, 2018
a778bb7
DP-8880: Allow sidebar of stacked row to be overridden (#820)
May 9, 2018
54b7941
DP-8877: Short description on org page separate from contact row (#819)
clair0917 May 9, 2018
f5676d3
Added release notes for 5.22.0
mrossi113 May 9, 2018
1851a72
Removed changelogs txt files for 5.22.0
mrossi113 May 9, 2018
c31517a
Updated the package.json version to 5.22.0
mrossi113 May 9, 2018
b26474c
Merge pull request #824 from massgov/release-5.22.0
mrossi113 May 9, 2018
696d47e
Merge pull request #825 from massgov/master
mrossi113 May 9, 2018
71f43ed
Merge branch 'dev' into minor-changes-release-production
mrossi113 May 14, 2018
afc8fbb
Make a change to the developer deployment text.
mrossi113 May 14, 2018
3751ab7
removed the deploy to github pages script
mrossi113 May 14, 2018
ea5c6d4
Merge pull request #817 from massgov/minor-changes-release-production
May 14, 2018
7a3e757
DP-8924: reorder org page to have featured topics above news (#826)
isaacchansky May 14, 2018
ca05e6b
DP-8825 Add expandable teaser listing for org boards (#816)
isaacchansky May 14, 2018
1ccca63
DP-8890: Always print stickTOC expander to let JS handle visibility (…
May 14, 2018
efeeff3
DP-8940: Increase font size of short description on org pages (#829)
clair0917 May 14, 2018
852a008
DP-8942: Add sections to elected official page (#828)
isaacchansky May 14, 2018
7ce9907
DP-8948 contact information on org page spacing (#831)
clair0917 May 15, 2018
dfb1b5e
update readme and release version
isaacchansky May 15, 2018
d520286
Merge pull request #833 from massgov/release-5.23.0
isaacchansky May 15, 2018
f8e029b
Merge pull request #835 from massgov/master
isaacchansky May 15, 2018
3221288
Contact us: Show more style with only 2 items
May 15, 2018
c39cfda
Merge pull request #836 from massgov/feature/DP-8956-elected-contact-us
isaacchansky May 15, 2018
e3764ec
Added release notes for 5.24.0
mrossi113 May 16, 2018
5635d62
Removed changelog txt file for 5.24.0
mrossi113 May 16, 2018
defb31c
Updated the package.json version to 5.24.0
mrossi113 May 16, 2018
d18569b
Merge pull request #839 from massgov/release-5.24.0
mrossi113 May 16, 2018
97166f8
Merge pull request #840 from massgov/master
mrossi113 May 16, 2018
79a9aa6
DP-8949 subpatterns for general teaser (#837)
clair0917 May 16, 2018
2dfaf3c
Update image to allow srcset and sizes
May 21, 2018
14032df
DP-8631 - Provides twig blocks to support overrides and template mapp…
edwardchan May 22, 2018
b44cce5
DP-8854: Adjust site footer for use outside of Pattern Lab (#834)
ygannett May 22, 2018
98e9e03
DP-8854: Adjust capitalization in Mass.gov service mark in footer (#846)
ygannett May 22, 2018
3923a0b
DP-9057: replace display initial for IE11 compatibility (#843)
isaacchansky May 23, 2018
ac7a1b2
Added release notes for 5.25.0
mrossi113 May 23, 2018
4612b43
Removed changelogs txt files for 5.25.0
mrossi113 May 23, 2018
497a15a
Updated the package.json version to 5.25.0
mrossi113 May 23, 2018
a4616ac
Merge pull request #847 from massgov/release-5.25.0
mrossi113 May 23, 2018
8678e45
Merge pull request #848 from massgov/master
mrossi113 May 23, 2018
5fb60b1
Move to versions of the image for srcset
May 24, 2018
c263822
Update press release with image to responsive
May 24, 2018
8eb5aab
Changelog, snapshot update, and updated comment
May 25, 2018
0d12c09
Merge remote-tracking branch 'upstream/dev' into feature/dp-7363-imag…
May 25, 2018
8106ddb
Update snapshot after merge conflict
May 25, 2018
17cfb20
DP-9010 update row order for board pages (#851)
clair0917 May 29, 2018
24718e8
DP-8574 jQuery update for Firefox sticky TOC bug (#822)
clair0917 May 29, 2018
f61420d
DP-8897: Adds relationship indicator pattern with styles and function…
clair0917 May 29, 2018
0da06cf
DP-8897: update some comments for better explinations
clair0917 May 29, 2018
d3c6dce
DP-8897: backstop files
clair0917 May 29, 2018
b8ec45e
DP-6907 change default ordered list type styling in rich text fields…
clair0917 May 29, 2018
e1b91f7
DP-8897: updates to mobile layout
clair0917 May 29, 2018
6d8caea
Merge branch 'dev' into feature/dp-7363-image-srcset
May 30, 2018
4e7ff34
Merge pull request #852 from massgov/feature/dp-7363-image-srcset
clair0917 May 30, 2018
0dc0c32
Merge remote-tracking branch 'upstream/dev' into DP-8897--realationsh…
clair0917 May 30, 2018
08c9b60
update changelog file
May 30, 2018
ec43c7b
rm old change notes
May 30, 2018
7dfb62e
update package.json file
May 30, 2018
cf51b69
DP-8897: updates to backstop files
clair0917 May 30, 2018
07b1e7d
Merge pull request #854 from massgov/release-5.26.0
May 30, 2018
5fb41f1
Merge pull request #855 from massgov/master
May 30, 2018
94ffb9e
DP-8897: replace the incorrectly pushed backstop files
clair0917 May 30, 2018
947feb6
Merge remote-tracking branch 'upstream/dev' into DP-8897--realationsh…
clair0917 May 30, 2018
c563ded
Merge pull request #853 from massgov/DP-8897--realationship-indicator…
clair0917 May 30, 2018
d87db62
DP-8992: Add contact row organism (#841)
isaacchansky May 30, 2018
65fd420
update release-notes.md for Release-5.27.0
ygannett Jun 6, 2018
f04eb60
update the version for release-5.27.0 in package.json
ygannett Jun 6, 2018
6730d2a
Updating reference screenshots
ygannett Jun 6, 2018
313ce00
Updating reference screenshots
ygannett Jun 6, 2018
48d2ed8
Merge pull request #857 from massgov/release-5.27.0
ygannett Jun 6, 2018
634df6e
Merge pull request #858 from massgov/master
ygannett Jun 6, 2018
84a6e1a
DP -825 board org accordion (#842)
isaacchansky Jun 11, 2018
17f9989
Added release notes for 5.28.0
mrossi113 Jun 13, 2018
f7f533b
Removed changelogs txt files for 5.28.0
mrossi113 Jun 13, 2018
6fe0f42
Updated the package.json version to 5.28.0
mrossi113 Jun 13, 2018
f5b7428
Merge pull request #863 from massgov/release-5.28.0
mrossi113 Jun 13, 2018
26c6a2d
Merge pull request #864 from massgov/master
mrossi113 Jun 13, 2018
d771027
DP-9146: use image src instead of image true
clair0917 Jun 12, 2018
7cc0f2e
DP-9146: merge and clean up changes
clair0917 Jun 12, 2018
2366819
Fix invalid JSON.
edwardchan Jun 18, 2018
080d2f5
Update JS to hide toggle if # of items is less than totalShown.
edwardchan Jun 18, 2018
683cb4e
Merge pull request #861 from massgov/DP-9146--style-adjustments-to-bo…
clair0917 Jun 18, 2018
805102e
DP-9297: Remove alt value from the state seal (#865)
ygannett Jun 19, 2018
17c9ab0
DP-9243: MF fix info details to show contact and related in sidebar a…
clair0917 Jun 20, 2018
136fd40
DP-9017 image placement on guide pages using focal point (#850)
clair0917 Jun 20, 2018
ed35224
Added release notes for 5.29.0
mrossi113 Jun 20, 2018
3d3a4a8
Removed changelogs txt files for 5.29.0
mrossi113 Jun 20, 2018
82d97f7
Updated the package.json version to 5.29.0
mrossi113 Jun 20, 2018
35b9847
Merge pull request #866 from massgov/release-5.29.0
mrossi113 Jun 20, 2018
c2b27c2
Merge pull request #867 from massgov/master
mrossi113 Jun 20, 2018
c11a70e
DP-8804: Update Google Maps API to fix deprecation warning (#868)
rbayliss Jun 22, 2018
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
104 changes: 104 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,104 @@

version: 2

# YAML anchors/aliases. See;
# - https://circleci.com/blog/circleci-hacks-reuse-yaml-in-your-circleci-config-with-yaml/
# - https://github.com/circleci/frontend/blob/master/.circleci/config.yml
references:
common_config: &common_config
working_directory: /var/www/code
docker:
# @see https://github.com/massgov/Drupal-Container
- image: massgov/drupal-container:1.0.1-ci

jobs:
build:
<<: *common_config
steps:
- checkout
- restore_cache:
name: Restore NPM Cache
keys:
- site-npm-v1-{{ checksum "styleguide/yarn.lock" }}
- site-npm-v1-
- run: { name: 'NPM Install', command: 'cd styleguide && yarn' }
- save_cache:
name: Save NPM cache
key: site-npm-v1-{{ checksum "styleguide/yarn.lock" }}
paths: [ styleguide/node_modules ]
- run: { name: 'Generate style guide', command: 'php styleguide/core/console --generate' }
- run: { name: 'Build assets', command: 'cd styleguide && node_modules/.bin/gulp prod' }
- persist_to_workspace:
root: /var/www
paths: [code]

test:
working_directory: /home/circleci/code
docker:
- image: circleci/python:2.7.14
steps:
- attach_workspace: {at: /home/circleci}
- setup_remote_docker
- run: docker-compose up --no-start web backstop
- run: |
docker cp ./ $(docker-compose ps -q backstop):/src/
docker cp ./styleguide/public/. $(docker-compose ps -q web):/usr/share/nginx/html
- run: docker-compose run backstop test
- run:
command: docker cp $(docker-compose ps -q backstop):/src/backstopjs/. ./backstopjs/
when: always
- store_artifacts:
path: ./backstopjs
destination: backstop
- store_test_results:
path: backstopjs/reports/ci

deploy_branch:
<<: *common_config
steps:
- add_ssh_keys
- attach_workspace: {at: /var/www}
- run:
name: "Prepare Git"
command: |
git config --global user.email "ci.bot@mass.gov"
git config --global user.name "MassGov Bot"
- run: { name: 'Deploy artifacts', command: "cd styleguide && node_modules/.bin/gulp artifacts:publish" }
- run: { name: 'Deploy S3', command: "cd styleguide && node_modules/.bin/gulp patternlab:publish" }

deploy_tag:
<<: *common_config
steps:
- add_ssh_keys
- attach_workspace: {at: /var/www}
- run:
name: "Prepare Git"
command: |
git config --global user.email "ci.bot@mass.gov"
git config --global user.name "MassGov Bot"
- run: { name: 'Configure NPM', command: 'echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > ~/.npmrc'}
- run: { name: 'Release Artifacts', command: "cd styleguide && node_modules/.bin/gulp artifacts:release" }
- run: { name: 'Release S3', command: "cd styleguide && node_modules/.bin/gulp patternlab:release" }
- run: { name: 'Release NPM', command: "cd styleguide && node_modules/.bin/gulp npm:release" }

workflows:
version: 2
build_branch:
jobs:
- build
- test:
requires: [build]
- deploy_branch:
requires: [build]

build_tag:
jobs:
- build:
filters:
branches: { ignore: /.*/ }
tags: { only: /.*/ }
- deploy_tag:
requires: [build]
filters:
branches: { ignore: /.*/ }
tags: { only: /.*/ }
369 changes: 369 additions & 0 deletions .github/CONTRIBUTING.md

Large diffs are not rendered by default.

19 changes: 19 additions & 0 deletions .github/ISSUE_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
Before opening an issue:

- [Search for duplicate or closed issues](https://github.com/massgov/mayflower/issues?utf8=%E2%9C%93&q=is%3Aissue)
- Read the [contributing guidelines](https://github.com/massgov/mayflower/blob/master/CONTRIBUTING.md)

When reporting a bug, include:

- Mayflower version
- Operating system and version (Windows, Mac OS X, Android, iOS, Win10 Mobile)
- Browser and version (Chrome, Firefox, Safari, IE, MS Edge, Opera 15+, Android Browser)
- Description (write a sentence or two about the issue)
- Steps to reproduce on live site
- Prepare a [reduced test case](https://css-tricks.com/reduced-test-cases/)

When suggesting a feature, include:

- As much detail as possible for what we should add and why it's important to Mayflower
- Relevant links to prior art, screenshots, or live demos whenever possible

37 changes: 37 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
<!-- Please use TICKET Description of ticket as PR title (i.e. DP-1234 Add back-to link on Announcement template) -->
Any PRs being created needs a changelog.txt file before being merged into dev. See: [Change Log Instructions](https://github.com/massgov/mayflower/blob/dev/docs/change-log-instructions.md)


## Description
<!-- A few sentences describing the overall goals of the pull request's commits.-->

## Related Issue / Ticket

- [JIRA issue]()
- [Github issue]()

## Steps to Test
<!-- Outline the steps to test or reproduce the PR here. Whenever possible deploy your branch to your fork Github Pages so UAT can be done without rebuilding. See: https://github.com/massgov/mayflower/blob/master/docs/deploy.md -->

1.

## Screenshots
Use something like [licecap](http://www.cockos.com/licecap/) to capture gifs to demonstrate behaviors.


## Additional Notes:

Anything else to add?

#### Impacted Areas in Application
<!-- List general components of the application that this PR will affect: -->

*

#### @TODO
<!-- List any known remaining work for this ticket / issue. -->

*

#### Today I learned...
<!-- Did you learn anything valuable in your work for this PR that you could share with the team? You could list any relevant blogs, docs, or stack overflow posts that helped you with this work. -->
88 changes: 53 additions & 35 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,35 +1,53 @@
# Style Guide
This living styleguide is built using PatternLab.

## Machine set up
1. Install PHP
2. Install NodeJS version 6.9.4 (https://nodejs.org/en/download/)
3. Install GulpJS, via command line `npm install -g gulp`

## Set up instructions
1. Clone Repo
2. Move into the styleguide directory `cd mayflower/styleguide`
3. Generate pattern lab default files `php core/console --generate`
4. Install npm dependencies `npm install`

## Generate a styleguide
### For local development
1. run `gulp`
2. launch browser at http://localhost:3000/ or port shown in gulp output
3. Browser will automatically refresh as you make changes

### For a dev environment
1. run 'gulp build'

### For a production environment
1. run 'gulp prod'

# Working with PatternLab
* All work is done in the source folder.
* Mark-up is in the source/_patterns directory.
* Front end assets can be found in the source/assets directory
* Gulp will handle the conversion of files from source to public
* Pattern Lab specific files are in the /public/styleguide directory (the styleguide.html file is automatically generated when twig templates are updated)

# Release Deployment
Tagged releases are automatically (via CircleCI) deployed to the [Mayflower Artifacts](https://github.com/palantirnet/mayflower-artifacts) repo for consumption by the Palantir team. Tags should follow [semantic versioning](https://github.com/sindresorhus/semver-regex) conventions.
# Mayflower [![GitHub version](https://badge.fury.io/gh/massgov%2Fmayflower.svg)](https://badge.fury.io/gh/massgov%2Fmayflower)
Mayflower is the enterprise design system for the Commonwealth of Massachusetts.

## Getting Started

### Setting up your environment

In order to run Mayflower locally, you need to have some things installed and set up on your machine. Follow the steps in [setting up your machine](docs/machine-setup.md).

#### Demo Install
- Follow the steps in [Demo Install](docs/demo-install.md) to get a copy of the project up and running on your local machine for *demo* and *testing* purposes.

## Contribute

Please follow the steps in [Contributing docs](.github/CONTRIBUTING.md) to set up your fork and repo for *development* and *contribution* purposes.

## Deployment

### Developer Deployment

Every time a branch passes CircleCI it will deploy the code to a the following URL `http://mayflower.digital.mass.gov/b/<branch name>/index.html` which will allow the developer to share the URL with reviewers to test their code.

### Production Deployment

Mayflower release managers with the necessary repo permissions can see [Release docs](docs/release.md) for steps on deploying code to production (i.e. do a release).

## Generating assets

This project comes with gulp tasks to build Mayflower's static assets (html, css, js, + images) without serving them locally. See the [gulp-readme](styleguide/tools/gulp/gulp-readme.md) for more information.

### Mayflower Artifacts
Some Mass Digital Services projects (i.e. [massgov/mass](https://github.com/massgov/mass)) use twig templates in addition to the static assets (html, css, js, image) from Mayflower. To establish that dependency, those projects point their dependency manager (i.e. [composer](https://getcomposer.org/doc/00-intro.md)) to the [Mayflower Artifacts](https://github.com/massgov/mayflower-artifacts) repository, which is a collection of Mayflower build artifacts with both twig and static assets. Learn more about Mayflower Artifacts in the [massgov/openmass docs](https://github.com/massgov/openmass/blob/master/docs/Mayflower.md#mayflower-artifacts).

## Built With

* [Pattern Lab 2 (PHP)](http://patternlab.io/docs/index.html) - The pattern framework / static site generator
* [Twig](https://twig.sensiolabs.org/) - The templating language
* [TwigJS](https://github.com/twigjs/twig.js/wiki) - For clientside rendering of twig templates (see [ajaxPattern](styleguide/source/_patterns/03-organisms/by-template/ajax-pattern.md))

## Versioning

We use [SemVer](http://semver.org/) for versioning. For the versions available, see the [tags on this repository](https://github.com/massgov/mayflower/tags).

Learn about how Mayflower versions work in our [Semantic Versioning](docs/versioning.md) docs.

## License

This project is licensed under the is licensed under the GNU General Public License v2.0 - see the [LICENSE.txt](LICENSE.txt) file for details.

## Acknowledgments

* [Atomic Design](http://atomicdesign.bradfrost.com/chapter-2/) methodology by Brad Frost
* This awesome [README template](https://gist.github.com/PurpleBooth/109311bb0361f32d87a2) by [@PurpleBooth](https://gist.github.com/PurpleBooth)
3 changes: 3 additions & 0 deletions backstopjs/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
/node_modules
/runs
/reports
70 changes: 70 additions & 0 deletions backstopjs/backstop.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@

var walk = require('./walk-dir');
var path = require('path');

var patternPath = `${__dirname}/../styleguide/public/patterns/`;

/**
* Scan for page and template patterns.
*/
var files = walk(patternPath)
.filter(function(f) {
// Only *.html
return f.match(/\.html$/)
// Not index.html/markup-only.html
&& !f.match(/(\/index|markup-only)\.html$/)
// Only templates and pages.
&& f.match(/\/(04-templates|05-pages)/)
// Not the readme (has version #)
&& !f.match(/05-pages-readme2.html$/)
});

/**
* Map discovered HTML files to Backstop scenarios.
*/
var scenarios = files.map(function(file) {
return {
label: path.basename(file, '.html').replace('05-pages-', 'page-').replace('04-templates-', 'template-').replace('-', ' '),
url: `http://web/patterns/${path.relative(patternPath, file)}`,
misMatchThreshold: 0.05
}
});



module.exports = {
"id": "regression",
"viewports": [
{
"label": "phone",
"width": 320,
"height": 480
},
{
"label": "tablet",
"width": 1024,
"height": 768
}
],
"engineOptions": {
"waitTimeout": "10000",
"chromeFlags": ['--force-device-scale-factor=1']
},
"onBeforeScript": "onBefore.js",
"onReadyScript": "onReady.js",
"scenarios": scenarios,
"paths": {
"bitmaps_reference": `${__dirname}/reference`,
"bitmaps_test": `${__dirname}/runs`,
"engine_scripts": `${__dirname}/scripts`,
"html_report": `${__dirname}/reports/html`,
"ci_report": `${__dirname}/reports/ci`,
},
"report": ["browser", "CI"],
"engine": "chrome",
"engineFlags": [],
"asyncCaptureLimit": 3,
"asyncCompareLimit": 10,
"debug": false,
"debugWindow": false
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
20 changes: 20 additions & 0 deletions backstopjs/scripts/noAnimationHelper.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
module.exports = function(chromy) {
/**
* Writes a CSS property to set transition and animation
* delays and duration to 0ms.
*/
chromy.evaluate(function() {
var style = document.createElement('style');
style.type = 'text/css';
var styleNode = document.createTextNode(
'*, *::before, *::after {\n' +
' animation-delay: 0ms !important;\n' +
' animation-duration: 0ms !important;\n' +
' transition-duration: 0ms !important;\n' +
' transition-delay: 0ms !important;\n' +
'}'
);
style.appendChild(styleNode);
document.head.appendChild(style);
});
}
36 changes: 36 additions & 0 deletions backstopjs/scripts/noGoogleHelper.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
module.exports = function(chromy) {
/**
* Hides elements that are problematic during visual testing.
* * Google Maps, which may not load all the way
* * YouTube Videos, which display differently sometimes (A/B testing maybe?)
*/
chromy.evaluate(function() {
var style = document.createElement('style');
style.type = 'text/css';
var styleNode = document.createTextNode(
'.fluid-width-video-wrapper:after {' +
' background: black;' +
' content: \'\';' +
' position: absolute;' +
' top: 0;' +
' left: 0;' +
' right: 0;' +
' bottom: 0;' +
' z-index: 100;' +
'}' +
'.js-google-map:before {' +
' background: #B2DEA2;\n' +
' content: \' \';\n' +
' display: block;\n' +
' position: absolute;\n' +
' top: 0;\n' +
' left: 0;\n' +
' right: 0;\n' +
' bottom: 0;\n' +
' z-index: 100;\n' +
'}'
);
style.appendChild(styleNode);
document.head.appendChild(style);
});
}
4 changes: 4 additions & 0 deletions backstopjs/scripts/onBefore.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
module.exports = function (chromy, scenario, vp) {
// IGNORE ANY CERT WARNINGS
chromy.ignoreCertificateErrors();
};
Loading