Skip to content

Commit 2ac6846

Browse files
committed
#57 add: add missing bookmark deleting and increase minimum height of popup
1 parent 3b7b951 commit 2ac6846

File tree

2 files changed

+13
-1
lines changed

2 files changed

+13
-1
lines changed

CHANGELOG.md

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

3+
## 2024.2.3
4+
- the missing delete code was added (for [#57](https://github.com/qownnotes/web-companion/issues/57))
5+
- the minimum height of the popup was raised to 300px to allow
6+
dialogs to be shown fully if there is little content
7+
38
## 2024.2.2
49
- bookmarks can now be deleted in the bookmarks list (for [#57](https://github.com/qownnotes/web-companion/issues/57))
510
- added more Arabic translation (thank you noureddin)

src/pages/PopupPage.vue

+8-1
Original file line numberDiff line numberDiff line change
@@ -329,7 +329,13 @@ export default defineComponent({
329329
html: true,
330330
cancel: true,
331331
persistent: true
332-
})
332+
}).onOk(() => {
333+
const data = {type: "deleteBookmark", data: {markdown: markdown}};
334+
webSocket.value.send(data, function () {
335+
console.log("Deleting bookmark:" + data);
336+
loadBookmarks();
337+
});
338+
});
333339
}
334340
335341
const searchInput = ref(null);
@@ -530,6 +536,7 @@ export default defineComponent({
530536
531537
.bookmarks-page {
532538
min-width: 550px;
539+
min-height: 300px;
533540
534541
> div {
535542
width: 100%;

0 commit comments

Comments
 (0)