Skip to content

Commit 7f3cb25

Browse files
committed
Merge branch 'master' into onboarding-mockup
2 parents 15ded6c + 046421b commit 7f3cb25

File tree

4 files changed

+38
-1
lines changed

4 files changed

+38
-1
lines changed

RELEASE.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,35 @@
33
## Releases
44

55
### 0.6.1
6+
[Released: *2020-09-03*](https://bitbucket.org/cividi/gemeindescan-webui/commits/tag/0.6.1)
7+
8+
- Improved snapshot loading and switching
69

710
### 0.6.0
11+
[Released: *2020-08-04*](https://bitbucket.org/cividi/gemeindescan-webui/commits/tag/0.6.0)
12+
13+
- Added snapshot sections in workspaces and municipalities based on topic
814

915
### 0.5.1
16+
[Released: *2020-05-27*](https://bitbucket.org/cividi/gemeindescan-webui/commits/tag/0.5.1)
17+
18+
- Improved OpenGraph Support
19+
- Improved screenshot server
1020

1121
### 0.5.0
22+
[Released: *2020-05-20*](https://bitbucket.org/cividi/gemeindescan-webui/commits/tag/0.5.0)
23+
24+
- Added OpenGraph support for public snapshots (rich social media links)
25+
- Improved error messages in frontend
26+
- Improved screenshot server
27+
- Improved django backend
1228

1329
### 0.4.0
30+
[Released: *2020-05-11*](https://bitbucket.org/cividi/gemeindescan-webui/commits/tag/0.4.0)
31+
32+
- Added PNG downloads
33+
- Added screenshot server
34+
- Added Django and Vue tests
1435

1536
### 0.3.1
1637
[Released: *2020-04-09*](https://bitbucket.org/cividi/gemeindescan-webui/commits/tag/0.3.1)

vue/.env

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
VUE_APP_GRAPHQL_URI=http://www:8000/graphql/
22
VUE_APP_DJANGOBASEURL=http://www:8000
3+
VUE_APP_FATHOM_SITEID=GYFGUGON

vue/.env.production

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
VUE_APP_GRAPHQL_URI=/graphql/
22
VUE_APP_DJANGOBASEURL=
33
VUE_APP_SNAPSHOTSTOREURL=
4+
VUE_APP_FATHOM_SITEID=

vue/src/App.vue

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,9 @@ import LayoutDefault from '@/layouts/LayoutDefault.vue';
2020
2121
export default {
2222
data() {
23-
return {};
23+
return {
24+
fathomSiteId: process.env.VUE_APP_FATHOM_SITEID
25+
};
2426
},
2527
2628
created() {
@@ -36,6 +38,18 @@ export default {
3638
}
3739
},
3840
41+
mounted() {
42+
if (this.fathomSiteId !== '') {
43+
const fathomScript = document.createElement('script');
44+
fathomScript.setAttribute('src', 'https://cdn.usefathom.com/script.js');
45+
fathomScript.setAttribute('spa', 'auto');
46+
fathomScript.setAttribute('data-site', this.fathomSiteId);
47+
fathomScript.setAttribute('exluded-domains', 'www,www.local,localhost');
48+
fathomScript.setAttribute('defer', true);
49+
document.head.appendChild(fathomScript);
50+
}
51+
},
52+
3953
methods: {
4054
setInitialSnapshotnav() {
4155
if (this.$route.params.hash) {

0 commit comments

Comments
 (0)