Altinity / Altinity/altinity-sql-browser
GS: Google OAuth, Picker, and snapshot export
Dieses Issue hat noch niemand übernommen.
- Vorherrschende Sprache
- TypeScript
- Sterne
- 8
- Forks
- 2
- Ø Merge
- 1 Std. 34 Min.
- Gemergte PRs (30 T.)
- 6
Beschreibung
Parent: #398
Design:
docs/design/google-sheets/authentication.mddocs/design/google-sheets/snapshot-export.mddocs/design/google-sheets/large-results.md
Scope
Add deployment-gated Google Identity Services authentication, Google Picker create/select flow, and one-time snapshot export using the canonical streaming/type-conversion pipeline.
Acceptance criteria
- Google actions are absent when configuration is missing.
- Tokens remain in browser memory and never enter URLs, logs, persistence, or exports.
- New and existing spreadsheets can be selected with edit-permission validation.
- Snapshot export creates no binding, refresh link, checkpoint, or history row.
- Values use RAW input semantics and precision-safe ClickHouse type mapping.
- Upload uses explicit byte-bounded ranges with progress, cancellation, quota backoff, and no silent truncation.
- OAuth popup/account/permission failures are actionable and non-destructive.
- Unit, fake-Google, browser, and scale tests cover the flow.
Non-goals
Linked refresh, server binding storage, scheduling, Apps Script, service accounts, and Google Docs.
Beitragsleitfaden
Erste Schritte
- Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
- Forke das Repository und arbeite in einem Branch.
- Öffne einen Pull Request, der die Issue-Nummer nennt.
Rechercherichtung
Beginne mit docs/design/google-sheets/authentication.md, docs/design/google-sheets/snapshot-export.md und docs/design/google-sheets/large-results.md und ermittle anschließend die vorhandenen Einstiegspunkte für Streaming und Typkonvertierung. Als abgeschlossen gilt, wenn gated OAuth, die Picker-Auswahl und der einmalige Export die aufgeführten Kriterien für Sicherheit, Upload, Fehlerbehandlung sowie Unit-, Fake-Google-, Browser- und Scale-Tests erfüllen.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- google-cloud, typescript
- Bereich
- authentication, data, frontend
- Issue-Typ
- Feature
- Schwierigkeit
- 5/5
- Geschätzter Aufwand
- Über eine Woche
- Aktivitätsstatus
- Ruhig
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 30/100