Skip to content

Commit 98f9a0b

Browse files
committed
fix: search item clicked wont expanse list & etc.
- search item clicked wont expanse list (fixes #85) - context menus handler is not a function (fixes #74) - date collision with title (fixes #86)
1 parent 4be85b1 commit 98f9a0b

File tree

3 files changed

+25
-11
lines changed

3 files changed

+25
-11
lines changed

CHANGELOG.md

+6
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
### v1.3.12 1/17/2018
2+
3+
- fix: search item clicked wont expanse list
4+
- fix: context menus handler is not a function
5+
- fix: date collision with title
6+
17
### v1.3.11 10/13/2018
28

39
- change: refine i18n strings

src/manifest.json

+2-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"manifest_version": 2,
33
"name": "__MSG_ext_name__",
4-
"version": "1.3.11",
4+
"version": "1.3.12",
55
"default_locale": "en",
66
"description": "__MSG_ext_desc__",
77
"author": "WangJie <[email protected]>",
@@ -13,8 +13,7 @@
1313
"background": {
1414
"scripts": [
1515
"background.js"
16-
],
17-
"persistent": false
16+
]
1817
},
1918
"commands": {
2019
"store-selected-tabs": {

src/page/DetailList.vue

+17-8
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
ref="list"
3939
>
4040
<v-layout slot="header" row spacer>
41-
<v-flex no-wrap md7 lg4>
41+
<v-flex no-wrap xs10>
4242

4343
<v-menu open-on-hover top offset-y>
4444
<v-chip
@@ -61,18 +61,19 @@
6161
</v-card>
6262
</v-menu>
6363
<strong class="grey--text date">{{ __('ui_created') }} <dynamic-time v-model="list.time"></dynamic-time></strong>
64-
</v-flex>
65-
<v-flex no-wrap md6 lg9 @keydown.enter="saveTitle(listIndex)">
6664
<v-text-field
6765
class="title-editor"
6866
autofocus
6967
v-if="list.titleEditing"
70-
@blur="saveTitle(listIndex)"
68+
@keydown.enter="saveTitle(listIndex)"
69+
@click.prevent.stop
70+
full-width
71+
@b-lur="saveTitle(listIndex)"
7172
v-model="list.title"
7273
single-line
7374
hide-details
7475
></v-text-field>
75-
<strong class="list-title" v-else :class="list.color ? list.color + '--text' : ''">{{ list.title }}</strong>
76+
<div class="list-title" v-else :class="list.color ? list.color + '--text' : ''">{{ list.title }}</div>
7677
</v-flex>
7778
<v-flex xs2 class="text-xs-right">
7879
<v-btn :title="__('ui_title_down_btn')" @click.stop="moveListDown(listIndex)" flat icon class="icon-in-title" :disabled="listIndex === lists.length - 1">
@@ -236,11 +237,11 @@ export default {
236237
offset: -50,
237238
easing: 'easeInOutCubic',
238239
}
239-
if (item.tabIndex) {
240+
if (item.tabIndex == null) {
241+
this.$vuetify.goTo(this.$refs.list[item.listIndex], opt)
242+
} else {
240243
this.expandList(true, item.listIndex)
241244
this.$vuetify.goTo(this.$refs[`list-${item.listIndex}-tab`][item.tabIndex], opt)
242-
} else {
243-
this.$vuetify.goTo(this.$refs.list[item.listIndex], opt)
244245
}
245246
}
246247
},
@@ -401,10 +402,18 @@ export default {
401402
}
402403
.title-editor {
403404
padding: 0;
405+
display: inline-flex;
406+
width: 80%;
407+
font-size: 12px;
408+
:global(.v-input__control) {
409+
padding: 0 !important;
410+
}
404411
}
405412
.list-title {
413+
display: inline-block;
406414
font-size: 100%;
407415
line-height: 34px;
416+
padding: 0 12px;
408417
}
409418
.tab-list {
410419
.icon-in-title {

0 commit comments

Comments
 (0)