Code Monkey home page Code Monkey logo

obsidian-vault-changelog's People

Contributors

badrbouslikhin avatar priyank-vaghela 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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  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  avatar  avatar  avatar  avatar

obsidian-vault-changelog's Issues

Mistake?

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

Feature Request: Automatically create Changelog.md on first run

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

[Feature Request] Mobile Path Support - Absolute paths

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?

A way to customize how the dates and times are displayed ? 😊

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 😁 !

[NEW] vs [MODIFIED] entries

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.

[Bug] Changelog update overwrites frontmatter

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.

[BUG] Changelog doesn't use absolute paths

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.

Cannot seem to write updates to my changelog.

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'.

image

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.

image

I find this difficult to debug what exactly is wrong with my filepath.

Is someone working on this or ran into similar issues?

[Feature request] writing new records without deleting old records

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?

Exclude certain directories

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.

Skip head of existing changelog page

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.

selection of report directories

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?

[Feature Request] Table + Natural Date + Natural Time (Beautifying the Changelog)

image
Prettier Obsidian-Changelog - Copy

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:

  1. Table - Put all 3 columns in a markdown Table format. This makes it look much nicer and the headings make it easier to see.
  2. Natural Date - Human beings are used to processing information in beautiful and simple natural language. I think that the dates being written in a natural language format makes it easier to read and more intuitive to understand. Eg: 2022-02-12 becomes 12th Feb 2022
  3. Natural Time - Same as 'Natural Date', Natural Time is definitely easier to read than a 24 hour time format. Eg: 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

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.