Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open Calendar event in Submenu #59

Closed
dev10110 opened this issue Aug 28, 2020 · 6 comments
Closed

Open Calendar event in Submenu #59

dev10110 opened this issue Aug 28, 2020 · 6 comments
Assignees
Labels
feature New feature or request

Comments

@dev10110
Copy link
Contributor

Is your feature request related to a problem? Please describe.
Feature Request.
When I click into the details of an event in the meeting bar, I can't click anything, especially links that are embedded in the event details.

Describe the solution you'd like
I would like to be able to click somewhere to open my calendar (hopefully to the specific event) so I can see all the details.

Describe alternatives you've considered
Currently, I just open the calendar separately, find the event and open the links.

@dev10110
Copy link
Contributor Author

Addressed by #60, but not fully - calendar app can be opened, but not to a specific event.

@leits
Copy link
Owner

leits commented Aug 31, 2020

Thanks, @dev10110!
It's a great idea to open a calendar app for the event!

I think the opening event in the calendar is much more valuable than the calendar opening.
This can be done easily in other ways, as opposed to opening an event in the calendar.

Did you try to use calshow: URI scheme? Maybe it will works as you want.

@dev10110
Copy link
Contributor Author

I tried, but I am not familiar with the URI scheme, and couldn't figure out what the right URI should be.
If you point me in the right direction, I'll implement it!

btw, for mac it seems we need to use ical, calshow is for iOS (?).

@leits leits self-assigned this Sep 1, 2020
@leits leits added the feature New feature or request label Sep 1, 2020
@leits
Copy link
Owner

leits commented Sep 14, 2020

@dev10110 , looks like I found the way:
let url = URL(string: "ical://ekevent/\(identifier)")

Try it when you'll have time.

@dev10110
Copy link
Contributor Author

@leits thats awesome!! and it works!

im just (very) new to Swift in general, and can't figure out how to pass the event identifier as an argument from StatusBarItemController.swift into AppDelegate. If you point me in the right direction I can try it again.

@leits
Copy link
Owner

leits commented Nov 24, 2020

@leits leits closed this as completed Nov 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants