feat(web): open a repository from anywhere on its row
The cards on the repository page already opened as a whole, but the tables on the organisation and overview pages still only linked the name, so the same object behaved differently depending on where it was listed. A table row can now carry a destination. Controls inside it keep their own behaviour, the row is reachable with the keyboard, and only the empty space navigates. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
4 files changed
+38
-8
No files matched your search
@@ -96,6 +96,7 @@ function giteaCard(gitea) {
|
||||
},
|
||||
],
|
||||
gitea.repositories,
|
||||
{ rowHref: (repository) => `#/repos/${repository.fullName}` },
|
||||
),
|
||||
);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user