you can navigate using the repo name and owner name lol

This commit is contained in:
2026-02-06 07:45:04 +11:00
parent 5b75e13950
commit 7956361044
4 changed files with 10 additions and 5 deletions

View File

@@ -1,10 +1,14 @@
from textual.app import App, ComposeResult
from screens.welcome_screen import WelcomeScreen
from screens.repo_view_screen import RepoViewScreen
class TuiGithub(App):
GITEA_HOST = "https://chookspace.com/"
def action_view_repo(self, author: str, repo_name: str):
self.switch_screen(RepoViewScreen(author, repo_name))
def on_compose(self):
self.push_screen(WelcomeScreen())