Connect Google Calendar for the next meeting without turning on Mail
Maintainers usually reply within 2 days
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 20/100
- Issue type
- Feature
- Clarity
- Needs clarification
- Activity status
- Active
- Tech stack
- swift
Research direction
The issue names OutlookCalendars, MeetingsGoogle, and MailClient.underReview, and says the non-visible sign-in, account, and reading work is already on a branch with tests. Start by reviewing that branch and its tests, then clarify the proposed Connect menu and Settings › Tabs behavior and Google consent flow with the author. Done means those decisions are settled and the two UI parts are implemented; the issue does not name specific files or tests.
Written by the indexing model from the issue text.
Description
The problem
A pinned Google Calendar shows "No calendar connected" with Connect until Yab can read a calendar. Today that takes one of:
- the Mac's calendars, which means adding the Google account in System Settings › Internet Accounts;
- a Gmail account connected in Yab Mail, which is experimental and off by default;
- Outlook, calendar only, still off until Yab has a Microsoft app.
With Mail off, Connect only asks for the Mac's calendars. People who live in Google Calendar (or Notion Calendar, which sits on Google Calendar and has no public API) and don't use the Mac's Calendar never see the meeting list, the countdown or Join.
What you'd like
Proposal
Connect a Google account for its calendar alone, the way Outlook already can (OutlookCalendars):
- Sign-in: the Mac's sheet, like Mail's Google sign-in, with Yab's Google client asking only for
calendar.events.readonly,calendar.calendarlist.readonly, plusopenid emailto know which account it is. No Gmail scope. - Token: the refresh token in the keychain, apart from Mail's.
- Reading: the meetings are read with the code Mail's accounts already use (
MeetingsGoogle), so the card, the countdown, Join and ⌃⌘J are unchanged. - Shared address: an address connected in Mail too is read once. Remove doesn't revoke at Google while Mail holds the same address.
Two visible changes, mocked up here:
- Connect on the card, Mail off: a short menu instead of going straight to the Mac's question.
No calendar connected [Connect ▾]
├ Google Calendar
└ Calendars on This Mac
(Outlook Calendar would join the list once Yab has a Microsoft app.) With Mail on, Connect keeps opening Settings › Mail.
- Settings › Tabs, under "Your next meeting":
Your next meeting [on]
Google Calendar [email protected] [Remove]
[email protected] Signed out [Sign In Again]
[Add Google Calendar]
Questions
- Is a menu on Connect the shape you want, or would you rather Connect go straight to Google and keep the Mac's calendars in Settings?
- While
MailClient.underReviewis true, does a sign-in with only the calendar scopes still show Google's "hasn't verified this app" page? If it does, a warning step with calendar wording comes first (aswarnFirstdoes for Mail). - Are
openidandemailfine to add to the client, or would you prefer the address read from the calendar list?
The non-visible part (sign-in, accounts, reading) is ready on a branch with tests. I'll build the two UI parts once you say yes to a shape.
How you manage today (optional)
No response
Yab version (optional)
Version 0.48.0 (202611161400)
- Dominant language
- Swift
- Stars
- 648
- Forks
- 56
- Avg merge
- 21h 14m
- Merged PRs (30d)
- 22
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from yetanotherbrowser/yab
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
yetanotherbrowser/yab#1008 ·
Maintainers usually reply within 2 days
-
area: passwords Broken bug
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
yetanotherbrowser/yab#923 ·
Maintainers usually reply within 2 days
-
bug needs triage
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
yetanotherbrowser/yab#918 · 1 reaction ·
Maintainers usually reply within 2 days
-
iPhone: the + button and the checkmark sit on top of the Space switcher in the bottom barPossibly taken @ChaseRoofener claimed this 3 days ago. OpenAnnoying area: iphone bug needs info
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
yetanotherbrowser/yab#915 · 3 comments ·
Maintainers usually reply within 2 days
-
CONTRIBUTING.md and CI run scripts/runs/tests_for.py, which is not in the repositoryPossibly taken @serafimcloud claimed this 2 days ago. OpenAnnoying in progress
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
yetanotherbrowser/yab#875 · 1 comment ·
Maintainers usually reply within 2 days
All issues in yetanotherbrowser/yab
Similar issues
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
swiftlang/swift-org-website#1608 ·
Maintainers usually reply within 2 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
haacked/switchboard#460 ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 67/100
manaflow-ai/cmux#47572 ·
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
borrowcheckmate/swimlie#48 ·
Maintainers usually reply within 1 day