mirror of
https://github.com/tencentmusic/supersonic.git
synced 2025-12-17 16:02:14 +00:00
[improvement][semantic-fe] Added an editing component to set filtering rules for Q&A. Now, the SQL editor will be accompanied by a list for display and control, to resolve ambiguity when using comma-separated values.
[improvement][semantic-fe] Improved validation logic and prompt copywriting for data source/dimension/metric editing and creation. [improvement][semantic-fe] Improved user experience for visual modeling. Now, when using the legend to control the display/hide of data sources and their associated metric dimensions, the canvas will be re-layout based on the activated data source in the legend. Co-authored-by: tristanliu <tristanliu@tencent.com>
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
import { TreeGraphData } from '@antv/g6-core';
|
||||
|
||||
export type ISODateString =
|
||||
`${number}-${number}-${number}T${number}:${number}:${number}.${number}+${number}:${number}`;
|
||||
|
||||
@@ -6,6 +8,8 @@ export type UserName = string;
|
||||
|
||||
export type SensitiveLevel = 0 | 1 | 2 | null;
|
||||
|
||||
export type RefreshGraphData = (graphRootData: TreeGraphData) => void;
|
||||
|
||||
export declare namespace IDataSource {
|
||||
interface IIdentifiersItem {
|
||||
name: string;
|
||||
@@ -113,13 +117,13 @@ export declare namespace ISemantic {
|
||||
|
||||
interface IMeasure {
|
||||
name: string;
|
||||
agg: string;
|
||||
agg?: string;
|
||||
expr: string;
|
||||
constraint: string;
|
||||
alias: string;
|
||||
createMetric: string;
|
||||
constraint?: string;
|
||||
alias?: string;
|
||||
createMetric?: string;
|
||||
bizName: string;
|
||||
isCreateMetric: number;
|
||||
isCreateMetric?: number;
|
||||
datasourceId: number;
|
||||
}
|
||||
interface ITypeParams {
|
||||
@@ -142,7 +146,7 @@ export declare namespace ISemantic {
|
||||
domainId: number;
|
||||
domainName: string;
|
||||
type: string;
|
||||
typeParams: TypeParams;
|
||||
typeParams: ITypeParams;
|
||||
fullPath: string;
|
||||
dataFormatType: string;
|
||||
dataFormat: string;
|
||||
|
||||
Reference in New Issue
Block a user