Skip to content

feat: #30 suggest recent projects and recent entries in the edit form - #33

Merged
othercodes merged 1 commit into
masterfrom
feat/30-more-recent-suggestions
Nov 27, 2026
Merged

othercodes merged 1 commit into
masterfrom
feat/30-more-recent-suggestions

Conversation

@othercodes

Copy link
Copy Markdown
Owner

Closes #30

  • Project field: while empty, it lists the projects of your recent entries (pinned first, once each, only ones you can still track); ↓ and enter pick one. As you type, recent projects come first among the matches.
  • Edit form: once the description changes, it shows the same recent suggestions as a new timer. Using one sets description, project and task. A task with no ID (an external task, such as Jira) cannot be set through an edit: the task field says which task stays. A suggestion with no project leaves the entry's project and task alone, since an edit cannot remove a project.
  • Fixes: tab with a suggestion highlighted no longer leaves it highlighted on the next field (a later enter could panic); the highlighted project stays put when the recent entries load and reorder the matches.
  • README: the key table mentions the new suggestions.

Verified by hand against the real API: project suggestions on a new timer, suggestions in the edit form (external task kept), and saving an edit from a suggestion.

@sonarqubecloud

Copy link
Copy Markdown

@othercodes othercodes self-assigned this Nov 27, 2026
@othercodes
othercodes merged commit 9a449d1 into master Nov 27, 2026
8 checks passed
@othercodes
othercodes deleted the feat/30-more-recent-suggestions branch November 27, 2026 02:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

recent suggestions on the project field and in the edit form

1 participant