-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: changes packages names to follow the go convention
- Loading branch information
1 parent
e07cfbb
commit 5348b66
Showing
12 changed files
with
128 additions
and
124 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
package appllicationdashboard | ||
|
||
import "github.com/charmbracelet/bubbles/key" | ||
|
||
var ApplicationTableKeys = keyMap{ | ||
Enter: key.NewBinding( | ||
key.WithKeys("enter"), | ||
key.WithHelp("enter", "select application"), | ||
), | ||
Up: key.NewBinding( | ||
key.WithKeys("up"), | ||
key.WithHelp("up", "move up"), | ||
), | ||
Down: key.NewBinding( | ||
key.WithKeys("down"), | ||
key.WithHelp("down", "move down"), | ||
), | ||
} | ||
|
||
var PipelineTableKeys = keyMap{ | ||
Enter: key.NewBinding( | ||
key.WithKeys("enter"), | ||
key.WithHelp("enter", "open"), | ||
), | ||
BuildDeploy: key.NewBinding( | ||
key.WithKeys("ctrl+n"), | ||
key.WithHelp("ctrl+n", "build-deploy"), | ||
), | ||
Refresh: key.NewBinding( | ||
key.WithKeys("ctrl+r"), | ||
key.WithHelp("ctrl+r", "refresh"), | ||
), | ||
Up: key.NewBinding( | ||
key.WithKeys("up"), | ||
key.WithHelp("up", "move up"), | ||
), | ||
Down: key.NewBinding( | ||
key.WithKeys("down"), | ||
key.WithHelp("down", "move down"), | ||
), | ||
Esc: key.NewBinding( | ||
key.WithKeys("esc"), | ||
key.WithHelp("esc", "back"), | ||
), | ||
} | ||
|
||
var BuildDeployFormKeys = keyMap{ | ||
Esc: key.NewBinding( | ||
key.WithKeys("esc"), | ||
key.WithHelp("esc", "back"), | ||
), | ||
Refresh: key.NewBinding( | ||
key.WithKeys("ctrl+r"), | ||
key.WithHelp("ctrl+r", "refresh"), | ||
), | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package applicationTable | ||
package applicationtable | ||
|
||
import ( | ||
"github.com/FredrikMWold/radix-tui/commands" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package applicationTable | ||
package applicationtable | ||
|
||
import ( | ||
"github.com/FredrikMWold/radix-tui/commands" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package applicationTable | ||
package applicationtable | ||
|
||
import ( | ||
"github.com/FredrikMWold/radix-tui/styles" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package environmentTable | ||
package environmenttable | ||
|
||
import ( | ||
"github.com/FredrikMWold/radix-tui/commands" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package environmentTable | ||
package environmenttable | ||
|
||
import ( | ||
"github.com/FredrikMWold/radix-tui/styles" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package pipelineForm | ||
package pipelineform | ||
|
||
import ( | ||
"github.com/charmbracelet/huh" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package pipelineForm | ||
package pipelineform | ||
|
||
import ( | ||
"github.com/FredrikMWold/radix-tui/commands" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package pipelineTable | ||
package pipelinetable | ||
|
||
import ( | ||
"github.com/FredrikMWold/radix-tui/commands" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package pipelineTable | ||
package pipelinetable | ||
|
||
import ( | ||
"fmt" | ||
|