Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(ux)!: ✨ implement new command flow (#28) #90

Merged
merged 35 commits into from
Jul 4, 2023
Merged

Conversation

JamesNZL
Copy link
Owner

@JamesNZL JamesNZL commented Jul 4, 2023

Implements the new command flow as requested by @tdnzr, closes #28.

The README Command Reference has been updated accordingly.

Breaking Changes

  1. tgl start and tgl continue command keywords have been removed.
  2. start and continue are now top-level commands.
  3. You can no longer quick-start commands with eg tgl o, you must now type the command in full (or select it from the top-level results)
  4. start project selection is no longer enforced at the beginning; it is optionally triggered at any point with the @ symbol.
  5. edit project selection uses @ instead of -p accordingly.

`tgl` will fill:
	1. Start empty time entry
	2. List of commands

`tgl ...` will fill:
	1. Start ...
	2. Fuzzy filtered past ... entries
	3. Fuzzy filtered ... commands

`tgl [command-name]` will:
	1. Auto-trigger the command.

You can `tgl \[command-name]` to escape the command auto-trigger and create it as a time entry.
ie non-expected exit, such as `tgl @` -> `tgl \@`
ie, do not delete the preceeding query
BREAKING CHANGE: this commit removes support for the `-p` edit project flag
@JamesNZL JamesNZL added documentation Improvements or additions to documentation feature New feature or request breaking change Introduces a breaking change labels Jul 4, 2023
@JamesNZL JamesNZL self-assigned this Jul 4, 2023
@JamesNZL JamesNZL merged commit 92d2cea into main Jul 4, 2023
@tdnzr tdnzr mentioned this pull request Dec 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking change Introduces a breaking change documentation Improvements or additions to documentation feature New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Feature request: Quicker command for starting or continuing a previous time entry
1 participant