Skip to content

Commit 49d3478

Browse files
ckstevennogalpaulina
authored andcommitted
chore: update js import versions; corrected contacts link in the help button; added changelog
1 parent 531922e commit 49d3478

File tree

9 files changed

+85
-47
lines changed

9 files changed

+85
-47
lines changed

Diff for: CHANGELOG.md

+34
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
#### 1.0.0 (2020-05-11)
2+
3+
##### Chores
4+
5+
* update js import versions; corrected contacts link in the help button; added changelog ([04adf9b6](https://github.com/myuw-web-components/myuw-web-components.github.io/commit/04adf9b676c24469b3477264056078343181b3fc))
6+
7+
##### Other Changes (copyedit)
8+
9+
* see them "in use" rather than see them "being used" ([51cebe59](https://github.com/myuw-web-components/myuw-web-components.github.io/commit/51cebe59d27bcbf626e291fe1c542de7f076d71f))
10+
11+
##### Documentation Changes
12+
13+
* document where MyUW using myuw-banner ([3a1363a5](https://github.com/myuw-web-components/myuw-web-components.github.io/commit/3a1363a54b138edbf6094bf0b681b81ee8a14e30))
14+
* document where MyUW using myuw-app-bar ([ce26dcfe](https://github.com/myuw-web-components/myuw-web-components.github.io/commit/ce26dcfec4e7952b88c5e63e3a712d2c7990bc2a))
15+
* document which MyUW web components app framework imports where ([2ec091c5](https://github.com/myuw-web-components/myuw-web-components.github.io/commit/2ec091c5bf035d31d0d307412626c883d6d8869e))
16+
17+
##### Other Changes (examples)
18+
19+
* MyUW using web components not just in predev ([ce4b09ca](https://github.com/myuw-web-components/myuw-web-components.github.io/commit/ce4b09cac265bbf4c3463b0b2fd45b87f43c6d97))
20+
21+
##### New Features
22+
23+
* add first-visit tour ([08dc331d](https://github.com/myuw-web-components/myuw-web-components.github.io/commit/08dc331d25f63ce1e8bc1828c44c3f34c87c5a83))
24+
25+
##### Bug Fixes
26+
27+
* use @wisc.edu email address for Andrew Petro contact, not gmail ([722b559e](https://github.com/myuw-web-components/myuw-web-components.github.io/commit/722b559ea15c7457e5bb3828e32b2a5378557f17))
28+
* push dependencies in lieu of bundler ([2356d2aa](https://github.com/myuw-web-components/myuw-web-components.github.io/commit/2356d2aaf2af1e07aaa43ba7dc149aa8ca914dca))
29+
* change drawer id to avoid css conflicts ([53df216c](https://github.com/myuw-web-components/myuw-web-components.github.io/commit/53df216c4f2648f79107ef22bf4d7a5031451227))
30+
31+
##### Other Changes (merge branch 'master' of https)
32+
33+
* //github.com/myuw-web-components/myuw-web-components.github.io into content ([683675e7](https://github.com/myuw-web-components/myuw-web-components.github.io/commit/683675e7b1384c13c022f083e0eda25d91aa501c))
34+

Diff for: Gemfile.lock

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ GEM
1515
colorator (1.1.0)
1616
commonmarker (0.17.7.1)
1717
ruby-enum (~> 0.5)
18-
concurrent-ruby (1.1.4)
18+
concurrent-ruby (1.1.6)
1919
ethon (0.11.0)
2020
ffi (>= 1.3.0)
2121
execjs (2.7.0)
@@ -235,4 +235,4 @@ DEPENDENCIES
235235
github-pages
236236

237237
BUNDLED WITH
238-
2.0.1
238+
2.1.4

Diff for: README.md

+4
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,10 @@ bundle exec jekyll serve
2222

2323
View the site at http://127.0.0.1:4000/
2424

25+
## Notes
26+
27+
This repository uses [this](https://github.com/lob/generate-changelog) package to auto-generate the changelog file, therefore it is recommended to follow the [conventional commits](https://www.conventionalcommits.org) specification.
28+
2529
### Contribution guidelines
2630

2731
Follow these basic rules when contributing to the site:

Diff for: _includes/head.html

+19-19
Original file line numberDiff line numberDiff line change
@@ -32,35 +32,35 @@
3232
<script defer src="https://code.getmdl.io/1.3.0/material.min.js"></script>
3333

3434
<!-- CSS variables polyfill -->
35-
<script src="https://unpkg.com/css-vars-ponyfill@1"></script>
35+
<script src="https://unpkg.com/css-vars-ponyfill@latest"></script>
3636

3737
<!-- Web component polyfill loader -->
38-
<script src="https://unpkg.com/@webcomponents/webcomponentsjs@2.1.3/webcomponents-loader.js"></script>
38+
<script src="https://unpkg.com/@webcomponents/webcomponentsjs@latest/webcomponents-loader.js"></script>
3939

4040
<!-- myuw-web-components -->
41-
<script src="https://unpkg.com/@myuw-web-components/myuw-app-styles@^1"></script>
41+
<script src="https://unpkg.com/@myuw-web-components/myuw-app-styles@latest"></script>
4242

43-
<script type="module" src="https://unpkg.com/@myuw-web-components/myuw-app-bar@^1?module"></script>
44-
<script nomodule src="https://unpkg.com/@myuw-web-components/myuw-app-bar@^1"></script>
43+
<script type="module" src="https://unpkg.com/@myuw-web-components/myuw-app-bar@latest?module"></script>
44+
<script nomodule src="https://unpkg.com/@myuw-web-components/myuw-app-bar@latest"></script>
4545

46-
<script type="module" src="https://unpkg.com/@myuw-web-components/myuw-drawer@^1?module"></script>
47-
<script nomodule src="https://unpkg.com/@myuw-web-components/myuw-drawer@^1"></script>
46+
<script type="module" src="https://unpkg.com/@myuw-web-components/myuw-drawer@latest?module"></script>
47+
<script nomodule src="https://unpkg.com/@myuw-web-components/myuw-drawer@latest"></script>
4848

49-
<script type="module" src="https://unpkg.com/@myuw-web-components/myuw-search@^1?module"></script>
50-
<script nomodule src="https://unpkg.com/@myuw-web-components/myuw-search@^1"></script>
49+
<script type="module" src="https://unpkg.com/@myuw-web-components/myuw-search@latest?module"></script>
50+
<script nomodule src="https://unpkg.com/@myuw-web-components/myuw-search@latest"></script>
5151

52-
<script type="module" src="https://unpkg.com/@myuw-web-components/myuw-profile@^1?module"></script>
53-
<script nomodule src="https://unpkg.com/@myuw-web-components/myuw-profile@^1"></script>
52+
<script type="module" src="https://unpkg.com/@myuw-web-components/myuw-profile@latest?module"></script>
53+
<script nomodule src="https://unpkg.com/@myuw-web-components/myuw-profile@latest"></script>
5454

55-
<script type="module" src="https://unpkg.com/@myuw-web-components/myuw-help@1.3.2?module"></script>
56-
<script nomodule src="https://unpkg.com/@myuw-web-components/myuw-help@1.3.2"></script>
55+
<script type="module" src="https://unpkg.com/@myuw-web-components/myuw-help@latest?module"></script>
56+
<script nomodule src="https://unpkg.com/@myuw-web-components/myuw-help@latest"></script>
5757

58-
<script type="module" src="https://unpkg.com/@myuw-web-components/myuw-notifications@^1?module"></script>
59-
<script nomodule src="https://unpkg.com/@myuw-web-components/myuw-notifications@^1"></script>
58+
<script type="module" src="https://unpkg.com/@myuw-web-components/myuw-notifications@latest?module"></script>
59+
<script nomodule src="https://unpkg.com/@myuw-web-components/myuw-notifications@latest"></script>
6060

61-
<script type="module" src="https://unpkg.com/@myuw-web-components/myuw-banner@1.1.0?module"></script>
62-
<script nomodule scr="https://unpkg.com/@myuw-web-components/myuw-banner@1.1.0"></script>
61+
<script type="module" src="https://unpkg.com/@myuw-web-components/myuw-banner@latest?module"></script>
62+
<script nomodule scr="https://unpkg.com/@myuw-web-components/myuw-banner@latest"></script>
6363

64-
<script type="module" src="https://unpkg.com/@myuw-web-components/myuw-badge@1.0.2?module"></script>
65-
<script nomodule src="https://unpkg.com/@myuw-web-components/myuw-badge@1.0.2"></script>
64+
<script type="module" src="https://unpkg.com/@myuw-web-components/myuw-badge@latest?module"></script>
65+
<script nomodule src="https://unpkg.com/@myuw-web-components/myuw-badge@latest"></script>
6666
</head>

Diff for: _includes/header.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
<div slot="myuw-help-content">
4141
<p>
4242
If you feel lost or overwhelmed, check out the
43-
<a href="contacts.html" target="_blank">contacts page</a>
43+
<a href="pages/contacts.html" target="_blank">contacts page</a>
4444
and feel free to email one of our developers.
4545
</p>
4646
</div>

Diff for: pages/badge.html

+3-3
Original file line numberDiff line numberDiff line change
@@ -154,11 +154,11 @@ <h4>Attributes</h4>
154154
}
155155
function generateBadgeCode() {
156156
var markupContainer = document.getElementById('generateBadgeCode');
157-
var badgeImport = '&lt;script type="module" src="https://unpkg.com/@myuw-web-components/myuw-badge@1.0.2?module"&gt;&lt;/script&gt';
158-
var badgeNoModule = '&lt;script nomodule src="https://unpkg.com/@myuw-web-components/myuw-badge@1.0.2"&gt;&lt;/script&gt';
157+
var badgeImport = '&lt;script type="module" src="https://unpkg.com/@myuw-web-components/myuw-badge@latest?module"&gt;&lt;/script&gt';
158+
var badgeNoModule = '&lt;script nomodule src="https://unpkg.com/@myuw-web-components/myuw-badge@latest"&gt;&lt;/script&gt';
159159
var markupString = `
160160
&lt;!-- Copy and paste the following script tags into your page's &lt;head&gt; element --&gt;
161-
&lt;script src="https://unpkg.com/@webcomponents/webcomponentsjs@2.1.3/webcomponents-loader.js"&gt;&lt;/script&gt;
161+
&lt;script src="https://unpkg.com/@webcomponents/webcomponentsjs@latest/webcomponents-loader.js"&gt;&lt;/script&gt;
162162
${badgeImport}
163163
${badgeNoModule}
164164

Diff for: pages/contacts.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ <h2 id="page-title">Project info &amp; contacts</h2>
2121
</span>
2222
</a>
2323
<span class="mdl-list__item-secondary-content">
24-
<a class="mdl-list__item-secondary-action" href="mailto:myuw-infra@0ffice365.wisc.edu"><i
24+
<a class="mdl-list__item-secondary-action" href="mailto:myuw-infra@office365.wisc.edu"><i
2525
class="material-icons">email</i></a>
2626
</span>
2727
</li>

Diff for: src/scripts/interactions.js

+20-20
Original file line numberDiff line numberDiff line change
@@ -640,56 +640,56 @@ function generateComponentMarkup() {
640640

641641

642642
if (this.includedComponents.indexOf('nav') != -1) {
643-
drawerImport = '&lt;script type="module" src="https://unpkg.com/@myuw-web-components/myuw-drawer@^1?module"&gt;&lt;/script&gt';
644-
drawerNoModule = '&lt;script nomodule src="https://unpkg.com/@myuw-web-components/myuw-drawer@^1"&gt;&lt;/script&gt';
643+
drawerImport = '&lt;script type="module" src="https://unpkg.com/@myuw-web-components/myuw-drawer@latest?module"&gt;&lt;/script&gt';
644+
drawerNoModule = '&lt;script nomodule src="https://unpkg.com/@myuw-web-components/myuw-drawer@latest"&gt;&lt;/script&gt';
645645
}
646646
if (this.includedComponents.indexOf('search') != -1) {
647-
searchImport = '&lt;script type="module" src="https://unpkg.com/@myuw-web-components/myuw-search@^1?module"&gt;&lt;/script&gt';
648-
searchNoModule = '&lt;script nomodule src="https://unpkg.com/@myuw-web-components/myuw-search@^1"&gt;&lt;/script&gt';
647+
searchImport = '&lt;script type="module" src="https://unpkg.com/@myuw-web-components/myuw-search@latest?module"&gt;&lt;/script&gt';
648+
searchNoModule = '&lt;script nomodule src="https://unpkg.com/@myuw-web-components/myuw-search@latest"&gt;&lt;/script&gt';
649649
}
650650
if (this.includedComponents.indexOf('profile') != -1) {
651-
profileImport = '&lt;script type="module" src="https://unpkg.com/@myuw-web-components/myuw-profile@^1?module"&gt;&lt;/script&gt';
652-
profileNoModule = '&lt;script nomodule src="https://unpkg.com/@myuw-web-components/myuw-profile@^1"&gt;&lt;/script&gt';
651+
profileImport = '&lt;script type="module" src="https://unpkg.com/@myuw-web-components/myuw-profile@latest?module"&gt;&lt;/script&gt';
652+
profileNoModule = '&lt;script nomodule src="https://unpkg.com/@myuw-web-components/myuw-profile@latest"&gt;&lt;/script&gt';
653653
}
654654

655655
if (this.includedComponents.indexOf('help') != -1) {
656-
helpImport = '&lt;script type="module" src="https://unpkg.com/@myuw-web-components/myuw-help@^1?module"&gt;&lt;/script&gt';
657-
helpNoModule = '&lt;script nomodule src="https://unpkg.com/@myuw-web-components/myuw-help@^1"&gt;&lt;/script&gt';
656+
helpImport = '&lt;script type="module" src="https://unpkg.com/@myuw-web-components/myuw-help@latest?module"&gt;&lt;/script&gt';
657+
helpNoModule = '&lt;script nomodule src="https://unpkg.com/@myuw-web-components/myuw-help@latest"&gt;&lt;/script&gt';
658658
}
659659

660660
if (this.includedComponents.indexOf('notifications') != -1) {
661-
notificationsImport = '&lt;script type="module" src="https://unpkg.com/@myuw-web-components/myuw-notifications@^1?module"&gt;&lt;/script&gt';
662-
notificationsNoModule = '&lt;script nomodule src="https://unpkg.com/@myuw-web-components/myuw-notifications@^1"&gt;&lt;/script&gt';
661+
notificationsImport = '&lt;script type="module" src="https://unpkg.com/@myuw-web-components/myuw-notifications@latest?module"&gt;&lt;/script&gt';
662+
notificationsNoModule = '&lt;script nomodule src="https://unpkg.com/@myuw-web-components/myuw-notifications@latest"&gt;&lt;/script&gt';
663663
}
664664

665665
if (this.includedComponents.indexOf('banner') != -1) {
666-
bannerImport = '&lt;script type="module" src="https://unpkg.com/@myuw-web-components/myuw-banner@^1?module"&gt;&lt;/script&gt';
667-
bannerNoModule = '&lt;script nomodule src="https://unpkg.com/@myuw-web-components/myuw-banner@^1"&gt;&lt;/script&gt';
666+
bannerImport = '&lt;script type="module" src="https://unpkg.com/@myuw-web-components/myuw-banner@latest?module"&gt;&lt;/script&gt';
667+
bannerNoModule = '&lt;script nomodule src="https://unpkg.com/@myuw-web-components/myuw-banner@latest"&gt;&lt;/script&gt';
668668
}
669669

670670
if (this.includedComponents.indexOf('badge') != -1) {
671-
badgeImport = '&lt;script type="module" src="https://unpkg.com/@myuw-web-components/myuw-badge@^1?module"&gt;&lt;/script&gt';
672-
badgeNoModule = '&lt;script nomodule src="https://unpkg.com/@myuw-web-components/myuw-badge@^1"&gt;&lt;/script&gt';
671+
badgeImport = '&lt;script type="module" src="https://unpkg.com/@myuw-web-components/myuw-badge@latest?module"&gt;&lt;/script&gt';
672+
badgeNoModule = '&lt;script nomodule src="https://unpkg.com/@myuw-web-components/myuw-badge@latest"&gt;&lt;/script&gt';
673673
}
674674

675675
// Include script tags for all components currently toggled ON
676676
var importsString = `
677677
&lt;!-- The following tags are required for cross-browser support --&gt;
678678
&lt;meta name="viewport" content="width=device-width, initial-scale=1"&gt;
679-
&lt;script src="https://unpkg.com/@webcomponents/webcomponentsjs@2.1.3/webcomponents-loader.js"&gt;&lt;/script&gt;
680-
&lt;script src="https://unpkg.com/css-vars-ponyfill@1"&gt;&lt;/script&gt;
679+
&lt;script src="https://unpkg.com/@webcomponents/webcomponentsjs@latest/webcomponents-loader.js"&gt;&lt;/script&gt;
680+
&lt;script src="https://unpkg.com/css-vars-ponyfill@latest"&gt;&lt;/script&gt;
681681
&lt;script&gt;cssVars({shadowDOM: true,watch: true});&lt;/script&gt;
682682
683683
&lt!-- UW-Madison app styles (recommended if you're a UW-Madison adopter) --&gt;
684-
&lt;script type="module" src="https://unpkg.com/@myuw-web-components/myuw-app-styles@^1?module"&gt;&lt;/script&gt;
685-
&lt;script nomodule src="https://unpkg.com/@myuw-web-components/myuw-app-styles@^1"&gt;&lt;/script&gt;
684+
&lt;script type="module" src="https://unpkg.com/@myuw-web-components/myuw-app-styles@latest?module"&gt;&lt;/script&gt;
685+
&lt;script nomodule src="https://unpkg.com/@myuw-web-components/myuw-app-styles@latest"&gt;&lt;/script&gt;
686686
687687
&lt!--
688688
Import selected myuw-web-components
689689
Note: "nomodule" fallbacks are required for cross-browser support. They will only be loaded in browsers without ES6 module support.
690690
--&gt;
691-
&lt;script type="module" src="https://unpkg.com/@myuw-web-components/myuw-app-bar@^1?module"&gt;&lt;/script&gt;
692-
&lt;script nomodule src="https://unpkg.com/@myuw-web-components/myuw-app-bar@^1"&gt;&lt;/script&gt;
691+
&lt;script type="module" src="https://unpkg.com/@myuw-web-components/myuw-app-bar@latest?module"&gt;&lt;/script&gt;
692+
&lt;script nomodule src="https://unpkg.com/@myuw-web-components/myuw-app-bar@latest"&gt;&lt;/script&gt;
693693
${drawerImport}
694694
${drawerNoModule}
695695
${searchImport}

Diff for: src/scripts/tour.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ const stepSix = tour.addStep('step6', {
144144
const stepSeven = tour.addStep('step7', {
145145
title: 'Copy the generated code',
146146
text: `Here you'll find of the code you need to use myuw-web-components. Just copy and paste it into your own app or web page. If you have
147-
questions or concerns, or if you need more help getting started, feel free to <a href="contacts.html">contact our development team</a>.
147+
questions or concerns, or if you need more help getting started, feel free to <a href="pages/contacts.html">contact our development team</a>.
148148
`,
149149
showCancelLink: true,
150150
buttons: [

0 commit comments

Comments
 (0)