The changes here are relatively straightforward. There's a new ProgressClocksSettingsTab.ts file that specifies what options should be shown in the plugin's settings page, and some boilerplate in ProgressClocksPlugin.ts to set it up, save the settings, and pass them to the Clock object in the handleMarkdownPostProcessor function.
The ClockWidget and InlinePlugin were adjusted to pass the settings values through to Clock.svelte, which has a few changes to conditionally disable click interactions or hide the buttons, depending on the settings.
The changes here are relatively straightforward. There's a new
ProgressClocksSettingsTab.ts
file that specifies what options should be shown in the plugin's settings page, and some boilerplate inProgressClocksPlugin.ts
to set it up, save the settings, and pass them to theClock
object in thehandleMarkdownPostProcessor
function.The
ClockWidget
andInlinePlugin
were adjusted to pass the settings values through toClock.svelte
, which has a few changes to conditionally disable click interactions or hide the buttons, depending on the settings.Closes #9