Code Monkey home page Code Monkey logo

trilium-scripts's People

Contributors

beatlink avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

trilium-scripts's Issues

bug: Not all notes are cloned

Working with the script I have found that a lot of notes with the #dueDate are non cloned.

First, I have double checked the Note Id, to ensure the proper corispondance between Note an Note Description

In my scenario only 4 of 6 note with a dueDate in June 2023 are cloned BUT are cloned to This Year

And in the Future note there is no clone and I have two note with a dueDate in the 2024 (#dueDate=2024-10-04 and #dueDate=2024-02-28).

improvement: setting the local language for the label.

Following your work, using the day.js plugin, I have set the language of the branch text in Italian.

var localeData = require('dayjs/plugin/localeData')
api.dayjs.extend(localeData)
api.dayjs.locale('it') // use loaded locale globally

Thanks for your work, I'm learning a lot!

Mobile View: where to find "scriptNoteId"

Hello.

I really want to learn using Trilium, but I'll mostly use it on my phone. So I wanted to give the script a try.

I am not familiar at all with Trilium nor JS, so I have a couple questions.

Where can I find the "scriptNoteId" for each script and how should I write it in the SetupButtons notes ?

Also, are labels to be added in the "Owned attributes" tab ?

Thanks for your help

updateAgenda.js Could not find module note dayjs/plugin/isBetween

I followed the myDay readme and got those Scripts working. I feel I'm following the Agenda readme correctly but I'm having issues with getting the updateAgenda.js script to run.

I get this message:
Execution of JS note "updateAgenda.js" with ID FyQKp9RnLDz5 failed with error: Load of script note "updateAgenda.js" (FyQKp9RnLDz5) failed with: Could not find module note dayjs/plugin/isBetween

using trilium-windows-x64-0.60.4

I do not have much JavaScript experience. Any help will be appreciated.
Thank you

Idea: #dueDate as Branch Prefix

I'm learnig to use Trilium and your script is very useful.
Not a JavaScript expert but I think that can be possible, when cloning one of the:

  • Overdue
  • This Week
  • This Month
  • This Year
  • Future

add the Branch Prefix using the #dueDate=2023-10-30 value but in the form: "30-10-2023"

Of course for Today this is not worth...

Thanks.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.