You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+8Lines changed: 8 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -45,6 +45,14 @@ go run ./cmd/devcloud dashboard
45
45
go run ./cmd/devcloud reset
46
46
```
47
47
48
+
## BigQuery Dashboard Management
49
+
50
+
`/dashboard/bigquery` includes a compact local management console for BigQuery development workflows. It keeps the existing catalog browser for projects, datasets, tables, rows, schemas, and jobs, and adds a SQL query runner with `useLegacySql=false`, dry run, max results, result table, selected result JSON, and job reference.
51
+
52
+
The dashboard can create local datasets and tables and insert local table rows through guarded `datasets.insert`, `tables.insert`, and `tabledata.insertAll` flows. Guided forms cover common fields, raw JSON mode is available for request-shape testing, and the row editor validates JSON before calling insertAll while showing partial insert errors.
53
+
54
+
Safety boundaries: dashboard mutations go through `/api/bigquery/*` or the local BigQuery REST API path, never direct storage calls. The UI does not persist or log row payloads, credentials, Authorization headers, bearer tokens, or full request bodies. When BigQuery is disabled, query and mutation controls remain unavailable.
55
+
48
56
## Configuration
49
57
50
58
Configuration lives at `.devcloud/config.yaml`. Runtime data is stored under `.devcloud/data` by default.
Copy file name to clipboardExpand all lines: docs/design-bigquery-compat.md
+15-3Lines changed: 15 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -706,17 +706,29 @@ GET /api/bigquery/projects/{project}/datasets/{dataset}/tables/{table}/rows?limi
706
706
GET /api/bigquery/projects/{project}/jobs
707
707
GET /api/bigquery/projects/{project}/jobs/{job}
708
708
POST /api/bigquery/projects/{project}/queries
709
+
POST /api/bigquery/projects/{project}/datasets
710
+
POST /api/bigquery/projects/{project}/datasets/{dataset}/tables
711
+
POST /api/bigquery/projects/{project}/datasets/{dataset}/tables/{table}/insertAll
709
712
```
710
713
711
714
### UI Surface
712
715
713
716
- Project/dataset/table navigator.
714
717
- Schema inspector.
715
718
- Row preview table.
716
-
- Job list and job detail.
717
-
- Query editor for local GoogleSQL subset.
718
-
- Query results table.
719
+
- SQL query runner for the local GoogleSQL subset with `useLegacySql=false`, dry run, max results, result table, selected result JSON, and job reference.
720
+
- Guarded BigQuery dashboard management controls for `datasets.insert`, `tables.insert`, and `tabledata.insertAll`.
721
+
- Guided create dataset/table fields plus raw JSON mode for local request shapes.
722
+
- Insert row JSON editor with client-side validation and partial insert error display.
0 commit comments