Skip to content

Commit

Permalink
#57 add: add missing bookmark deleting and increase minimum height of…
Browse files Browse the repository at this point in the history
… popup
  • Loading branch information
pbek committed Feb 9, 2024
1 parent 3b7b951 commit 2ac6846
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# QOwnNotes Web Companion Changelog

## 2024.2.3
- the missing delete code was added (for [#57](https://github.com/qownnotes/web-companion/issues/57))
- the minimum height of the popup was raised to 300px to allow
dialogs to be shown fully if there is little content

## 2024.2.2
- bookmarks can now be deleted in the bookmarks list (for [#57](https://github.com/qownnotes/web-companion/issues/57))
- added more Arabic translation (thank you noureddin)
Expand Down
9 changes: 8 additions & 1 deletion src/pages/PopupPage.vue
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,13 @@ export default defineComponent({
html: true,
cancel: true,
persistent: true
})
}).onOk(() => {
const data = {type: "deleteBookmark", data: {markdown: markdown}};
webSocket.value.send(data, function () {
console.log("Deleting bookmark:" + data);
loadBookmarks();
});
});
}
const searchInput = ref(null);
Expand Down Expand Up @@ -530,6 +536,7 @@ export default defineComponent({
.bookmarks-page {
min-width: 550px;
min-height: 300px;
> div {
width: 100%;
Expand Down

0 comments on commit 2ac6846

Please sign in to comment.