Skip to content

Commit

Permalink
v1.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
pheyvaer committed Mar 18, 2022
1 parent 3e1104c commit 6fac6a5
Show file tree
Hide file tree
Showing 5 changed files with 28 additions and 2 deletions.
13 changes: 13 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Changelog

All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).

## Unreleased

## 1.0.0 - 2022-03-18

### Added
- Changelog
1 change: 1 addition & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,7 @@ <h4>Select your calendar</h4>
<tr><td id="google-calendar"><a>Google Calendar</a></td></tr>
<tr><td id="outlook"><a>Outlook</a></td></tr>
<tr><td id="office365"><a>Office 365</a></td></tr>
<tr><td id="yahoo"><a>Yahoo</a></td></tr>
<tr><td id="other-app"><a>Other calendar application</a></td></tr>
</tbody>
</table>
Expand Down
2 changes: 1 addition & 1 deletion js/participants.js
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ export function getParticipantViaCalendarUrl(url, participants) {
const webids = Object.keys(participants);
let i = 0;

while (i < webids.length && participants[webids[i]].calendar !== url) {
while (i < webids.length && participants[webids[i]].calendar.url !== url) {
i++;
}

Expand Down
5 changes: 5 additions & 0 deletions js/slots.js
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,10 @@ function showCalendarLinksForSlot(startDate, endDate) {
officeLink.setAttribute('href', office365(event));
officeLink.setAttribute('target', '_blank');

const yahooLink = document.querySelector('#yahoo a');
yahooLink.setAttribute('href', yahoo(event));
yahooLink.setAttribute('target', '_blank');

const otherApp = document.querySelector('#other-app a');
otherApp.setAttribute('href', ics(event));
otherApp.setAttribute('download', 'meeting.ics');
Expand All @@ -169,6 +173,7 @@ function showCalendarLinksForSlot(startDate, endDate) {
googleLink.setAttribute('href', google(event));
outlookLink.setAttribute('href', outlook(event));
officeLink.setAttribute('href', office365(event));
yahooLink.setAttribute('href', yahoo(event));
otherApp.setAttribute('href', ics(event));
}

Expand Down
9 changes: 8 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
{
"name": "knoodle",
"version": "1.0.0",
"author": "Pieter Heyvaert (https://pieterheyvaert.com)",
"contributors": [
"Ben De Meester (https://ben.de-meester.org)"
],
"scripts": {
"prestart": "npx webpack",
"start": "npx http-server .",
Expand All @@ -22,5 +28,6 @@
"jsonld": "^5.2.0",
"rdf-parse": "^1.9.1",
"readable-web-to-node-stream": "^3.0.2"
}
},
"license": "MIT"
}

0 comments on commit 6fac6a5

Please sign in to comment.