Commit graph

99 commits

Author SHA1 Message Date
Leo Yao
640d920f8f
Bugfix: pass DataManager to BarManager constructor
Before this patch, the BarManager constructor created a new DataManager instance,
leading to this.dataManager != this.barManager.dataManager. This led to effects such as
daily counts not updating in some circumstances, while total counts did.
2022-05-25 10:55:11 -04:00
Leo Yao
60ea70cfff Add basic filename filtering functionality
Adds a new setting fileNameFilter that omits filenames including
that string from total word/character/sentence counts.
2021-12-26 10:17:22 -05:00
Leo Yao
ba22ec7db9 Fix stats file creation when stats collection off
I noticed that despite having collectStats set to false, upon vault
or plugin load, the .vault-stats file would keep coming back. This is
due to:

In the plugin onload(), a BarManager is created
In the BarManager constructor, a DataManager is created
In the DataManager constructor, the .vault-stats file is created and
then written to, regardless of the user's collectStats setting.

We add an additional check in the DataManager constructor for the
collectStats setting, propagating settings through constructors
as necessary.
2021-12-25 22:26:59 -05:00
Luke Leppan
f6fd30c385 Merge branch 'hotfix/0.7.7' 2021-07-17 16:17:46 +02:00
Luke Leppan
847c0d0bfd 📝 Update README 2021-07-17 16:17:36 +02:00
Luke Leppan
7a78e9e3b7 🔖 bump 0.7.7 2021-07-17 16:13:05 +02:00
Luke Leppan
ca577458d8 🐛 Fix #14 and #16 and probably #15 2021-07-17 16:11:05 +02:00
Luke Leppan
ac7a6b5984 Merge branch 'hotfix/0.7.6' 2021-07-12 14:53:22 +02:00
Luke Leppan
6d4d35af53 🔖 bump 0.7.6 2021-07-12 14:53:05 +02:00
Luke Leppan
25ff6c9be3 Merge branch 'hotfix/0.7.5' 2021-07-12 14:49:14 +02:00
Luke Leppan
9a6df0ea9b 🔖 bump 0.7.5 2021-07-12 14:49:03 +02:00
Luke Leppan
89c74b9054 🐛 Fix #15 2021-07-12 14:47:37 +02:00
Luke Leppan
f17d71342a Merge branch 'hotfix/0.7.4' 2021-07-12 12:12:45 +02:00
Luke Leppan
9572201b4e 🔖 bump 0.7.3 2021-07-12 12:12:29 +02:00
Luke Leppan
ddaeb41d4d 🐛 Fix incorrect defaults #15 2021-07-12 12:10:54 +02:00
Luke Leppan
8937d6ea31 Merge branch 'hotfix/0.7.3' 2021-07-11 23:37:49 +02:00
Luke Leppan
57716f8804 🔖 bump 0.7.3 2021-07-11 23:37:32 +02:00
Luke Leppan
90a277bc53 improves High CPU usage #14 2021-07-11 23:36:48 +02:00
Luke Leppan
421a0599fa Merge branch 'hotfix/0.7.2' 2021-07-11 13:20:24 +02:00
Luke Leppan
bc77ae4993 bump 2021-07-11 13:20:11 +02:00
Luke Leppan
483889ce67 Merge branch 'hotfix/0.7.1' 2021-07-11 13:19:08 +02:00
Luke Leppan
03989d6b7a 🐛 Fix Broken Stats 2021-07-11 13:18:37 +02:00
Luke Leppan
992ff69040 🔀 Merge some stuff 2021-07-10 20:43:45 +02:00
Luke Leppan
72d8ac4a24 . 2021-07-10 05:37:54 +02:00
Luke Leppan
664cd4e4ed Merge branch 'release/0.7.0' 2021-07-08 22:58:00 +02:00
Luke Leppan
cc7eb1ad5d bump 2021-07-08 22:57:29 +02:00
Luke Leppan
f9e3f467a1 fix syntax 2021-07-08 22:54:59 +02:00
Luke Leppan
f1440baa4d add stats syntax 2021-07-08 22:42:07 +02:00
Luke Leppan
5331623a5a Merge branch 'feature/reword-structure' into develop 2021-07-08 22:23:27 +02:00
Luke Leppan
5aa51986fe Add Daily Counts #11 2021-07-08 22:20:38 +02:00
Luke Leppan
7f817bd5bd add #13 2021-07-07 19:29:16 +02:00
Luke Leppan
691ffe88ea total counts working 2021-07-07 19:00:11 +02:00
Luke Leppan
7c420b0b0b getting closer 2021-07-07 14:34:39 +02:00
Luke Leppan
49ad4d12f5 turning out to be a much larger update 😂 2021-07-03 21:22:50 +02:00
Luke Leppan
760b2211b3 Merge branch 'release/0.6.2' 2021-06-20 09:30:11 +02:00
Luke Leppan
f5a4f7f2e0 Merge branch 'release/0.6.2' into develop 2021-06-20 09:30:11 +02:00
Luke Leppan
1313e73a6f edit README 2021-06-20 09:29:58 +02:00
Luke Leppan
83e7549191 bump 2021-06-20 09:28:24 +02:00
Luke Leppan
a2843911ba Edit Stats.ts
Should fix #12
2021-06-20 09:04:16 +02:00
Luke Leppan
676ef31827 Merge branch 'develop' 2021-04-03 12:09:28 +02:00
Luke Leppan
dc1a4496c4 Merge branch 'hotfix/0.6.1' into develop 2021-04-03 11:58:41 +02:00
Luke Leppan
c7ebc4945e Merge branch 'hotfix/0.6.1' 2021-04-03 11:58:41 +02:00
Luke Leppan
bb56cc57a6 bump 2021-04-03 11:57:41 +02:00
Luke Leppan
7f1361960f Edit README.md 2021-04-03 11:56:14 +02:00
Luke Leppan
7ca78e53ea Merge branch 'master' into develop 2021-04-03 11:49:28 +02:00
Luke Leppan
05a85a472e
Merge pull request #9 from leoccyao/total-word-count
Add total word counts into graph view count
2021-04-03 11:48:44 +02:00
Leo Yao
4b60c3ee86 Add total word counts into graph view count
This patch adds total word/character/sentence counts into the count
for non-markdown files. Visibility of each count is based on already
existing settings.

Note that the first call of updateAltCount() has been moved after
the settings are loaded.
2021-04-02 17:24:17 -04:00
Luke Leppan
d753468617 Merge branch 'release/0.6.0' into develop 2021-02-17 06:49:55 +02:00
Luke Leppan
53a6452f2d Merge branch 'release/0.6.0' 2021-02-17 06:49:54 +02:00
Luke Leppan
ad9a1d0cda bump 2021-02-17 06:48:20 +02:00