Skip to content

Commit 629be39

Browse files
committed
#56 fix: column issue in bookmark list and update changelog
1 parent 6268587 commit 629be39

File tree

2 files changed

+34
-21
lines changed

2 files changed

+34
-21
lines changed

CHANGELOG.md

+10-1
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,17 @@
11
# QOwnNotes Web Companion Changelog
22

3+
## 2024.2.1
4+
- an issue with the columns in the bookmarks list was fixed
5+
(for [#56](https://github.com/qownnotes/web-companion/issues/56))
6+
- the minimum version for Firefox was raised to 109, because of manifest version 3
7+
(for [#56](https://github.com/qownnotes/web-companion/issues/56))
8+
- `host_permissions` were removed from the manifest file for Chrome, because they are not needed
9+
(for [#56](https://github.com/qownnotes/web-companion/issues/56))
10+
- added a more translation
11+
312
## 2024.2.0
413
- the extension was completely **rewritten in Vue.js 3 with Vite using QUASAR with BEX**
5-
(for [#56](https://github.com/qownnotes/web-companion/issues/56))
14+
(for [#56](https://github.com/qownnotes/web-companion/issues/56))
615
- also both the Chrome and Firefox extensions are now using manifest version 3
716

817
## 22.12.1

src/pages/PopupPage.vue

+24-20
Original file line numberDiff line numberDiff line change
@@ -116,26 +116,30 @@
116116
>
117117
<template v-slot:body="props">
118118
<q-tr :props="props" @click="openUrl(props.row.url)">
119-
<q-td v-if="props.row.name" key="name" :props="props">
120-
<div>
121-
<div class="column-name" tabindex="2" :accesskey="props.rowIndex + 1" @keyup.enter="openUrl(props.row.url)">{{ truncateText( props.row.name, 40 ) }}</div>
122-
<q-tooltip>
123-
<div class="column-name" v-if="props.row.name">{{ props.row.name }}</div>
124-
<div>{{ props.row.url }}</div>
125-
<div class="column-description" v-if="props.row.description">{{ props.row.description }}</div>
126-
</q-tooltip>
127-
</div>
128-
</q-td>
129-
<q-td v-if="props.row.name" key="url" :props="props">
130-
<div>
131-
{{ truncateText( props.row.url, 40 ) }}
132-
</div>
133-
</q-td>
134-
<q-td v-if="props.row.name === ''" colspan="2" key="url" :props="props">
135-
<div>
136-
<a tabindex="2" :href="props.row.url" @click="$event.stopPropagation()" :accesskey="props.rowIndex + 1" target="_blank" :title="props.row.url">{{ truncateText( props.row.url, 80 ) }}</a>
137-
</div>
138-
</q-td>
119+
<template v-if="props.row.name">
120+
<q-td key="name" :props="props">
121+
<div>
122+
<div class="column-name" tabindex="2" :accesskey="props.rowIndex + 1" @keyup.enter="openUrl(props.row.url)">{{ truncateText( props.row.name, 40 ) }}</div>
123+
<q-tooltip>
124+
<div class="column-name" v-if="props.row.name">{{ props.row.name }}</div>
125+
<div>{{ props.row.url }}</div>
126+
<div class="column-description" v-if="props.row.description">{{ props.row.description }}</div>
127+
</q-tooltip>
128+
</div>
129+
</q-td>
130+
<q-td key="url" :props="props">
131+
<div>
132+
{{ truncateText( props.row.url, 40 ) }}
133+
</div>
134+
</q-td>
135+
</template>
136+
<template v-else>
137+
<q-td colspan="2" key="url" :props="props">
138+
<div>
139+
<a tabindex="2" :href="props.row.url" @click="$event.stopPropagation()" :accesskey="props.rowIndex + 1" target="_blank" :title="props.row.url">{{ truncateText( props.row.url, 80 ) }}</a>
140+
</div>
141+
</q-td>
142+
</template>
139143
<q-td key="tags" :props="props">
140144
<div class="column-tags">
141145
<q-badge v-for="tag in props.row.tags" :key="tag" :label="tag" />

0 commit comments

Comments
 (0)