Skip to content

Commit ec42115

Browse files
committed
Merge branch 'dev'
2 parents ff39884 + bba6eb8 commit ec42115

32 files changed

+491
-951
lines changed

.eslintrc.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
"sourceType": "module"
1010
},
1111
"rules": {
12+
"no-console": 2,
1213
"indent": ["error", 2],
1314
"linebreak-style": ["error", "unix"],
1415
"quotes": ["error", "single"],

.github/ISSUE_TEMPLATE/Bug_report.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
---
2+
name: Bug report
3+
about: Something is not working
4+
---
5+
6+
## Description
7+
8+
9+
## Steps to reproduce
10+
11+
12+
## Expected behavior
13+
14+
15+
## Actual behavior
16+
17+
18+
## Environment info
19+
<!-- Tip: You can find this info at the bottom of the settings page. -->
20+
OS:
21+
Firefox:
22+
Addon:
23+
24+
<details><code>
25+
<!-- To get details:
26+
- Go to the settings page - section "Help"
27+
- Click on the "Debug info" button
28+
- Copy and paste here
29+
Note: all URLs and titles are skipped. -->
30+
</code></details>
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
---
2+
name: Feature request
3+
about: Something is missing
4+
---
5+
6+
## Description
7+
8+
9+
## Use cases
10+

addon/manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
},
99
"author": "mbnuqw",
1010
"name": "__MSG_ExtName__",
11-
"version": "3.0.6",
11+
"version": "3.0.7",
1212
"default_locale": "en",
1313
"description": "__MSG_ExtDesc__",
1414
"homepage_url": "https://github.com/mbnuqw/sidebery",

addon/settings/settings.html

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -80,10 +80,6 @@
8080
class="option"
8181
:data-active="$store.state.activeView === 'Snapshots'"
8282
@click="navigateTo('snapshots')">{{t('settings.nav_snapshots')}}</div>
83-
<div
84-
class="option"
85-
:data-active="$store.state.activeView === 'Debug'"
86-
@click="navigateTo('debug')">{{t('settings.nav_debug')}}</div>
8783
</nav>
8884

8985
<transition name="settings">

build/debug.js

Lines changed: 0 additions & 118 deletions
This file was deleted.

build/release.js

Lines changed: 0 additions & 141 deletions
This file was deleted.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "sidebery",
3-
"version": "3.0.6",
3+
"version": "3.0.7",
44
"description": "Manage your tabs and bookmarks in sidebar",
55
"main": "index.js",
66
"scripts": {

src/components/select-field.vue

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,15 @@
11
<template lang="pug">
2-
.SelectField(:data-inline="inline" :data-inactive="inactive" @mousedown="select")
2+
.SelectField(
3+
:data-inline="inline"
4+
:data-inactive="inactive"
5+
@mousedown="switchOption")
36
.label {{t(label)}}
47
select-input(
58
:label="optLabel"
69
:value="value"
710
:opts="opts"
8-
:noneOpt="noneOpt")
11+
:noneOpt="noneOpt"
12+
@input="select")
913
</template>
1014

1115

@@ -32,7 +36,7 @@ export default {
3236
},
3337
3438
methods: {
35-
select(e) {
39+
switchOption(e) {
3640
if (this.inactive) return
3741
let i = this.opts.indexOf(this.value)
3842
if (e.button === 0) i++
@@ -41,6 +45,10 @@ export default {
4145
if (i < 0) i = this.opts.length - 1
4246
this.$emit('input', this.opts[i])
4347
},
48+
49+
select(option) {
50+
this.$emit('input', option)
51+
},
4452
},
4553
}
4654
</script>

0 commit comments

Comments
 (0)