Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(Feature Request) Improved mobile view #4335

Closed
BeatLink opened this issue Oct 18, 2023 · 4 comments
Closed

(Feature Request) Improved mobile view #4335

BeatLink opened this issue Oct 18, 2023 · 4 comments

Comments

@BeatLink
Copy link

BeatLink commented Oct 18, 2023

Describe feature

I've created some scripts to rework how the mobile view in trillium functions. These scripts allow mobile users to use the full capabilities of the trillium web in desktop mode while still de-cluttering the interface and increasing the size of elements for smaller screens. The scripts can be applied as is to current versions of trillium but perhaps it could be incorporated into the core mobile view of Trilium.

Give it a try and let me know what you think!

https://github.com/BeatLink/trilium-scripts/tree/main/Mobile%20View

Additional Information

No response

@meichthys
Copy link
Collaborator

meichthys commented Oct 18, 2023

Nice work. I cant wait to try it. What NoteID do we use? Do we use the full path like #root/kHCVsfPpbpZY/bqHm2hEzJy40/yTPg2v750TiE/BUuf9ATkjoEZ/tNd4ic9aeH5T/angaZoMy9Qc8/5eU9wZ30Cf8K or just the id listed in the note information pane like: 5eU9wZ30Cf8K ?

Nevermind, I answered my own question - the shortID works nice 👍

One thing to note: If the side panel is hidden, the Set Sidebar View button won't work.

@BeatLink
Copy link
Author

Yeah, the sidebar view is intended to work with the sidebar kept open

@LokiLuciferase
Copy link

This is exactly what I needed from the mobile view, thanks!

I think passing the note IDs used in SetupButton.js via relations (api.currentNote.getRelationValue) is cleaner than putting the actual IDs in the code, but other than that, it worked out of the box like a charm!

@meichthys
Copy link
Collaborator

Issue migrated to TriliumNext as future feature requests will be discussed and implemented there.

@meichthys meichthys closed this as not planned Won't fix, can't repro, duplicate, stale May 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants