-
Notifications
You must be signed in to change notification settings - Fork 314
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
Add 'transparent' flag to 'add' to allow creation of non-Busy (Free) … #509
base: main
Are you sure you want to change the base?
Conversation
This seems like a useful addition. But this needs a little work before I can merge it. Here are my two concerns:
|
1. I'm willing to change it to --nonbusy. I will give it a day or two for
input.
2. Yeah, I rushed it and only tested it manually for my application. I
will improve the tests.
An etiquette and git question: (zero experience in the github world...)
Do I create a new branch? (and create a new pull request?)
Do I just continue to work on the existing branch? (and give a holler when
I think it is ready to go.)
|
No need to make a new PR. Beyond that, I'm happy for you to manage things as you see fit. Choose a new branch (you should be able to edit the PR to target a different source branch), or keep this branch and make changes. Squash your commits if you like. You can go so far as to force push and rewrite published history within your branch. As long as you own the branch, I won't worry about it. Thanks for the PR! Looking forward to the changes. |
495f611
to
551b51d
Compare
551b51d
to
fbef170
Compare
Oh yeah, I see it's called "transparency" in the API (https://developers.google.com/calendar/api/v3/reference/events#transparency) but in the UI it's called visibility=FREE|BUSY (https://support.google.com/calendar/answer/34580?p=event_visibility&co=GENIE.Platform%3DDesktop). I think that'll be the more discoverable name for most users. Could we change that to LMK if you're planning to do that, otherwise I'll probably put together some changes to fix it. |
Although weirdly Google seems to also refer to the privacy setting as "visibility" (public/private). Still, we should probably follow the naming they use in the actual UI and help docs and call this parameter "visibility". |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please update the flag name as discussed.
LMK if you need help or would like someone else to take over on this change.
…events.
I use this to create all day events frequently. I don't want the day marked busy.
So, I added this.