A "finished" attribute for notes #1771
yu-jingrui
started this conversation in
Ideas
Replies: 1 comment 1 reply
-
This can probably be achieved via a script that triggers on attribute change and automatically applies the Since it's pretty specific, I would not implement it as a core part of Trilium. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have always wanted this but see no other talk about this, so putting it here for discussion.
I suppose it should work like this:
After I am done working on a note, a
finished
attribute is given. The note is no longer editable, meaning it gets areadOnly
attribute assigned, with extra information on when it was finished, for examplefinishedAt={date-time}
. This state can of course be reversed, but should have some barriers to it so that it isn't accidentally changed.The initial reason I want this is that I don't want to accidentally change my day notes without noticing. The temperary solution I am using is to set
readOnly
for the day template, so that all day notes are by default read-only and I have to manually enter edit mode. The ideal way would be the day note stays in edit mode during the day, and after today it automatically getsfinished
.This could also be useful for notes that is related to a specific project. After the project finished, the notes can be set to
finished
. They are easily identifed as past notes that should not be changed.Currently
readOnly
andarchived
partially works, but they don't fully achieve what I want.readOnly
is not deliberate enough.archived
does not forcereadOnly
, but excludes the note from search and autocomplete.Beta Was this translation helpful? Give feedback.
All reactions