ObsidianSimpleTimeTracker icon indicating copy to clipboard operation
ObsidianSimpleTimeTracker copied to clipboard

Add Minimal Implementation for Shortcuts in the Tracker Fields

Open serrnovik opened this issue 1 year ago • 1 comments

Add Minimal Implementation for Shortcuts in the Tracker Fields

Description

This PR introduces a minimal implementation of keyboard shortcuts within the tracker fields of the plugin. The feature aims to enhance user experience by allowing quick actions during field editing, thereby streamlining the workflow.

Implemented Feature

As proposed in Issue #59, the following keyboard shortcuts have been added:

  • Enter Key ()

    • Function: Saves the current changes made in the edit field.
  • Escape Key (Esc)

    • Function: Cancels the editing session and reverts any unsaved changes.

futher improvement ideas:

  • Add settings to let user customize shortcuts

serrnovik avatar Nov 04 '24 14:11 serrnovik

Hi, thanks so much for this implementation, it looks great! I'll merge and check if it all works once I get a chance to work on the plugin again :)

Ellpeck avatar Nov 04 '24 19:11 Ellpeck

Thanks so much again for this impl!! Sorry it took me ages to get around to it

Ellpeck avatar May 27 '25 10:05 Ellpeck