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

@@ -306,7 +306,7 @@ class RepoViewScreen(Screen):
with VerticalGroup(id="top"):
with HorizontalGroup():
yield Static(f" {self.owner_name}/[b]{self.repo_name}[/]", id="title")
yield Static(f" [@click=app.view_user('{self.owner_name}')]{self.owner_name}[/]/[b @click=app.view_repo('{self.owner_name}','{self.repo_name}')]{self.repo_name}[/]", id="title")
with Right(id="buttons"):
yield Button(f"\uf005 Star [d]({data["stars_count"]})", variant="warning", flat=True)
yield Button(f"\uf418 Fork [d]({data["forks_count"]})", variant="primary", flat=True)