Skip to content

Commit

Permalink
Update toggl-track extension (#15831)
Browse files Browse the repository at this point in the history
- docs: update changelog
- feat: add shortcut duplicate to create similar time entry button
- Initial commit
  • Loading branch information
teziovsky authored Dec 13, 2024
1 parent 30717c7 commit 41ad4a7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions extensions/toggl-track/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Toggl Track Changelog

## [New Feature] - 2025-12-12

- Add shortcut to "Create Similar Time Entry"

## [New Feature] - 2024-12-09

- Add "Update Time Entry" command to update time entries
Expand Down
2 changes: 2 additions & 0 deletions extensions/toggl-track/src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import RunningTimeEntry from "@/components/RunningTimeEntry";
import UpdateTimeEntryForm from "@/components/UpdateTimeEntryForm";
import { ExtensionContextProvider } from "@/context/ExtensionContext";
import { formatSeconds } from "@/helpers/formatSeconds";
import Shortcut from "@/helpers/shortcuts";
import { Verb, withToast } from "@/helpers/withToast";
import { useProcessedTimeEntries } from "@/hooks/useProcessedTimeEntries";
import { useTimeEntryActions } from "@/hooks/useTimeEntryActions";
Expand Down Expand Up @@ -97,6 +98,7 @@ function ListView() {
<Action.Push
title="Create Similar Time Entry"
icon={{ source: Icon.Plus }}
shortcut={Shortcut.Duplicate}
target={
<ExtensionContextProvider>
<TimeEntryForm
Expand Down

0 comments on commit 41ad4a7

Please sign in to comment.