Radish alpha
r
rad:z4V1sjrXqjvFdnCUbxPFqd5p4DtH5
Radicle web interface
Radicle
Git
Change commit browse icon tooltip
Merged did:key:z6MkkfM3...sVz5 opened 2 years ago
8 files changed +8 -8 999c292b b7b93707
modified src/views/projects/Changeset/FileDiff.svelte
@@ -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>
modified src/views/projects/Changeset/FileLocationChange.svelte
@@ -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>
modified src/views/projects/Cob/CobCommitTeaser.svelte
@@ -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",
modified src/views/projects/Commit.svelte
@@ -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>
modified src/views/projects/Commit/CommitTeaser.svelte
@@ -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",
modified tests/e2e/project.spec.ts
@@ -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();

modified tests/e2e/project/commit.spec.ts
@@ -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();
modified tests/e2e/project/patch.spec.ts
@@ -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`,
  );