Change commit browse icon tooltip

This commit is contained in:
Sebastian Martinez
2024-03-15 15:30:58 +01:00
committed by Rūdolfs Ošiņš
parent 999c292b1d
commit b7b9370709
8 changed files with 8 additions and 8 deletions
+1 -1
View File
@@ -440,7 +440,7 @@
path: filePath,
revision,
}}>
<IconButton title="View file">
<IconButton title="View file at this commit">
<IconSmall name="chevron-left-right" />
</IconButton>
</Link>
@@ -61,7 +61,7 @@
path: newPath,
revision,
}}>
<IconButton title="View file">
<IconButton title="View file at this commit">
<IconSmall name="chevron-left-right" />
</IconButton>
</Link>
@@ -82,7 +82,7 @@
<div style:margin-bottom="1rem">
<CompactCommitAuthorship {commit} />
</div>
<IconButton title="Browse the repository at this point in the history">
<IconButton title="Browse repo at this commit">
<Link
route={{
resource: "project.source",
+1 -1
View File
@@ -58,7 +58,7 @@
path: "/",
revision: commit.commit.id,
}}>
<Button variant="outline" title="View tree">
<Button variant="outline" title="Browse repo at this commit">
<IconSmall name="chevron-left-right" />
</Button>
</Link>
@@ -91,7 +91,7 @@
</div>
<div class="right">
<div style:display="flex" style:gap="1rem" style:height="1.5rem">
<IconButton title="Browse the repository at this point in the history">
<IconButton title="Browse repo at this commit">
<Link
route={{
resource: "project.source",
+1 -1
View File
@@ -59,7 +59,7 @@ test("show source tree at specific revision", async ({ page }) => {
await page
.locator(".teaser", { hasText: "335dd6d" })
.getByRole("button", {
name: "Browse the repository at this point in the history",
name: "Browse repo at this commit",
})
.click();
+1 -1
View File
@@ -112,7 +112,7 @@ test("navigation to source tree at specific revision", async ({ page }) => {
);
// Go to source tree at this revision.
await page.getByTitle("View file").click();
await page.getByTitle("View file at this commit").click();
await expect(
page.getByText("Add a deeply nested directory tree"),
).toBeVisible();
+1 -1
View File
@@ -128,7 +128,7 @@ test("view file navigation from changes tab", async ({ page }) => {
await page.getByRole("link", { name: "Add subtitle to README" }).click();
await page.getByRole("link", { name: "Changes" }).click();
await page.getByRole("button", { name: "Changes" }).click();
await page.getByRole("button", { name: "View file" }).click();
await page.getByRole("button", { name: "View file at this commit" }).click();
await expect(page).toHaveURL(
`${cobUrl}/tree/8c900d6cb38811e099efb3cbbdbfaba817bcf970/README.md`,
);