Skip to content
This repository was archived by the owner on Sep 25, 2025. It is now read-only.

feat: removing iCalendar from invitations - #2101

Merged
gikf merged 4 commits into
freeCodeCamp:mainfrom
ojeytonwilliams:feat/remove-ical
Dec 19, 2022
Merged

gikf merged 4 commits into
freeCodeCamp:mainfrom
ojeytonwilliams:feat/remove-ical

Conversation

@ojeytonwilliams

@ojeytonwilliams ojeytonwilliams commented Dec 15, 2022 •

Copy link
Copy Markdown
Contributor
  • I have read Chapter's contributing guidelines.
  • My pull request has a descriptive title (not a vague title like Update README.md).
  • My pull request targets the main branch of Chapter.

The invitation email from Chapter

image

looks a lot like the invitation from Google Calendar

image

At least it does in Gmail. The reason for this is the presence of the .ics file. Gmail picks up on this and provides a helpful widget at the top.

Related: #1670

It's already getting attached to the emails sent by Google.
@ojeytonwilliams
ojeytonwilliams requested a review from a team December 15, 2022 15:30
@gikf gikf closed this Dec 16, 2022
@gikf gikf reopened this Dec 16, 2022
@ghost

ghost commented Dec 16, 2022 •

Copy link
Copy Markdown
👇 Click on the image for a new way to code review
  • Make big changes easier — review code in small groups of related files

  • Know where to start — see the whole change at a glance

  • Take a code tour — explore the change with an interactive tour

  • Make comments and review — all fully sync’ed with github

    Try it now!

Review these changes using an interactive CodeSee Map

Legend

CodeSee Map Legend

@gikf gikf left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Any reason to still keep these?

import ical from 'ical-generator';

const calendar = ical();
calendar.createEvent({
start: event.start_at,
end: event.ends_at,
summary: event.name,
url: eventURL,
});

@ojeytonwilliams

Copy link
Copy Markdown
Contributor Author

Nope, they can go.

@gikf

gikf commented Dec 16, 2022

Copy link
Copy Markdown
Member

Then ical-generator dependency can be dropped too...

@ojeytonwilliams

Copy link
Copy Markdown
Contributor Author

Cheers, @gikf. I think I've finally got everything.

@gikf
gikf merged commit 8d6d014 into freeCodeCamp:main Dec 19, 2022
@ojeytonwilliams
ojeytonwilliams deleted the feat/remove-ical branch December 19, 2022 17:05
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants