Skip to content

Commit

Permalink
Merge branch 'main' into tgl-view
Browse files Browse the repository at this point in the history
  • Loading branch information
JamesNZL committed May 15, 2023
2 parents 5d663a7 + fbba79e commit 742e59d
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 8 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,13 @@

All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.

### [2.1.3](https://github.com/JamesNZL/flow-toggl-plugin/compare/v2.1.2...v2.1.3) (2023-05-15)


### Bug Fixes

* **ux:** :speech_balloon: fix casing of `"No Project"` to match toggl ([65ebf8d](https://github.com/JamesNZL/flow-toggl-plugin/commit/65ebf8de721730959501ede175f2a1c515ac96a8))

### [2.1.2](https://github.com/JamesNZL/flow-toggl-plugin/compare/v2.1.1...v2.1.2) (2023-05-14)


Expand Down
Binary file modified assets/screenshots/start.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
14 changes: 7 additions & 7 deletions src/TogglTrack.cs
Original file line number Diff line number Diff line change
Expand Up @@ -357,7 +357,7 @@ internal async ValueTask<List<Result>> RequestStartEntry(CancellationToken token
{
new Result
{
Title = "No project",
Title = "No Project",
IcoPath = "start.png",
AutoCompleteText = $"{query.ActionKeyword} {Settings.StartCommand} ",
// Ensure is 1 greater than the top-priority project
Expand Down Expand Up @@ -413,7 +413,7 @@ internal async ValueTask<List<Result>> RequestStartEntry(CancellationToken token
: string.Empty;
string projectName = (project is not null)
? $"{project.name}{clientName}"
: "No project";
: "No Project";

string description = string.Join(" ", query.SearchTerms.Skip(2));

Expand Down Expand Up @@ -701,7 +701,7 @@ internal async ValueTask<List<Result>> RequestEditEntry(CancellationToken token,
{
new Result
{
Title = "No project",
Title = "No Project",
IcoPath = "edit.png",
AutoCompleteText = $"{query.ActionKeyword} {Settings.EditCommand} ",
// Ensure is 1 greater than the top-priority project
Expand Down Expand Up @@ -761,7 +761,7 @@ internal async ValueTask<List<Result>> RequestEditEntry(CancellationToken token,
: string.Empty;
string projectName = (project is not null)
? $"{project.name}{clientName}"
: "No project";
: "No Project";

string description = (this._editProjectState == TogglTrack.EditProjectState.ProjectSelected)
? string.Join(" ", query.SearchTerms.Skip(2))
Expand Down Expand Up @@ -990,7 +990,7 @@ internal async ValueTask<List<Result>> RequestStopEntry(CancellationToken token,
: string.Empty;
string projectName = (project is not null)
? $"{project.name}{clientName}"
: "No project";
: "No Project";

var results = new List<Result>
{
Expand Down Expand Up @@ -1183,7 +1183,7 @@ internal async ValueTask<List<Result>> RequestDeleteEntry(CancellationToken toke
: string.Empty;
string projectName = (project is not null)
? $"{project.name}{clientName}"
: "No project";
: "No Project";

return new List<Result>
{
Expand Down Expand Up @@ -1277,7 +1277,7 @@ internal async ValueTask<List<Result>> RequestContinueEntry(CancellationToken to
: string.Empty;
string projectName = (project is not null)
? $"{project.name}{clientName}"
: "No project";
: "No Project";
return new Result
{
Expand Down
2 changes: 1 addition & 1 deletion src/plugin.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"Name": "Toggl Track",
"Description": "A time tracking plugin for Flow Launcher using Toggl Track",
"Author": "JamesNZL",
"Version": "2.1.2",
"Version": "2.1.3",
"Language": "csharp",
"Website": "https://github.com/JamesNZL/flow-toggl-plugin",
"IcoPath": "app.png",
Expand Down

0 comments on commit 742e59d

Please sign in to comment.