badrbouslikhin / obsidian-vault-changelog Goto Github PK
View Code? Open in Web Editor NEWPlugin for Obsidian to maintain a changelog of recently edited files in your vault.
Plugin for Obsidian to maintain a changelog of recently edited files in your vault.
Error message: Couldn`t write changelog: check the file path
Tried different file paths, nothing helps.
you said in readme. :
notes/misc/changelog.md
/.obsidian/plugins
.
├── notes
│ └── misc
│ └── changelog.md
├── pictures
├── some-note.md
└── some-other-note.md
solv:
.
├── notes
│ └── misc
│ └── changelog.md
├── pictures
├── some-note.md
└── some-other-note.md
Hi
When I first installed this plug-in, for the first few weeks I was confused. Because it kept giving me this error:
Couldn't write changelog: check the file path
So I disabled this extension that would have been insanely helpful for me, and I didn't use it for a few weeks until I came back, re-read the GitHub readme, manually made a folder called "Folder" and inside that manually made a file called "Changelog.md" and then it worked! I thought to myself "Wow, I can't believe I wasted all this time not understanding this. Why doesn't this extension just make this file manually when you first install it?"
And that brings me here.
So I suppose this issue is more of a feature request/feedback. It would be really helpful for new users if this extension automatically created a file called "Changelog.md" on it's first run.
♥ Thank you for making this extension @badrbouslikhin
At the moment I am using of iOS.
Maybe someone can verify on Android?
The issue is that absolute paths i.e vault paths on iOS are different than macOS.
They are also different for iCloud Vault storage.
Would it be possible to add an iOS path setting as well?
Then if iOS is detected the other path can be used.
or perhaps make paths relative to the vault's root?
Hi there 😊 !
This is a very useful plugin and I thank you for creating it 👍 !
I'm no dev', so I have no idea if what I'm going to suggest here is possible or not but something I personally would like to be able to do is customize how the dates and times are displayed in the changelog note 😇 ... That's it 😊 ... Just a thought for future improvements 😊 .
Thank you very much for this more than helpful plugin 😁 !
This probably doesn't work with the automatic option but here's an idea for you:
Keep a timestamp of the last time the changelog was updated. Then only show files that were modified since that timestamp.
If ctime > last_updated, then you can identify the file as new.
If this doesn't quite fit with your vision of the plugin, let me know! My use case is really just for publishing a changelog of my Obsidian Publish vault, so I realize this might be a bit off track.
I have a template for all my notes, including the changelog with some basic YAML at the beginning.
However, every update of the changelog gets completely rid of that.
I would be fine if all other parts of the template get overwritten, except for the frontmatter.
Hi
This plugin cannot be use if the vault is opened at a folder in One Drive
I have several files with the same name spread across the graph (index / inbox files in various folders / sub-hierarchies, e.g. work/-INBOX-
, projects/-INBOX-
, ... and a global -INBOX-
for quick notes to process later.)
Because the change log link doesn't include the full path, most of these notes get lost / aren't properly tracked by the change log.
Notes should be linked by the full path instead. (There's even an Obsidian option, but I'm not sure if it's accessible or if there's an API call to generate a link according to the current setting. Didn't see anything on the file descriptor itself.)
I locally edited the JS resulting from https://github.com/badrbouslikhin/obsidian-vault-changelog/blob/main/main.ts#L91 to
const path = recentlyEditedFile.path;
const link = path.substring( 0, path.length - (1+recentlyEditedFile.extension.length) );
changelogContent += "- " + humanTime + " \u00B7 [[" + link + "]]\n";
and that works for me, for now. But others will probably also run into this.
I haven't used the plugin before.
Tried setting the absolute path and this didn't work, I then tried relative i.e. './changelog.md'.
I previously had this vault on iCloud, and thought that this was the issue, but I have since moved it to a local repo.
When I call update changelog from the command panel I get the following error message.
I find this difficult to debug what exactly is wrong with my filepath.
Is someone working on this or ran into similar issues?
Request an option button to allow the changelog.md can have the following output:
Consecutive changes on one notes would be merged as one record.
That would be:
If A-A-A-A-B-A-A-A --> A-B-A.
That would be very meaningful update in my opinion because I use this plugin as a daily working log.
Is that a good or bad idea?
Would be nice to add a # CHANGELOG
heading to the page so it renders nicely in Obsidian Publish.
Hi Badr. First of all, thanks for the great plug-in.
If it's not difficult, could you put an option to exclude user-specified directories in the building of the changelog?
For example, one may want to exclude their daily diary directory from the changelog.
Nice plugin!
Here is an idea that should be simple to implement: When the changelog page already exists, keep everything in it until the first line starting with "- " (markdown for unordered list). Only overwrite the rest. That way, frontmatter with metadata and a head section could be kept in the page.
Only one subfolder of my vault is public.
But since the plugin lists changes to all directories, there are many links without a connection on the web version.
alternatively to the suggested exclusion of directories, a selection of directories to watch would be more practical. Is such an extension possible or would this approach be too complicated?
Thank you for this great plugin. Works like a charm on macos and linux.
Please add [Feature Request] Add log of added , deleted notes
[Feature Request] Make the LINKS to files optional.
I'd like to have it not clutter my graph view.
Thanks!
As per:
https://forum.obsidian.md/t/hide-specific-links-in-graph/27802
I would prefer if the changelog links to the changed files, would not be visible in the graph. Maybe there are other solutions to hide this, but as the changelog is just a quick reference, it might not need to be visible or processed everywhere.
Hi 👋
So after using the Changelog extension for some time, I started wishing that it was a bit more intuitive in it's design. Here's my idea:
2022-02-12
becomes 12th Feb 2022
23h30
becomes 11:30pm
So this issue is actually more like 3 Feature Requests in 1 ! I think these beautification ideas can go a long way into making Changelog easier to use. I hope you like my suggestions and would consider implementing them in the extension.
❤️ Thank you
Could be possible to hide the changelog.md file from the graph view?
Thank you
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.