Skip to content

Commit f091e07

Browse files
authored
Merge pull request #141 from vatz88/fall2020
Fall 2020
2 parents 9f23b81 + cef44c8 commit f091e07

File tree

7 files changed

+28
-12
lines changed

7 files changed

+28
-12
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Website to visualize VIT timetable. Helpful to students of VIT University, Vello
1010

1111
Visit the website here [ffcsonthego.vatz88.in](https://ffcsonthego.vatz88.in)
1212

13-
> Last updated for Winter Semester 2019-20
13+
> Last updated for Fall Semester 2020-21
1414
1515
🔈 Old site used untill Winter Semester 2018-19 is archived at https://ffcsonthego-archive.vatz88.in/
1616

@@ -22,8 +22,8 @@ Found a bug or have a new idea? Feel free to open [issues](https://github.com/va
2222

2323
## Authors
2424

25-
- **Vatsal Joshi** - _Initial work_ - [vatz88](https://github.com/vatz88)
26-
- **Sangeeth Sudheer** - [sangeeth96](https://github.com/sangeeth96)
25+
- **Vatsal Joshi** - _Initial work_ - [vatz88](https://github.com/vatz88)
26+
- **Sangeeth Sudheer** - [sangeeth96](https://github.com/sangeeth96)
2727

2828
See also the list of [contributors](https://github.com/vatz88/FFCSonTheGo/contributors) who participated in this project.
2929

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"license": "GPL-3.0",
88
"private": false,
99
"scripts": {
10-
"start": "yarn convert && && yarn start:noconvert",
10+
"start": "yarn convert && yarn start:noconvert",
1111
"start:noconvert": "parcel src/index.html",
1212
"build:sw": "workbox generateSW ./src/workbox-config.js",
1313
"build": "yarn convert && parcel build src/index.html && yarn build:sw",
@@ -35,7 +35,7 @@
3535
"bootstrap": "3.4.1",
3636
"bootstrap-multiselect": "^0.9.13-1",
3737
"easy-autocomplete": "1.3.5",
38-
"html2canvas": "^1.0.0-rc.3",
38+
"html2canvas": "^1.0.0-rc.5",
3939
"jquery": "3.5.0",
4040
"localforage": "^1.7.3"
4141
}

src/index.html

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,8 @@ <h1>
180180
<div class="row">
181181
<div class="col-sm-12 text-center text-info">
182182
<h5>
183-
Last updated for Winter Semester 2019-20
183+
Last updated for Fall Semester 2020-21 for Vellore
184+
Campus
184185
</h5>
185186
</div>
186187
</div>
@@ -214,7 +215,10 @@ <h5>
214215
/>
215216
Vellore
216217
</label>
217-
<label class="btn btn-primary">
218+
<label
219+
class="btn btn-primary disabled"
220+
style="pointer-events: none;"
221+
>
218222
<input
219223
type="radio"
220224
name="campus-option"

src/js/main.js

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,18 @@ document.onkeydown = function(e) {
115115
}
116116
};
117117

118+
// Setup a listener to track Add to Homescreen events.
119+
window.addEventListener('beforeinstallprompt', (e) => {
120+
e.userChoice.then((choiceResult) => {
121+
ga('send', {
122+
hitType: 'event',
123+
eventCategory: 'A2H',
124+
eventAction: 'click',
125+
eventLabel: `A2H ${choiceResult.outcome}`,
126+
});
127+
});
128+
});
129+
118130
// const Sentry = require('@sentry/browser');
119131
// Sentry.init({
120132
// dsn: 'https://2108314c87344a6c9c4d1db1e82b5d05@sentry.io/1487980',

src/manifest.webmanifest

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"background_color": "#ffffff",
66
"display": "standalone",
77
"Scope": "/",
8-
"start_url": "/",
8+
"start_url": "/?utm_source=homescreen",
99
"icons": [
1010
{
1111
"src": "images/icons/icon-72x72.png",

util/report.xlsx

-127 KB
Binary file not shown.

yarn.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3990,10 +3990,10 @@ html-tags@^1.0.0:
39903990
resolved "https://registry.yarnpkg.com/html-tags/-/html-tags-1.2.0.tgz#c78de65b5663aa597989dd2b7ab49200d7e4db98"
39913991
integrity sha1-x43mW1Zjqll5id0rerSSANfk25g=
39923992

3993-
html2canvas@^1.0.0-rc.3:
3994-
version "1.0.0-rc.3"
3995-
resolved "https://registry.yarnpkg.com/html2canvas/-/html2canvas-1.0.0-rc.3.tgz#1de88b073f6bcaa6954ca1edfb46da13b258b038"
3996-
integrity sha512-nWRk34IO3QopcDYpiPAbRW6VoI10H7uxEhcSFjox0JB6wZOMd6Mak+NqHPLljSFFEOvBjPafyRgcHnuWcFpWvg==
3993+
html2canvas@^1.0.0-rc.5:
3994+
version "1.0.0-rc.5"
3995+
resolved "https://registry.yarnpkg.com/html2canvas/-/html2canvas-1.0.0-rc.5.tgz#4ee3cac9f6e20a0fa0c2f35a6f99c960ae7ec4c1"
3996+
integrity sha512-DtNqPxJNXPoTajs+lVQzGS1SULRI4GQaROeU5R41xH8acffHukxRh/NBVcTBsfCkJSkLq91rih5TpbEwUP9yWA==
39973997
dependencies:
39983998
css-line-break "1.1.1"
39993999

0 commit comments

Comments
 (0)