@questdb/web-console 0.0.12 → 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -63,7 +63,29 @@ yarn workspace @questdb/web-console run build
63
63
 
64
64
  ## Run tests
65
65
 
66
- This monorepo contains [`browser-tests`](../browser-tests/) package which is used to test
66
+ ### Unit tests
67
+
68
+ This package uses [Jest](https://jestjs.io/) for unit tests.
69
+
70
+ To run them locally while developing, run:
71
+
72
+ ```
73
+ yarn workspace @questdb/web-console run test
74
+ ```
75
+
76
+ This will start jest in watch mode and will rerun tests on file changes.
77
+
78
+ If you want to run tests once, use:
79
+
80
+ ```
81
+ yarn workspace @questdb/web-console run test:prod
82
+ ```
83
+
84
+ This command is also used in CI.
85
+
86
+ ### Browser tests
87
+
88
+ This monorepo contains `browser-tests` package which is used to test
67
89
  `web-console` package. `browser-tests` does not yet run as part of
68
90
  `web-console` build on CI, but they can be used to test changes locally.
69
91
 
package/dist/qdb.css CHANGED
@@ -304,7 +304,7 @@
304
304
  * \__\_\\__,_|\___||___/\__|____/|____/
305
305
  *
306
306
  * Copyright (c) 2014-2019 Appsicle
307
- * Copyright (c) 2019-2022 QuestDB
307
+ * Copyright (c) 2019-2023 QuestDB
308
308
  *
309
309
  * Licensed under the Apache License, Version 2.0 (the "License");
310
310
  * you may not use this file except in compliance with the License.
@@ -318,7 +318,7 @@
318
318
  * See the License for the specific language governing permissions and
319
319
  * limitations under the License.
320
320
  *
321
- ******************************************************************************/#grid{height:100%;width:100%;flex-direction:column;font-family:SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;overflow:hidden}.qg-header-row{display:flex;overflow:hidden;height:55px;position:relative}.qg-header-row .qg-header:nth-last-child(2){border-right:none !important}.qg-timestamp{color:#50fa7b}.qg-null{color:#939393}.qg-header-row,.qg-r{white-space:nowrap}.qg-r{display:flex;border-bottom:1px solid #44475a;position:absolute;left:0;right:0}.qg-hover .qg-r:hover{background-color:#323342}.qg-r:focus{outline:none}.qg-last-col{border-right:thin dotted #44475a}.qg-hover .qg-r-active:hover{background-color:#323342;color:#f8f8f2}.qg-r-active{background-color:#323342}.qg-stub{height:100% !important}.qg-stub-transparent{background:transparent !important}.qg-header{padding:10px 5px 10px 5px;cursor:pointer;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;background:#21222c}.qg-header-border{position:absolute;margin-top:10px;height:25px;border-left:thin dashed #cac30f;margin-left:-5px}.qg-header-l .qg-header-name,.qg-header-l .qg-header-type{text-align:left}.qg-drag-handle{margin-left:-15px;width:20px;height:100%;top:0;z-index:1;position:absolute}.qg-drag-handle:hover{cursor:col-resize}.qg-col-resize-ghost{position:absolute;width:5px;box-shadow:inset 0 0 0 2px #f1fa8c;height:0;background:#f1fa8c;top:0;left:0;cursor:col-resize}.qg-header-name,.qg-header-type{display:block;margin-left:13px;padding:0;text-align:right;overflow:hidden;text-overflow:ellipsis}.qg-header-name{font-weight:700;color:#f1fa8c !important;font-size:medium}.qg-header-type{color:#ff79c6;font-size:x-small;font-style:italic}.qg-header-l{text-align:left;flex-direction:row-reverse;white-space:nowrap;text-overflow:ellipsis}.qg-header-l .qg-header-type{text-align:left}.qg-viewport{overflow:auto;height:calc(100% - 35px)}.qg-canvas{position:relative;width:100%}.qg-c{position:absolute;padding:4px 5px 4px 5px;overflow:hidden;text-overflow:ellipsis;text-align:right;border-left:thin dotted #44475a}.qg-c-active{box-shadow:inset 0 0 0 2px #f1fa8c;border-radius:6px}.qg-r-active:hover .qg-c-active,.qg-r-active:hover .qg-c-active:hover{box-shadow:inset 0 0 0 2px #f1fa8c}#debug{float:right;width:300px;height:300px;background:#fff;border:1px solid red}/*!******************************************************************************
321
+ ******************************************************************************/#grid{height:100%;width:100%;flex-direction:column;font-family:SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;overflow:hidden}.qg-header-row,.qg-header-left-row{display:flex;overflow:hidden;min-height:55px;max-height:55px;position:relative}.qg-header-row .qg-header:nth-last-child(2),.qg-header-left-row .qg-header:nth-last-child(2){border-right:none !important}.qg-timestamp{color:#50fa7b}.qg-null{color:#939393}.qg-header-row,.qg-r{white-space:nowrap}.qg-r{display:flex;border-bottom:1px solid #44475a;position:absolute;left:0;right:0}.qg-r-hover{background-color:#323342}.qg-r:focus{outline:none}.qg-last-col{border-right:thin dotted #44475a}.qg-hover .qg-r-active:hover{background-color:#323342;color:#f8f8f2}.qg-r-active{background-color:#323342}.qg-stub{height:100% !important}.qg-stub-transparent{background:transparent !important}.qg-header{padding:10px 5px 10px 5px;cursor:pointer;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;background:#21222c;position:relative}.qg-header-border{position:absolute;margin-top:10px;height:25px;border-left:thin dashed #cac30f;right:0}.qg-header-l .qg-header-name,.qg-header-l .qg-header-type{text-align:left}.qg-col-resize-hysteresis{width:20px;height:100%;top:0;z-index:1;position:absolute;right:0;margin-right:-10px}.qg-col-resize-hysteresis:hover{cursor:grab}.qg-col-resize-hysteresis-enter{background-color:#ff0;width:5px;margin-top:10px;margin-left:8px;height:35px;border-radius:3px}.qg-col-resize-ghost{position:absolute;width:2px;background-color:#ff0;height:0;top:0;left:0;cursor:col-resize;z-index:3}.qg-header-name,.qg-header-type{display:block;margin-left:13px;padding:0;text-align:right;overflow:hidden;text-overflow:ellipsis}.qg-header-name{font-weight:700;color:#f1fa8c !important;font-size:medium}.qg-header-type{color:#ff79c6;font-size:x-small;font-style:italic}.qg-header-l{text-align:left;flex-direction:row-reverse;white-space:nowrap;text-overflow:ellipsis}.qg-header-l .qg-header-type{text-align:left}.qg-viewport{overflow:auto;height:100%}.qg-canvas{position:relative;width:100%}.qg-c{position:absolute;padding:4px 5px 4px 5px;overflow:hidden;text-overflow:ellipsis;text-align:right;border-left:thin dotted #44475a}.qg-c-active{box-shadow:inset 0 0 0 2px #f1fa8c;border-radius:6px}.qg-c-active-pulse{animation:pulse 1000ms .1s}@keyframes pulse{0%{box-shadow:#f1fa8c 0 0 0 2px}75%{box-shadow:#f1fa8c00 0 0 0 16px}}.qg-r-active:hover .qg-c-active,.qg-r-active:hover .qg-c-active:hover{box-shadow:inset 0 0 0 2px #f1fa8c}.qg-panel-left{display:none;position:absolute;top:0;left:0;background:#282a36;z-index:2;overflow:visible}.qg-viewport-left{width:100%;height:100%;position:relative;border-right:thin solid #98999f;overflow-x:hidden;overflow-y:auto;-ms-overflow-style:none;scrollbar-width:none}.qg-viewport-left::-webkit-scrollbar{display:none}.qg-panel-scrolled-left{-webkit-box-shadow:10px 0 30px -4px rgba(0,0,0,.75);-moz-box-shadow:10px 0 30px -4px rgba(0,0,0,.75);box-shadow:10px 0 30px -4px rgba(0,0,0,.75)}.qg-panel-scrolled-top{-webkit-box-shadow:0 2px 5px 0 rgba(23,23,23,.86);-moz-box-shadow:0 2px 5px 0 rgba(23,23,23,.86);box-shadow:0 2px 5px 0 rgba(23,23,23,.86)}.qg-panel-left-ghost,.qg-panel-left-hysteresis,.qg-panel-left-snap-ghost,.qg-panel-left-initial-hysteresis{position:absolute;top:0;margin-top:54px;height:calc(100% - 54px);z-index:5}.qg-panel-left-ghost{background-color:#98999f;width:2px;display:none}.qg-panel-left-snap-ghost{background-color:#ff0;width:2px;display:none}.qg-panel-left-hysteresis{right:0;margin-right:-10px;width:20px;cursor:grab}.qg-panel-left-initial-hysteresis{width:10px;left:0;display:none;cursor:grab}.qg-panel-left-ghost-handle{position:absolute;top:0;left:0;width:6px;height:30px;background-color:#ff0;border-radius:3px;margin-left:-2px;cursor:grab}/*!******************************************************************************
322
322
  * ___ _ ____ ____
323
323
  * / _ \ _ _ ___ ___| |_| _ \| __ )
324
324
  * | | | | | | |/ _ \/ __| __| | | | _ \