From 85bf2a57067a5592ec4d44179fa1d57d716a9eab Mon Sep 17 00:00:00 2001 From: zadam Date: Thu, 22 Sep 2022 23:29:20 +0200 Subject: [PATCH 1/3] fix hidden backlinks, closes #3158 --- src/public/app/widgets/floating_buttons/zpetne_odkazy.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/public/app/widgets/floating_buttons/zpetne_odkazy.js b/src/public/app/widgets/floating_buttons/zpetne_odkazy.js index 04c6b54e5..8761f20fb 100644 --- a/src/public/app/widgets/floating_buttons/zpetne_odkazy.js +++ b/src/public/app/widgets/floating_buttons/zpetne_odkazy.js @@ -93,7 +93,7 @@ export default class BacklinksWidget extends NoteContextAwareWidget { return; } - this.$ticker.toggle(true); + this.toggle(true); this.$count.text( `${resp.count} backlink` + (resp.count === 1 ? '' : 's') From 41dac2bd1b572a4508968df265047aee49579ef8 Mon Sep 17 00:00:00 2001 From: zadam Date: Fri, 23 Sep 2022 22:50:49 +0200 Subject: [PATCH 2/3] keyboardShortcut attr detail help --- src/public/app/widgets/attribute_widgets/attribute_detail.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/public/app/widgets/attribute_widgets/attribute_detail.js b/src/public/app/widgets/attribute_widgets/attribute_detail.js index c11db3d96..d10bd3067 100644 --- a/src/public/app/widgets/attribute_widgets/attribute_detail.js +++ b/src/public/app/widgets/attribute_widgets/attribute_detail.js @@ -235,7 +235,8 @@ const ATTR_HELP = { See wiki with details, API docs for parentNote and now for details.`, "template": "This note will appear in the selection of available template when creating new note", - "toc": "#toc or #toc=show will force the Table of Contents to be shown, #toc=hide will force hiding it. If the label doesn't exist, the global setting is observed" + "toc": "#toc or #toc=show will force the Table of Contents to be shown, #toc=hide will force hiding it. If the label doesn't exist, the global setting is observed", + "keyboardShortcut": "Defines a keyboard shortcut which will immediately jump to this note. Example: 'ctrl+alt+e'" }, "relation": { "runOnNoteCreation": "executes when note is created on backend", From 7f789375434a35ff5afac67ffc5e757d17d8ece6 Mon Sep 17 00:00:00 2001 From: zadam Date: Fri, 23 Sep 2022 22:51:17 +0200 Subject: [PATCH 3/3] keyboardShortcut attr detail help --- src/public/app/widgets/attribute_widgets/attribute_detail.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/public/app/widgets/attribute_widgets/attribute_detail.js b/src/public/app/widgets/attribute_widgets/attribute_detail.js index d10bd3067..81df6e437 100644 --- a/src/public/app/widgets/attribute_widgets/attribute_detail.js +++ b/src/public/app/widgets/attribute_widgets/attribute_detail.js @@ -236,7 +236,7 @@ const ATTR_HELP = { See wiki with details, API docs for parentNote and now for details.`, "template": "This note will appear in the selection of available template when creating new note", "toc": "#toc or #toc=show will force the Table of Contents to be shown, #toc=hide will force hiding it. If the label doesn't exist, the global setting is observed", - "keyboardShortcut": "Defines a keyboard shortcut which will immediately jump to this note. Example: 'ctrl+alt+e'" + "keyboardShortcut": "Defines a keyboard shortcut which will immediately jump to this note. Example: 'ctrl+alt+e'. Requires frontend reload for the change to take effect." }, "relation": { "runOnNoteCreation": "executes when note is created on backend",