Hi, are exist current works on implementing templates plugin for mobile version? I think this could be very useful. If nobody interested in it I could try my own, I never have experience with mobile technology stack but I'm frontend dev professionally (js, react). If some experienced coder could guide me and provide materials to learn I could try creating this plugin on mobile version.
Hi @jakubkloc, incidentally I started yesterday a branch based on the original plugin repo, to try and adapt the plugin to mobile. You are welcome to have a look and contribute. I created a release that you can install on mobile. It supports existing templates from desktop, and introduces a button for creating a new note from a template on the editor toolbar, and in the 3-dot note menu / toolbar. Will be happy to get feedback.
Thanks so much for doing this! It's so nice to play with all the features I've been waiting for! ![]()
One small idea: putting the "new note from template" button under the three dots menu in a note is a bit inconvenient (and from some playing around, occasionally creates empty notes), maybe you could create a panel view and put all the buttons in there as basically a hacky way to add buttons to the toolbar like on desktop?
Cool stuff @shikuz! Looking forward to see the mobile version of the plugin.
I agree, it would be great to have the commands in a panel. Especially since there are a few of them and having that many under the three dot menu (in addition to other plugins) may be too much on mobile. If they do end up there, I would suggest being able to add and remove the ones you want from the menu, so it isn't cluttered with commands someone may not use.
Please try the latest mobile release, which adds a command panel (only on mobile).
If it's alright by you @nishantwrp, I'll open a PR for mobile support once I feel that it's mature enough.
I've installed it on my mobile, and it works nicely! The only thing that's slightly awkward is that you have to close the command thingy manually. Not sure if that's by design or a limitation in the plugin system?
Apart from that, I'm really happy with it!
As you guessed, this is a limitation of the API (as far as I know). I'm linking to a relevant post / request.
FYI, I saw a PR to add a command to hide the plugin panel viewer yesterday. But I didn't checked the detail yet.
Linking to a PR on the main plugin repo.
Hi. I am super excited about the prospect of having a mobile template plugin, so thank you for working on this!
Basic question: do I need to install this via .jpl download on my mobile (Android)?
I have only ever installed Plugins directly through the app interface, but (on mobile) v2.5.0-mobile isnβt available and Templates v2.4.0 is not compatible.
Thank you!
Yes ,@lcsamuel, for now (until the PR is reviewed and accepted) if you would like to install, you need to download the jpl file. Then, install it on mobile from settings --> plugins --> advanced settings --> install from file.
Thank you!!
Any news on approving the pull request from devs on the official repo? You put that PR in 6 months ago...
Edit: The original repo hasn't had a new release since 2023. Not sure if you're up for being the new maintainer @shikuz, but if you are maybe someone can ask the Joplin devs to reroute the plugin to your repo.
I forgot what's the challenge with publishing this plugin. @shikuz , if you'd like we can add you to the repository so that you can merge your PR, but not sure if you'll be able to publish too?
I've been using the plugin for a long time with no issues (also on mobile). I'm confident in the PR and will be happy to merge it, but I can't say that I tested the entire plugin thoroughly (previous PRs and added features), as my own templates don't make use of all the available features.
According to @nishantwrp it boils down to documenting the release:
I could try to have a look and perhaps run an auto-summary on the new features.
Is it possible that you @laurent could publish the plugin, according to the npm page (or add me as a collaborator there too)?
@shikuz, do you know if there are breaking changes between the new and old plugin? If not I will publish it. In the meantime I merged your PR and added your as a maintainer so feel free to merge other PR that can make sense.
As for the doc, I assume we can generate something good enough using ChatGPT?
Thanks @laurent!
I generated (with cursor) updated plugin documentation, including a demo template that extensively shows / tests the features (which worked for me) (linking to the PR).
There is still a pending old PR that I'll have a look at later.
Great, thank you!
Based on your own usage, would you say there would be breaking changes in this new release?