Altinity / Altinity/altinity-sql-browser

GS: Google OAuth, Picker, and snapshot export

Offen
#399 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

cool feature
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.md
  • docs/design/google-sheets/snapshot-export.md
  • docs/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

Beitragsleitfaden öffnen

Erste Schritte

  1. Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
  3. Forke das Repository und arbeite in einem Branch.
  4. Ö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

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.