Skip to content

Latest commit

 

History

History

Mobile View

Mobile View

These set of scripts allow you to use the full capabilities of the Trilium server user interface while on a mobile device.

What the scripts do

  • On startup, Set the zoom and viewport to match the size of your mobile device
  • Shows only one pane at a time according to which view you select
  • Enables overflow for the left hand sidebar, improving readability for long page titles

How to Use

Add the scripts as directed by the comments at the top of each file, then reload Trilium. After launch, you will have 4 additional buttons on the sidebar.

  • Toggle Mobile View - This allows you to toggle between the full desktop view and the mobile view
  • Set Sidebar View - Shows the left sidebar with the page hierarchy
  • Set Note View - Shows the note contents, labels and tabs
  • Set Right Panel - Shows the right panel along with any widgets such as the Table of Contents

Note, these scripts are intended to be used while Trilium web is in Desktop mode, not Mobile mode. Switch the mode to Desktop mode in the Trilium options menu before enabling mobile view from the launcher.

Screenshots

This is the full view without the mobile view activated.

Full View

With mobile view activated and the sidebar view selected, only the left sidebar is shown

Sidebar View

With the note view selected only the note contents and attributes are shown

Note View

With the right panel view selected only the right panel and widgets are shown

Right Panel View

Versions

2.0

  • Consolidate all code to a single widget
  • Autohide view buttons when not in mobile view

1.0

  • Initial Build