Massive core refactoring + Tracking state indicator#26
Massive core refactoring + Tracking state indicator#26rupel190 wants to merge 25 commits intoplasmabit:mainfrom
Conversation
…is tracked in the status bar, but neither connected to core tracking nor reflected in the properties.
… timeout for CAMS/BOMS; Add customizable edit indicators; MISSING usage of actual settings values
…the assignment of debounced functions into loadSettings
…on. Current state: CAMS modified, other 3 not updated
…ackup before adding this
|
Wow, I haven't been active on GitHub, and I just saw this. Give me a minute |
Feedback on this pull request
|
|
What ever happened to this I'd like to add to the plugin and pull if possible to add features for note heatmaps etc |
Document new features: typing indicator, configurable timeout, date refresh threshold, format validation, CAMS/BOMS clarification.
Hiho @plasmabit
Great plugin! I've used it for a while and meant to add a formatter to the editing_time as #25 suggests. However, things escalated and I've... I've kinda re-written the core logic using debouncing.
It works the same, but improves on robustness and efficiency, especially avoiding excessive function calls.
Since I'm not completely done I'll open this as a draft, though I'm already using it for 1-2 weeks now. Let me know what you think in the meanwhile!
Adds:
Status Indicator
Emojis at the bottom indicating whether time is counted.


After typing is halted a configurable timeout counts down and resets the indicator.
The frontmatter is not just updated after typing has stopped, but every x seconds (where x is the typing timeout). So if my typing timeout is set to 30 seconds and I type for 80 seconds the frontmatter is updated at 30s, 60s and then once more as the timer runs out.
Modified timestamp
The modified time is now updated only if a configurable threshold is used. So if set to 30 seconds, the overall typing time needs to exceed 30 seconds. Important: When typing timeout >= modified threshold, the modified time will always be updated. I.e. when the typing icon is blue for longer than the modified threshold it updates.
Restructures settings:
Fixes:
Current plan: