Skip to content

Commit a15d869

Browse files
committed
adds confirm when closing indices, fixes #153
1 parent adc02ee commit a15d869

File tree

6 files changed

+28
-17
lines changed

6 files changed

+28
-17
lines changed

CHANGELOG.md

+23-15
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,36 @@
11
# Changelog
22

3-
# 1.0.0-beta-5
3+
## 1.0.0-beta-6
4+
5+
* adds confirm when closing indices, fixes [#153][f153]
6+
7+
[f153]: https://github.com/cars10/elasticvue/issues/153
8+
9+
## 1.0.0-beta-5
10+
411
* re-adds `json-bigint` to support numbers bigger then `Number.MAX_SAFE_INTEGER`
512
* add `Hack` font
613
* update to node 20
714
* adjust mock data for tests & screenshot scripts
815

9-
# 1.0.0-beta-4
16+
## 1.0.0-beta-4
17+
1018
* fix build issues
1119

12-
# 1.0.0-beta-3
20+
## 1.0.0-beta-3
1321

1422
* improve compatability with older versions of elasticsearch
1523
* improve snapshot repository creation
1624
* various small bugfixes
1725
* updates dependencies
1826

19-
# 1.0.0-beta-2
27+
## 1.0.0-beta-2
2028

2129
* show warning when using unsupported versions of elasticsearch
2230
* fix issue with opening documents in search view
2331
* save rest query tab responses
2432

25-
# 1.0.0-beta-1
33+
## 1.0.0-beta-1
2634

2735
[For downloads check the releases page](https://github.com/cars10/elasticvue/releases)
2836

@@ -58,13 +66,13 @@ quasar.
5866
* Support for numbers bigger then `Number.MAX_SAFE_INTEGER`
5967
* Utilities (these are now included in the rest query examples)
6068

61-
# 0.44.1
69+
## 0.44.1
6270

6371
* update dockerfile base images, fixes [#129][i129]
6472

6573
[i129]: https://github.com/cars10/elasticvue/issues/129
6674

67-
# 0.44.0
75+
## 0.44.0
6876

6977
* [feat]: show content while reloading, fixes [#125][f125]
7078
* [feat]: adds index templates table, fixes [#126][f126]
@@ -74,32 +82,32 @@ quasar.
7482

7583
[f126]: https://github.com/cars10/elasticvue/issues/126
7684

77-
# 0.43.0
85+
## 0.43.0
7886

7987
* [feat]: add support to connect via API key, thanks @tkdave, [#110][f110]
8088
* [feat]: desktop app menu & icon fixes for mac
8189
* [feat]: dependency updates, use vue 2.7, prepare vue 3.0 update
8290

8391
[f110]: https://github.com/cars10/elasticvue/pull/110
8492

85-
# 0.42.1
93+
## 0.42.1
8694

8795
* fix build action
8896

89-
# 0.42.0
97+
## 0.42.0
9098

9199
* [fix]: fix additional issues with cluster selection, fixes [#103][i103]
92100
* [feat]: show `_score` in search results, fixes [#104][i104]
93101

94102
[i104]: https://github.com/cars10/elasticvue/issues/104
95103

96-
# 0.41.0
104+
## 0.41.0
97105

98106
* [fix]: fix some issues with browser extensions and cluster swapping, fixes [#103][i103]
99107

100108
[i103]: https://github.com/cars10/elasticvue/issues/103
101109

102-
# 0.40.0
110+
## 0.40.0
103111

104112
* [fix]: fix shards overview, fixes [#92][i92]
105113
* [fix]: reset current page if new search has less results than current page, fixes [#99][i99]
@@ -113,7 +121,7 @@ quasar.
113121

114122
[i75]: https://github.com/cars10/elasticvue/issues/75
115123

116-
# 0.39.0
124+
## 0.39.0
117125

118126
* [fix]: improve elasticsearch 8 support, fixes [#93][i93]
119127
* [fix]: elasticsearch version not updated, fixes [#94][i94]
@@ -128,7 +136,7 @@ quasar.
128136

129137
[i95]: https://github.com/cars10/elasticvue/issues/95
130138

131-
# 0.38.0
139+
## 0.38.0
132140

133141
This version includes some fixes for outdated versions of elasticsearch (like `2.x` and `5.x`).
134142

@@ -139,7 +147,7 @@ This version includes some fixes for outdated versions of elasticsearch (like `2
139147

140148
[i90]: https://github.com/cars10/elasticvue/issues/90
141149

142-
# 0.37.0
150+
## 0.37.0
143151

144152
* [feat]: BETA: adds shard overview + relocation, fixes [#72][i72]
145153
* [feat]: adds index bulk actions, fixes [#78][i78]

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# elasticvue 1.0.0-beta-5
1+
# elasticvue 1.0.0-beta-6
22

33
[![Donate](https://img.shields.io/badge/Donate-PayPal-green.svg)](https://www.paypal.com/donate?hosted_button_id=65GDZCZTUBVRL)
44
[![Chrome web store](https://img.shields.io/chrome-web-store/v/hkedbapjpblbodpgbajblpnlpenaebaa?label=chrome%20extension)](https://chrome.google.com/webstore/detail/elasticvue/hkedbapjpblbodpgbajblpnlpenaebaa)

src/components/indices/IndexRow.vue

+1
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,7 @@
104104
<row-menu-action v-if="index.status === 'open'"
105105
method="indexClose"
106106
:method-params="{ index: props.index.index }"
107+
:confirm="t('indices.index_row.options.close.confirm', {index: index.index})"
107108
:text="t('indices.index_row.options.close.text')"
108109
:growl="t('indices.index_row.options.close.growl', {index: index.index})"
109110
icon="lock"

src/consts.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
export const VERSION_NAME = 'beta-5'
1+
export const VERSION_NAME = 'beta-6'
22
export const SUPPORTED_MAJOR_VERSIONS = ['6', '7', '8']
33
export const REQUEST_DEFAULT_HEADERS = {
44
Accept: 'application/json',

src/locales/cn.json

+1
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,7 @@
150150
},
151151
"close": {
152152
"text": "关闭索引",
153+
"confirm": null,
153154
"growl": "索引 '{index}' 缓存已成功关闭。"
154155
},
155156
"open": {

src/locales/en.json

+1
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,7 @@
150150
},
151151
"close": {
152152
"text": "Close index | Close index | Close {count} indices",
153+
"confirm": "Close index '{index}'?",
153154
"growl": "The index '{index}' cache was successfully closed."
154155
},
155156
"open": {

0 commit comments

Comments
 (0)