Documentation ¶
Overview ¶
Package tui implements all the fron-end logic for a Terminal User Interface of the DeepSquare client.
The TUI uses the [bubbletea framework](https://github.com/charmbracelet/bubbletea) to build the terminal application.
Directories ¶
Path | Synopsis |
---|---|
Package channel provides utilities to create an Bubbletea model compatible with Go channels.
|
Package channel provides utilities to create an Bubbletea model compatible with Go channels. |
components
|
|
table
Package table is a forked bubbletea component with support single cell styling.
|
Package table is a forked bubbletea component with support single cell styling. |
ticker
Package ticker contains the Model and Update function to work with a Go Ticker.
|
Package ticker contains the Model and Update function to work with a Go Ticker. |
Package editor contains the Model, View and Update functions for the workflow editor.
|
Package editor contains the Model, View and Update functions for the workflow editor. |
Package nav contains the Model, View and Update functions for the main navigator.
|
Package nav contains the Model, View and Update functions for the main navigator. |
Package provider contains the Model, View and Update functions to manage providers.
|
Package provider contains the Model, View and Update functions to manage providers. |
details
Package details contains the Model, View and Update functions for viewing the provider details.
|
Package details contains the Model, View and Update functions for viewing the provider details. |
Package status contains the Model, View and Update functions for the job statuses dashboard.
|
Package status contains the Model, View and Update functions for the job statuses dashboard. |
log
Package log contains the Model, View and Update functions for viewing the logs of a job.
|
Package log contains the Model, View and Update functions for viewing the logs of a job. |
topup
Package topup contains the Model, View and Update functions for submitting a top up request.
|
Package topup contains the Model, View and Update functions for submitting a top up request. |
Package style provides object for styling the TUI.
|
Package style provides object for styling the TUI. |
Package transfer contains the Model, View and Update functions for transferring credits between users.
|
Package transfer contains the Model, View and Update functions for transferring credits between users. |
Click to show internal directories.
Click to hide internal directories.