widgets can have a help link with title

This commit is contained in:
zadam
2019-09-09 21:23:04 +02:00
parent 76f3e87790
commit f5228f87f0
9 changed files with 76 additions and 5 deletions

View File

@@ -6,6 +6,12 @@ import treeCache from "../services/tree_cache.js";
class SimilarNotesWidget extends StandardWidget {
getWidgetTitle() { return "Similar notes"; }
getHelp() {
return {
title: "This list contains notes which might be similar to the current note based on textual similarity of note title."
};
}
getMaxHeight() { return "200px"; }
async doRenderBody() {