feat(media): Embed Google Photo Picker via Popup Flow

- Revert 'Unified Embedded Picker' which caused 403 errors due to iframe restrictions on the Google Photos Picker.
- Implement a 'Popup Window' flow for Google Photos selections, keeping the Media Manager active.
- Restore 'Classic' Embedded Picker for Google Drive (DocsView) as it is compatible with iframes.
- Update ppsscript.json with drive.photos.readonly scope for correct permissions.
- Update Media Manager UI to separate Drive and Photos buttons.
This commit is contained in:
Ben Miller
2025-12-29 01:47:31 -07:00
parent d9fe81f282
commit 4b156cb371
2 changed files with 525 additions and 496 deletions

File diff suppressed because it is too large Load Diff

View File

@ -18,6 +18,7 @@
"https://www.googleapis.com/auth/script.scriptapp",
"https://www.googleapis.com/auth/drive",
"https://www.googleapis.com/auth/userinfo.email",
"https://www.googleapis.com/auth/photospicker.mediaitems.readonly"
"https://www.googleapis.com/auth/photospicker.mediaitems.readonly",
"https://www.googleapis.com/auth/drive.photos.readonly"
]
}