Skip to content

Commit

Permalink
Merge pull request #141 from vatz88/fall2020
Browse files Browse the repository at this point in the history
Fall 2020
  • Loading branch information
vatz88 authored Jul 1, 2020
2 parents 9f23b81 + cef44c8 commit f091e07
Show file tree
Hide file tree
Showing 7 changed files with 28 additions and 12 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Website to visualize VIT timetable. Helpful to students of VIT University, Vello

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

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

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

## Authors

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

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

Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"license": "GPL-3.0",
"private": false,
"scripts": {
"start": "yarn convert && && yarn start:noconvert",
"start": "yarn convert && yarn start:noconvert",
"start:noconvert": "parcel src/index.html",
"build:sw": "workbox generateSW ./src/workbox-config.js",
"build": "yarn convert && parcel build src/index.html && yarn build:sw",
Expand Down Expand Up @@ -35,7 +35,7 @@
"bootstrap": "3.4.1",
"bootstrap-multiselect": "^0.9.13-1",
"easy-autocomplete": "1.3.5",
"html2canvas": "^1.0.0-rc.3",
"html2canvas": "^1.0.0-rc.5",
"jquery": "3.5.0",
"localforage": "^1.7.3"
}
Expand Down
8 changes: 6 additions & 2 deletions src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,8 @@ <h1>
<div class="row">
<div class="col-sm-12 text-center text-info">
<h5>
Last updated for Winter Semester 2019-20
Last updated for Fall Semester 2020-21 for Vellore
Campus
</h5>
</div>
</div>
Expand Down Expand Up @@ -214,7 +215,10 @@ <h5>
/>
Vellore
</label>
<label class="btn btn-primary">
<label
class="btn btn-primary disabled"
style="pointer-events: none;"
>
<input
type="radio"
name="campus-option"
Expand Down
12 changes: 12 additions & 0 deletions src/js/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,18 @@ document.onkeydown = function(e) {
}
};

// Setup a listener to track Add to Homescreen events.
window.addEventListener('beforeinstallprompt', (e) => {
e.userChoice.then((choiceResult) => {
ga('send', {
hitType: 'event',
eventCategory: 'A2H',
eventAction: 'click',
eventLabel: `A2H ${choiceResult.outcome}`,
});
});
});

// const Sentry = require('@sentry/browser');
// Sentry.init({
// dsn: 'https://2108314c87344a6c9c4d1db1e82b5d05@sentry.io/1487980',
Expand Down
2 changes: 1 addition & 1 deletion src/manifest.webmanifest
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"background_color": "#ffffff",
"display": "standalone",
"Scope": "/",
"start_url": "/",
"start_url": "/?utm_source=homescreen",
"icons": [
{
"src": "images/icons/icon-72x72.png",
Expand Down
Binary file modified util/report.xlsx
Binary file not shown.
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3990,10 +3990,10 @@ html-tags@^1.0.0:
resolved "https://registry.yarnpkg.com/html-tags/-/html-tags-1.2.0.tgz#c78de65b5663aa597989dd2b7ab49200d7e4db98"
integrity sha1-x43mW1Zjqll5id0rerSSANfk25g=

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

Expand Down

0 comments on commit f091e07

Please sign in to comment.