trading_agent.terminal.screens.apps_screen
¶
The Apps page: the packages' web apps, whether they answer, their systemd units, and start, stop, restart and open.
The web page shows an app inside the page; a terminal cannot, so o opens the app in the browser with xdg-open.
Typical usage example:
app.push_screen(AppsScreen('general'))
AppsScreen
¶
Bases: PageScreen
The Apps page.
Creates the page.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
desk_name
|
str
|
The desk the chat shows. |
required |
Source code in src/trading_agent/terminal/screens/apps_screen.py
compose_page
¶
on_mount
¶
refresh_page
async
¶
Reads the apps.
Source code in src/trading_agent/terminal/screens/apps_screen.py
action_open_app
¶
Opens the highlighted app in the browser.