-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Custom widget position doesn't work #5530
Copy link
Copy link
Closed
Description
Description
Custom widgets in the right pane seem to be ignoring their position, causing them to be in an unexpected order. (Not sure if this is also the case with the left and center panes.)
According to the docs, a widget's position can be set like this:
class CustomWidget extends api.RightPanelWidget {
get position() { return 1; }
}
This was working in 0.90.12. After upgrading to 0.91.6 and then 0.92.2, my custom widgets aren't in their correct order anymore.
However, if I assign the position like this, then the custom position is respected again:
class CustomWidget extends api.RightPanelWidget {
position = 1;
}
TriliumNext Version
0.91.6 and 0.92.2-beta
What operating system are you using?
Windows
What is your setup?
Local + server sync
Operating System Version
Windows 10
Error logs
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels