🎩 Want to build a plugin? Join the power users that receive cash for building popular stuff. View the Complete Plugin Builders Guide to start.

Developer Notes & Instructions

9 Comments

10:51pm on October 13, 2023

Y no toggl button next to every task in the widgets section??

7:29am on October 14, 2023

Hello there, it's an Amplenote plugin, not a browser extension, and creating a custom button is not possible using the Amplenote plugin API. Also, if you mean by widgets mobile widgets, there is no way to access Amplenote mobile app widgets using a plugin. Please refer to https://www.amplenote.com/help/installing_and_using_plugins#What_can_plugins_do%3F for more details

User #112122
2:41pm on December 13, 2023

Hello! I'm trying to install this but am getting this error when creating a new project, and I'm not seeing the action when I type {

TypeError: Cannot read properties of null (reading 'map')

Any thoughts why?

7:07pm on December 13, 2023

Hello there,
regarding actions problem, it has been fixed today. You can test it and reach me if the problem still exists.
For the create project, could you please tell me some details
Did you add your workspace id and personal token correctly in the settings?
Did the modal open and you entered project details? If so what was that values?
Does clients dropdown menu shows the clients ?

7:20pm on January 7, 2024

I setup everything and add {AmpleTrack: Start} for my task.

But nothing happened. Could you make a little bit more specific about how can I start the timer from a task?

9:53pm on January 7, 2024

Hello Peter, thank you for using AmpleTrack. Have you set the personal token and workspace ID correctly in the settings?
Also, do you mean by adding {AmpleTrack: Start} that you just write it in the task? When you write { and start typing the word start a menu should appear that has "AmpleTrack: Start" entry in it, then you should click it. Let me know also, on what platform did you test it?

1:59am on June 21, 2024

Hi, now that Amplenote plugins support rendering HTML, Javascript, and external libraries (see blog update here https://www.amplenote.com/blog/plugin_bounties_and_new_trending_sorting_algorithm), would you be able to add the ability to add custom integration scripts the way the old toggl plugin does? The source code for the old plugin is attached to this github issue: https://github.com/toggl/track-extension/issues/2308

I was using a custom Toggl integration for Amplenote I wrote that, when combined with some custom CSS injected using Amino CSS, made a button show up next to every task. I also defined custom task notation that auto-assigned tasks to projects when I clicked the Toggl button next to them, based on prefixing the task with something like "A< O<" (but w/no space or quotes), where O is associated with some Toggl project, and A is the task priority (unrelated to Toggl, so my custom integration ignores that - it also ignores .0 and .01 at the end of tasks, something else I just add to every task as part of my personal system independent of Amplenote).

It seems Toggl recently killed login access from the old browser extension, though (i.e., the version of the extension that allows adding custom integrations - a feature they removed when they changed to manifest v3), so being able to use my API key and just throw whatever custom integration code I want into Amplenote would be awesome.

In addition to the old official extension code attached to the linked github issue, if you contact me on Discord I can provide you with the CSS I inject with Amino and my custom Amplenote integration Javascript for reference (tho in theory neither of those should be necessary for this plugin feature to work, since that's the whole point of custom integrations - I add that extra stuff myself later as an end-user).

6:51am on August 14, 2024

When creating a Project, I am getting this error.

TypeError: Cannot read properties of null (reading 'map')

I have made some fixes to the code, and now its working fine. I have updated the modified code in the below public note.
https://public.amplenote.com/PCffuAQ9EzvyWbhtXc9GXbQ1

User #163993
5:21pm on September 7, 2024

mandickay@outlook.com