Skip to content

Commit bade65d

Browse files
authored
Merge pull request #166 from qianmoQ/1.17.0-SNAPSHOT
1.17.0 Released
2 parents 3ebfe74 + 2cf3702 commit bade65d

13 files changed

Lines changed: 170 additions & 64 deletions

File tree

33.3 KB
Loading

docs/docs/development/version/1.17.0-development.md

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -13,43 +13,22 @@ DBM Version for `1.17.0` is development!
1313

1414
---
1515

16-
- Support metadata management to filter the table <br />
17-
![img.png](../../assets/images/versions/1.17.0/img.png) <br />
18-
![img_1.png](../../assets/images/versions/1.17.0/img_1.png) <br />
19-
![img_2.png](../../assets/images/versions/1.17.0/img_2.png) <br />
20-
- Support trino and presto for query <br />
21-
![img_3.png](../../assets/images/versions/1.17.0/img_3.png) <br />
22-
- Support trino and presto for monitor --> processors <br />
23-
- Support trino and presto for monitor --> connection <br />
24-
2516
#### UI
2617

2718
---
2819

29-
- Add multiple editor themes <br />
30-
- Query the list of data sources on the page, support the display of logo <br />
31-
![img_6.png](../../assets/images/versions/1.17.0/img_6.png) <br />
32-
3320
#### Optimize
3421

3522
----
3623

37-
- Optimize project description and introduction <br />
38-
- Optimize the homepage is not available & does not support data source charts <br />
39-
![img_4.png](../../assets/images/versions/1.17.0/img_4.png) <br />
40-
![img_5.png](../../assets/images/versions/1.17.0/img_5.png) <br />
41-
4224
#### Docs
4325

4426
---
4527

46-
- Refactoring software homepage <br />
47-
4828
#### Bug
4929

5030
---
5131

52-
#### Contributors (In no particular order)
5332

5433
---
5534

Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
---
2+
template: overrides/main.html
3+
---
4+
5+
!!! note "Presto & Trino"
6+
7+
It is mainly used to describe how the software builds the Presto & Trino data source for subsequent operations.
8+
9+
!!! warning "System requirements"
10+
11+
\>= `1.17.0`
12+
13+
### Supported Versions
14+
15+
---
16+
17+
| Version | Tested? |
18+
|-----------|---------------------------------------------|
19+
| `Presto` | :material-checkbox-marked-circle:{.success} |
20+
| `Trino` | :material-checkbox-marked-circle:{.success} |
21+
22+
!!! note "Supported versions"
23+
24+
Most versions have been tested, please submit issues for non-adapted versions.
25+
26+
### Created a Source
27+
28+
---
29+
30+
After entering the data source management page, click the Add data source button.
31+
32+
![img.png](../../../assets/images/others/management/datasource/datasource_type.png)
33+
34+
Select the ClickHouse icon in the `Basic` type (Presto is the second, Trino is the third).
35+
36+
After selecting the type, click the `Next` button at the bottom to configure the relevant information.
37+
38+
![img.png](../../../assets/images/others/management/datasource/presto_trino/img.png)
39+
40+
!!! note "Supported protocols"
41+
42+
- [x] `HTTP`
43+
44+
#### HTTP Protocol
45+
46+
---
47+
48+
!!! note "HTTP Protocol"
49+
50+
Use the HTTP interface provided by Presto & Trino to connect to the service.
51+
52+
| Parameter | Description | Required | Unique | Default |
53+
|-------------|-----------------------------------------------------------------------------------------------------|----------|--------|---------|
54+
| `Alias` | The alias of the data source, which will be displayed later in the selected data source on the page | Yes | Yes | |
55+
| `Host` | The host of the Presto & Trino server | Yes | Yes | |
56+
| `Port` | The port of the Presto & Trino server | Yes | Yes | |
57+
| `User Name` | The user name of the Presto & Trino server | Yes | No | |
58+
| `Password` | The password of the Presto & Trino server | Yes | No | |
Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
---
2+
template: overrides/main.html
3+
icon: material/gesture-tap-button
4+
---
5+
6+
DBM Version for `1.17.0` is released!
7+
8+
Release Time: `2022-05-29`
9+
10+
#### Enhancement
11+
12+
---
13+
14+
- Support metadata management to filter the table <br />
15+
![img.png](../assets/images/versions/1.17.0/img.png) <br />
16+
![img_1.png](../assets/images/versions/1.17.0/img_1.png) <br />
17+
![img_2.png](../assets/images/versions/1.17.0/img_2.png) <br />
18+
- Support trino and presto for query <br />
19+
![img_3.png](../assets/images/versions/1.17.0/img_3.png) <br />
20+
- Support trino and presto for monitor --> processors <br />
21+
- Support trino and presto for monitor --> connection <br />
22+
- Support trino and presto for monitor --> slow query <br />
23+
24+
#### UI
25+
26+
---
27+
28+
- Add multiple editor themes <br />
29+
- Query the list of data sources on the page, support the display of logo <br />
30+
![img_6.png](../assets/images/versions/1.17.0/img_6.png) <br />
31+
32+
#### Optimize
33+
34+
----
35+
36+
- Optimize project description and introduction <br />
37+
- Optimize the homepage is not available & does not support data source charts <br />
38+
![img_4.png](../assets/images/versions/1.17.0/img_4.png) <br />
39+
![img_5.png](../assets/images/versions/1.17.0/img_5.png) <br />
40+
41+
#### Docs
42+
43+
---
44+
45+
- Refactoring software homepage <br />
46+
- Add clickhouse datasource docs <br />
47+
- Add presto & trino datasource docs <br />
48+
49+
#### Bug
50+
51+
---
52+
53+
- Fix the exception that the data source is not selected in the track, the Track list can be selected <br />
54+
55+
#### Contributors (In no particular order)
56+
57+
---
58+
59+
- @qianmoQ

docs/mkdocs.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,13 +156,16 @@ nav:
156156
- Management:
157157
- Datasource:
158158
- ClickHouse: reference/management/datasource/clickhouse.md
159+
- Presto: reference/management/datasource/presto_trino.md
160+
- Trino: reference/management/datasource/presto_trino.md
159161
- Monitor:
160162
- Processor: reference/monitor/monitor-processor.md
161163
- Connection: reference/monitor/monitor_connection.md
162164
- Mutations: reference/monitor/monitor_mutations.md
163165
- Query: reference/monitor/monitor_query.md
164166
- Release Note:
165-
- 1.16.0 (latest): release/1.16.0-20220513.md
167+
- 1.17.0 (latest): release/1.17.0-20220529.md
168+
- 1.16.0: release/1.16.0-20220513.md
166169
- 1.15.0: release/1.15.0-20220425.md
167170
- 1.14.0: release/1.14.0-20220410.md
168171
- 1.13.0: release/1.13.0-20220329.md

electron-builder.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,17 @@ releaseInfo:
1212
1313
- Support metadata management to filter the table
1414
- Support trino and presto for query
15-
- Support trino and presto for monitor --> processors <br />
16-
- Support trino and presto for monitor --> connection <br />
15+
- Support trino and presto for monitor --> processors
16+
- Support trino and presto for monitor --> connection
17+
- Support trino and presto for monitor --> slow query
1718
1819
#### Docs
1920
2021
---
2122
2223
- Refactoring software homepage
24+
- Add clickhouse datasource docs
25+
- Add presto & trino datasource docs
2326
2427
#### Optimize
2528
@@ -32,6 +35,8 @@ releaseInfo:
3235
3336
---
3437
38+
- Fix the exception that the data source is not selected in the track, the Track list can be selected
39+
3540
#### UI
3641
3742
---

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "dbm",
3-
"version": "1.17.0-SNAPSHOT",
3+
"version": "1.17.0",
44
"author": "qianmoQ <shicheng@ttxit.com>",
55
"description": "ClickHouse DataBase GUI",
66
"github": "https://github.com/EdurtIO/dbm.git",

src/renderer/app/pages/monitor/query/monitor.query.component.ts

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ import { ResponseDataModel } from '@renderer/model/response.model';
77
import { DatasourceService } from '@renderer/services/management/datasource.service';
88
import { MonitorService } from '@renderer/services/monitor/monitor.service';
99
import { NzMessageService } from 'ng-zorro-antd/message';
10-
import { DatabaseEnum } from "@renderer/enum/database.enum";
1110

1211
@Component({
1312
selector: 'app-monitor-query',
@@ -28,12 +27,7 @@ export class MonitorQueryComponent extends BaseComponent {
2827
private messageService: NzMessageService) {
2928
super();
3029
this.datasourceService.getAll().then(response => {
31-
this.dataSources = response.map(item => {
32-
if (item.type === DatabaseEnum.trino || item.type === DatabaseEnum.presto) {
33-
item.status = false;
34-
}
35-
return item;
36-
});
30+
this.dataSources = response;
3731
});
3832
}
3933

src/renderer/app/pages/tools/track/track.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
nzValue="{{detail.alias}}" nzLabel="{{detail.alias}}"></nz-option>
5353
</nz-select>
5454
{{'common.track'|translate}}&nbsp;
55-
<nz-select [(ngModel)]="trackId" nzAllowClear nzShowSearch nzServerSearch nzSize="small"
55+
<nz-select [(ngModel)]="trackId" [disabled]="!datasource" nzAllowClear nzShowSearch nzServerSearch nzSize="small"
5656
style="width: 300px;" (nzOnSearch)="handlerSearch($event)">
5757
<ng-container *ngFor="let o of tracks">
5858
<nz-option *ngIf="!loading.button" [nzValue]="o.value" [nzLabel]="o.value"></nz-option>

src/renderer/config/base.config.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ export interface BaseConfig {
22
version: string;
33
processesFetchAll: string;
44
connectionFetchAll: string;
5+
slowQueryFetchAll: string;
56
diskUsedRatio: string;
67
databaseDiskUsedRatio: string;
78
tableDiskUsedRatio: string;

0 commit comments

Comments
 (0)