apps-script-samples
apps-script-samples copied to clipboard
feat(calendar): Readded multiple groups and added blocked groups
Description
- Undid the removal of the support for multiple groups (why did you allow this person's PR just so they fix formatting?)
- Made the multiple groups and get all members functions to use each other to avoid duplicated code
- Added support for avoiding blocked groups (e.g. external ones)
- Fixed to prevent script crash when any event has no summary
- Simplified both functions' code
- Fixed spelling while at it (hope it's okay to avoid an extra PR just to put
fixin the title instead offeat)
Is it been tested?
- [X] Development testing done
Checklist
- [X] My code follows the style guidelines of this project
- [X] I have performed a self-review of my own code
- [X] I have performed a peer-reviewed with team member(s)
- [X] I have commented my code, particularly in hard-to-understand areas
- [X] I have made corresponding changes to the documentation
- [X] My changes generate no new warnings
- [X] Any dependent changes have been merged and published in downstream modules
Please note the failed tests failed Google's own original code, not my additions.