Skip to content

Commit 4fcca37

Browse files
authored
Merge pull request #155 from qianmoQ/1.16.0-SNAPSHOT
1.16.0 snapshot
2 parents 6f209fb + 66dfa0d commit 4fcca37

11 files changed

Lines changed: 132 additions & 63 deletions

File tree

44.7 KB
Loading

docs/docs/development/version/1.16.0-development.md

Lines changed: 0 additions & 60 deletions
This file was deleted.
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
---
2+
template: overrides/main.html
3+
icon: material/gesture-tap-button
4+
---
5+
6+
DBM Version for `1.17.0` is development!
7+
8+
!!! danger "Warning"
9+
10+
The development version will not be released. If you need to experience, please pull the source code for local compilation. We will not release this version until the end of the final development work!!!
11+
12+
#### Enhancement
13+
14+
---
15+
16+
#### UI
17+
18+
---
19+
20+
#### Optimize
21+
22+
----
23+
24+
#### Docs
25+
26+
---
27+
28+
#### Bug
29+
30+
---
31+
32+
#### Contributors (In no particular order)
33+
34+
---
35+
36+
- @qianmoQ
Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
---
2+
template: overrides/main.html
3+
icon: material/gesture-tap-button
4+
---
5+
6+
DBM Version for `1.16.0` is released!
7+
8+
Release Time: `2022-05-13`
9+
10+
#### Enhancement
11+
12+
---
13+
14+
- SSH login is supported [issues-40](https://github.com/EdurtIO/dbm/issues/40) <br />
15+
![img.png](../assets/images/versions/1.16.0/img_1.png) <br />
16+
- Support query ClickHouse to dynamically add configuration <br />
17+
![img.png](../assets/images/versions/1.16.0/img_5.png) <br />
18+
![img.png](../assets/images/versions/1.16.0/img_6.png) <br />
19+
- Support metadata management to filter the database <br />
20+
![img.png](../assets/images/versions/1.16.0/img_7.png) <br />
21+
![img.png](../assets/images/versions/1.16.0/img_8.png) <br />
22+
![img.png](../assets/images/versions/1.16.0/img_9.png) <br />
23+
- Support automatic prompt function of code editor <br />
24+
![img.png](../assets/images/versions/1.16.0/img_10.png) <br />
25+
26+
#### UI
27+
28+
---
29+
30+
- Optimize query history display list <br />
31+
![img.png](../assets/images/versions/1.16.0/img.png) <br />
32+
- Migrate the software update function to the system menu <br />
33+
- Support editor bracket matching <br />
34+
![img.png](../assets/images/versions/1.16.0/img_4.png) <br />
35+
36+
#### Optimize
37+
38+
----
39+
40+
- Optimize error reporting pop-up window [issues-148](https://github.com/EdurtIO/dbm/issues/148) <br />
41+
![img.png](../assets/images/versions/1.16.0/img_2.png) <br />
42+
![img.png](../assets/images/versions/1.16.0/img_3.png) <br />
43+
44+
#### Docs
45+
46+
---
47+
48+
- Fix Monitor --> Processor document image pointing error
49+
50+
#### Bug
51+
52+
---
53+
54+
- Fix the release error that the new version of the CI tool was not merged with the code release error
55+
56+
#### Contributors (In no particular order)
57+
58+
---
59+
60+
- @qianmoQ

docs/mkdocs.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,8 @@ nav:
161161
- Mutations: reference/monitor/monitor_mutations.md
162162
- Query: reference/monitor/monitor_query.md
163163
- Release Note:
164-
- 1.15.0 (latest): release/1.15.0-20220425.md
164+
- 1.16.0 (latest): release/1.16.0-20220513.md
165+
- 1.15.0: release/1.15.0-20220425.md
165166
- 1.14.0: release/1.14.0-20220410.md
166167
- 1.13.0: release/1.13.0-20220329.md
167168
- 1.12.0: release/1.12.0-20220318.md
@@ -177,7 +178,7 @@ nav:
177178
- 1.2.0-SNAPSHOT: release/1.2.0-SNAPSHOT.md
178179
- 1.1.0-SNAPSHOT: release/1.1.0-SNAPSHOT.md
179180
- 1.0.0-SNAPSHOT: release/1.0.0-SNAPSHOT.md
180-
- Development Version: development/version/1.16.0-development.md
181+
- Development Version: development/version/1.17.0-development.md
181182
- Development:
182183
- Contribution:
183184
- Document: development/document.md

electron-builder.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ releaseInfo:
1313
- SSH login is supported #40
1414
- Support query ClickHouse to dynamically add configuration
1515
- Support metadata management to filter the database
16+
- Support automatic prompt function of code editor
1617
1718
#### Docs
1819

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.16.0-SNAPSHOT",
3+
"version": "1.16.0",
44
"author": "qianmoQ <shicheng@ttxit.com>",
55
"description": "ClickHouse DataBase GUI",
66
"github": "https://github.com/EdurtIO/dbm.git",

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,9 @@ export class QueryComponent extends BaseComponent implements AfterViewInit {
8686
setTimeout(() => {
8787
const codeMirror = this.codeEditors.get(this.containerSelected)['codeMirror'];
8888
// const queryInstance = this;
89+
codeMirror.on('inputRead', () => {
90+
codeMirror.showHint();
91+
})
8992
codeMirror.addKeyMap({
9093
'Ctrl-Enter': function(cm) {
9194
// queryInstance.handlerExecute(null);

src/renderer/editor.hints.css

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
.CodeMirror-hints {
2+
position: absolute;
3+
z-index: 10;
4+
overflow: hidden;
5+
list-style: none;
6+
7+
margin: 0;
8+
padding: 2px;
9+
10+
-webkit-box-shadow: 2px 3px 5px rgba(0, 0, 0, .2);
11+
-moz-box-shadow: 2px 3px 5px rgba(0, 0, 0, .2);
12+
box-shadow: 2px 3px 5px rgba(0, 0, 0, .2);
13+
border-radius: 3px;
14+
border: 1px solid silver;
15+
16+
background: white;
17+
font-size: 90%;
18+
font-family: monospace;
19+
20+
max-height: 20em;
21+
overflow-y: auto;
22+
}

src/renderer/editor.theme.scss

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,3 +37,6 @@
3737
@import "~codemirror/theme/monokai.css";
3838
@import "~codemirror/theme/moxer.css";
3939
//@import "~codemirror/theme/";
40+
41+
// Wait for all themes to load after loading, load the hint style to prevent style confusion
42+
@import './editor.hints.css';

0 commit comments

Comments
 (0)