mProjectsCode / obsidian-stats

https://www.moritzjung.dev/obsidian-stats/
GNU General Public License v3.0
14 stars 3 forks source link

feat: add changelog data from obsidian #10

Closed Fevol closed 2 weeks ago

Fevol commented 2 weeks ago

fetchData now also fetches from https://obsidian.md/changelog.xml, which is an official feed provided by Obsidian, containing all versions (insider and public), together with dates, platforms, and changelog info.

This PR reworks some of the charts to include the insider releases, and adds two additional charts to give more insight into the releases:

  1. A chart showing the amount of days that have passed between publicly released versions
  2. A chart which shows the 'size' of an update, by counting the number of changes listed in the changelog (divided in categories).

A notice has been added to the latter to explain that it isn't the most reliable metric.

Finally, the zoom plugin from chart js (https://www.chartjs.org/chartjs-plugin-zoom/latest/guide/usage.html) has been added as a toggleable prop in the barchart's props. This was pretty necessary, as some of the charts were too small to be able to see properly.

mProjectsCode commented 2 weeks ago

Thanks :D LGTM