d718c5a372
CI / windows_test (push) Waiting to run
CI / compile_and_lint (push) Failing after 0s
CI / docker_build (linux/amd64, -linux-amd64-duckdb, duckdb) (push) Failing after 0s
CI / docker_build (linux/arm64, -linux-arm64, minimal) (push) Failing after 2s
CI / docker_build (linux/arm64, -linux-arm64-duckdb, duckdb) (push) Failing after 1s
CI / docker_build (linux/amd64, minimal) (push) Failing after 1s
CI / test (, sqlite, sqlite::memory:) (push) Has been skipped
CI / test (mssql, mssql, mssql://root:Password123!@127.0.0.1/sqlpage) (push) Has been skipped
CI / test (mysql, mysql, mysql://root:Password123!@127.0.0.1/sqlpage) (push) Has been skipped
CI / test (oracle, oracle, Driver=Oracle 21 ODBC driver;Dbq=//127.0.0.1:1521/FREEPDB1;Uid=root;Pwd=Password123!) (push) Has been skipped
CI / test (postgres, odbc, Driver=PostgreSQL Unicode;Server=127.0.0.1;Port=5432;Database=sqlpage;UID=root;PWD=Password123!, true) (push) Has been skipped
CI / test (postgres, postgres, postgres://root:Password123!@127.0.0.1/sqlpage) (push) Has been skipped
CI / playwright (push) Has been skipped
CI / docker_build (linux/arm/v7, -linux-arm-v7, minimal) (push) Failing after 0s
CI / hurl_examples (push) Failing after 8s
deploy website / deploy_official_site (push) Failing after 1s
CI / docker_push (duckdb) (push) Waiting to run
CI / docker_push (minimal) (push) Waiting to run
CI / hurl (${{ matrix.example }}) (push) Has been skipped
129 lines
3.1 KiB
SQL
129 lines
3.1 KiB
SQL
INSERT INTO component (name, description, icon, introduced_in_version)
|
|
VALUES (
|
|
'tracking',
|
|
'Component for visualising activity logs or other monitoring-related data.',
|
|
'timeline-event-text',
|
|
'0.18.0'
|
|
);
|
|
|
|
INSERT INTO parameter (
|
|
component,
|
|
name,
|
|
description,
|
|
type,
|
|
top_level,
|
|
optional
|
|
)
|
|
VALUES (
|
|
'tracking',
|
|
'title',
|
|
'Title of the tracking component.',
|
|
'TEXT',
|
|
TRUE,
|
|
FALSE
|
|
),
|
|
(
|
|
'tracking',
|
|
'information',
|
|
'A short text displayed below the title.',
|
|
'TEXT',
|
|
TRUE,
|
|
TRUE
|
|
),
|
|
(
|
|
'tracking',
|
|
'description',
|
|
'A short paragraph.',
|
|
'TEXT',
|
|
TRUE,
|
|
TRUE
|
|
),
|
|
(
|
|
'tracking',
|
|
'description_md',
|
|
'A short paragraph formatted using markdown.',
|
|
'TEXT',
|
|
TRUE,
|
|
TRUE
|
|
),
|
|
(
|
|
'tracking',
|
|
'width',
|
|
'Width of the component, between 1 and 12.',
|
|
'INTEGER',
|
|
TRUE,
|
|
TRUE
|
|
),
|
|
(
|
|
'tracking',
|
|
'placement',
|
|
'Position of the tooltip (e.g. top, bottom, right, left)',
|
|
'TEXT',
|
|
TRUE,
|
|
TRUE
|
|
),
|
|
(
|
|
'tracking',
|
|
'color',
|
|
'Color of the tracked item (e.g. success, warning, danger)',
|
|
'TEXT',
|
|
FALSE,
|
|
TRUE
|
|
),
|
|
(
|
|
'tracking',
|
|
'title',
|
|
'Description of the state.',
|
|
'TEXT',
|
|
FALSE,
|
|
FALSE
|
|
),
|
|
(
|
|
'tracking',
|
|
'center',
|
|
'Whether to center the component.',
|
|
'BOOLEAN',
|
|
TRUE,
|
|
TRUE
|
|
);
|
|
|
|
-- Insert example(s) for the component
|
|
INSERT INTO example(component, description, properties)
|
|
VALUES
|
|
(
|
|
'tracking',
|
|
'A basic example of servers tracking component',
|
|
JSON(
|
|
'[
|
|
{"component":"tracking","title":"Servers status"},
|
|
{"title":"No data"},
|
|
{"title":"No data"},
|
|
{"title":"No data"},
|
|
{"title":"No data"},
|
|
{"title":"No data"},
|
|
{"title":"No data"},
|
|
{"title":"No data"},
|
|
{"title":"No data"}
|
|
]'
|
|
)
|
|
),
|
|
(
|
|
'tracking',
|
|
'An example of servers tracking component',
|
|
JSON(
|
|
'[
|
|
{"component":"tracking","title":"Servers status","information":"60% are running","description_md":"Status of all **currently running servers**","placement":"top","width":4},
|
|
{"color":"success","title":"operational"},
|
|
{"color":"success","title":"operational"},
|
|
{"color":"success","title":"operational"},
|
|
{"color":"danger","title":"Downtime"},
|
|
{"title":"No data"},
|
|
{"color":"success","title":"operational"},
|
|
{"color":"warning","title":"Big load"},
|
|
{"color":"success","title":"operational"}
|
|
]'
|
|
)
|
|
);
|
|
|
|
|