Skip to content

Commit 8c27cce

Browse files
authored
Merge pull request #1122 from MetRonnie/dashboard-links
Dashboard documentation links open in new tab
2 parents f61228c + 257b552 commit 8c27cce

File tree

2 files changed

+8
-12
lines changed

2 files changed

+8
-12
lines changed

.eslintrc.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,12 @@ module.exports = {
4646
'vue/no-reserved-component-names': [
4747
'off'
4848
],
49+
'vue/valid-v-slot': [
50+
'error',
51+
{
52+
allowModifiers: true
53+
}
54+
],
4955
'import/no-duplicates': 'off',
5056
'no-duplicate-imports': 'error'
5157
},

src/views/Dashboard.vue

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
3333
id="dashboard-workflows"
3434
>
3535
<v-progress-linear slot="progress" color="grey" indeterminate></v-progress-linear>
36-
<!-- TODO: remove it if the linter is fixed later #510 -->
37-
<!-- eslint-disable-next-line vue/valid-v-slot -->
3836
<template v-slot:item.count="{ item }">
3937
<v-skeleton-loader
4038
:loading="isLoading"
@@ -45,8 +43,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
4543
<span class="headline font-weight-light">{{ item.count }}</span>
4644
</v-skeleton-loader>
4745
</template>
48-
<!-- TODO: remove it if the linter is fixed later #510 -->
49-
<!-- eslint-disable-next-line vue/valid-v-slot -->
5046
<template v-slot:item.text="{ item }">
5147
<span class="title font-weight-light">{{ item.text }}</span>
5248
</template>
@@ -60,13 +56,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
6056
hide-default-footer
6157
hide-default-header
6258
>
63-
<!-- TODO: remove it if the linter is fixed later #510 -->
64-
<!-- eslint-disable-next-line vue/valid-v-slot -->
6559
<template v-slot:item.id="{ item }">
6660
<span class="title font-weight-light">{{ item.id }}</span>
6761
</template>
68-
<!-- TODO: remove it if the linter is fixed later #510 -->
69-
<!-- eslint-disable-next-line vue/valid-v-slot -->
7062
<template v-slot:item.text="{ item }">
7163
<span class="title font-weight-light">{{ item.text }}</span>
7264
</template>
@@ -141,8 +133,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
141133
</v-list-item-subtitle>
142134
</v-list-item-content>
143135
</v-list-item>
144-
<!-- TODO: change from latest to stable once out of beta -->
145-
<v-list-item href="https://cylc.github.io/cylc-doc/latest/html/workflow-design-guide/index.html">
136+
<v-list-item href="https://cylc.github.io/cylc-doc/stable/html/workflow-design-guide/index.html" target="_blank">
146137
<v-list-item-avatar size="60" style="font-size: 2em;">
147138
<v-icon large>{{ svgPaths.workflow }}</v-icon>
148139
</v-list-item-avatar>
@@ -155,8 +146,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
155146
</v-list-item-subtitle>
156147
</v-list-item-content>
157148
</v-list-item>
158-
<!-- TODO: change from latest to stable once out of beta -->
159-
<v-list-item href="https://cylc.github.io/cylc-doc/latest/html/index.html">
149+
<v-list-item href="https://cylc.github.io/cylc-doc/stable/html/index.html" target="_blank">
160150
<v-list-item-avatar size="60" style="font-size: 2em;">
161151
<v-icon large>{{ svgPaths.documentation }}</v-icon>
162152
</v-list-item-avatar>

0 commit comments

Comments
 (0)