Replies: 1 comment
-
|
Hi @bl4ck5un! I'm Dosu and I’m helping the Trilium team. Nice widget idea! I can offer some input on both questions: Mobile support: Custom widgets are not supported on the mobile frontend. The mobile initialization code skips widget bundle loading entirely [1] — desktop calls Placing UI near the child-note list: A couple of alternatives to DOM searching + MutationObserver:
The To reply, just mention @dosu. Docs are dead. Just use Dosu. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I built this widget that reads #dueDate attributes from children notes, and adds to the parent note a countdown of all due dates. It's useful to get a quick glance at all my deadlines. (repo)
Two questions for the community
.note-list-wrapperand places a newdivthere. Because that area is not always present immediately, Codex suggested using a MutationObserver to wait for the wrapper to appear. This works, but it feels fragile.Beta Was this translation helpful? Give feedback.
All reactions