you can navigate using the repo name and owner name lol
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user