mirror of
https://github.com/gristlabs/grist-core.git
synced 2026-03-02 04:09:24 +00:00
(core) Create an extra raw data widget when creating a table
Summary: This is the first step towards raw data views, merely adding metadata without any UI. Every 'normal' table now has a widget referenced by `rawViewSectionRef`. It has no parent view/page and cannot actually be viewed for now. The widget is created during the AddTable user action, and the migration creates a widget for existing tables. Test Plan: Many tests had to be updated, especially tests that listed all view sections and/or fields. Reviewers: jarek, dsagal Reviewed By: jarek Differential Revision: https://phab.getgrist.com/D3232
This commit is contained in:
@@ -4,7 +4,7 @@ import { GristObjCode } from "app/plugin/GristData";
|
||||
|
||||
// tslint:disable:object-literal-key-quotes
|
||||
|
||||
export const SCHEMA_VERSION = 25;
|
||||
export const SCHEMA_VERSION = 26;
|
||||
|
||||
export const schema = {
|
||||
|
||||
@@ -22,6 +22,7 @@ export const schema = {
|
||||
primaryViewId : "Ref:_grist_Views",
|
||||
summarySourceTable : "Ref:_grist_Tables",
|
||||
onDemand : "Bool",
|
||||
rawViewSectionRef : "Ref:_grist_Views_section",
|
||||
},
|
||||
|
||||
"_grist_Tables_column": {
|
||||
@@ -209,6 +210,7 @@ export interface SchemaTypes {
|
||||
primaryViewId: number;
|
||||
summarySourceTable: number;
|
||||
onDemand: boolean;
|
||||
rawViewSectionRef: number;
|
||||
};
|
||||
|
||||
"_grist_Tables_column": {
|
||||
|
||||
Reference in New Issue
Block a user