@questdb/web-console 0.0.11 → 0.0.12

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
@@ -7,49 +7,18 @@ Yarn@3 and Webpack.
7
7
 
8
8
  ## Local development setup
9
9
 
10
- You need to do the following steps:
10
+ In order to run this package locally, you need to do the following steps:
11
11
 
12
- 1. Clone the repository
13
- 2. Bootstrap dependencies
14
- 3. Start development server
15
- 4. Run QuestDB in the background
16
- 5. Hack!
12
+ 1. Clone and bootstrap repository (by following instructions on [`local-development-setup.md`](../../docs/local-development-setup.md))
13
+ 2. Start development server
14
+ 3. Run QuestDB in the background
15
+ 4. Hack!
17
16
 
18
- The setup is fairly quick!
17
+ ### 1. Clone and bootstrap repository
19
18
 
20
- ### 1. Clone the repository
19
+ Consult instructions on [`local-development-setup.md`](../../docs/local-development-setup.md) document.
21
20
 
22
- The repository is about 250MB in size. This is expected, because we use [Yarn@3 with PnP](https://next.yarnpkg.com/features/pnp).\
23
- Download is what takes the most amount of time (~1 minute on a decent connection).
24
-
25
- * clone using SSH:
26
- ```
27
- git clone git@github.com:questdb/ui.git
28
- ```
29
-
30
- * or using HTTPS:
31
- ```
32
- git clone https://github.com/questdb/ui.git
33
- ```
34
-
35
- * or using [Github CLI](https://cli.github.com/):
36
- ```
37
- gh repo clone questdb/ui
38
- ```
39
-
40
- ### 2. Bootstrap dependencies
41
-
42
- * `node -v` should return `16.13.1`\
43
- If it doesn't, you can use [fnm](https://fnm.vercel.app) or [nvm](https://github.com/nvm-sh/nvm) to manage node versions on your machine.\
44
- Then run `fnm use` or `nvm use` to set correct version.
45
-
46
- * `yarn -v` should return v3 (like `3.2.1`).\
47
- If it returns `command not found`, enable `yarn` by running `corepack enable`.\
48
- Follow [official installation guide](https://yarnpkg.com/getting-started/install) if you have trouble.
49
-
50
- * run `yarn` to bootstrap dependencies. This should be a quick process (less than a minute).
51
-
52
- ### 3. Start development server
21
+ ### 2. Start development server
53
22
 
54
23
  ```
55
24
  yarn workspace @questdb/web-console start
@@ -57,10 +26,10 @@ yarn workspace @questdb/web-console start
57
26
 
58
27
  [localhost:9999](http://localhost:9999) should show web console
59
28
 
60
- ### 4. Run QuestDB in the background
29
+ ### 3. Run QuestDB in the background
61
30
 
62
- This package is a only GUI for QuestDB, it does not include QuestDB itself.\
63
- GUI will work without it, but since it's a tool to interact with QuestDB, you will need QuestDB as well.
31
+ This package (`web-console`) is a only GUI for QuestDB, it does not include QuestDB itself.\
32
+ GUI will work without it, but because it's a tool to interact with QuestDB, you will need QuestDB as well.
64
33
 
65
34
  Check [readme.md](https://github.com/questdb/questdb#install-questdb) of QuestDB to learn how to install it.
66
35
 
@@ -70,13 +39,13 @@ If you have [`docker`](https://docs.docker.com/get-docker/), then it's simply:
70
39
  docker run -p 9000:9000 -p 9009:9009 -p 8812:8812 questdb/questdb
71
40
  ```
72
41
 
73
- ### 5. Hack!
42
+ ### 4. Hack!
74
43
 
75
44
  Do your code changes and browser will automatically refresh [localhost:9999](http://localhost:9999).
76
45
 
77
46
  Happy hacking!
78
47
 
79
- ## Run build
48
+ ## Build production version
80
49
 
81
50
  1. Make sure dependencies are set up:
82
51
 
@@ -94,7 +63,7 @@ yarn workspace @questdb/web-console run build
94
63
 
95
64
  ## Run tests
96
65
 
97
- This monorepo contains `browser-tests` package which is used to test
66
+ This monorepo contains [`browser-tests`](../browser-tests/) package which is used to test
98
67
  `web-console` package. `browser-tests` does not yet run as part of
99
68
  `web-console` build on CI, but they can be used to test changes locally.
100
69
 
package/dist/qdb.css CHANGED
@@ -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-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:#44475a}.qg-r:focus{outline:none}.qg-hover .qg-r-active:hover{background-color:#6272a4;color:#f8f8f2}.qg-r-active{background-color:#6272a4}.qg-stub{height:100% !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{width:100%;position:absolute;margin-top:10px;margin-left:10px;height:25px;border-left:thin dashed #cac30f}.qg-header-l .qg-header-border{margin-left:0 !important}.qg-header-l .qg-header-name,.qg-header-l .qg-header-type{text-align:left}.qg-drag-handle-l{margin-left:-5px !important}.qg-drag-handle{margin-left:5px;width:20px !important;height:55px;z-index:1}.qg-drag-handle:hover{cursor:col-resize}.qg-col-resize-ghost{position:absolute;width:4px;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{padding:4px 5px 4px 5px;overflow:hidden;text-overflow:ellipsis;text-align:right}.qg-hover .qg-c:hover,.qg-r-active .qg-c:hover,.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{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}/*!******************************************************************************
322
322
  * ___ _ ____ ____
323
323
  * / _ \ _ _ ___ ___| |_| _ \| __ )
324
324
  * | | | | | | |/ _ \/ __| __| | | | _ \