feat(FN-3301): render commit body in expanded git views

Completes the commit body rendering in expanded git views within `GitManagerModal`, including updated component implementation and tests. The dashboard git routes and modal component now properly display full commit body content.

Fusion-Task-Id: FN-3301
This commit is contained in:
Fusion
2026-05-04 22:04:35 -07:00
committed by gsxdsm
parent 7e8ad8b2c3
commit 1655ef578f
5 changed files with 116 additions and 61 deletions

View File

@@ -387,6 +387,9 @@ describe("Git Management endpoints", () => {
expect(res.body[0]).toHaveProperty("message");
expect(res.body[0]).toHaveProperty("author");
expect(res.body[0]).toHaveProperty("date");
if ("body" in res.body[0] && res.body[0].body !== undefined) {
expect(typeof res.body[0].body).toBe("string");
}
}
});
@@ -550,6 +553,9 @@ describe("Git Management endpoints", () => {
expect(commit).toHaveProperty("author");
expect(commit).toHaveProperty("date");
expect(commit).toHaveProperty("parents");
if ("body" in commit && commit.body !== undefined) {
expect(typeof commit.body).toBe("string");
}
}
});
@@ -593,6 +599,9 @@ describe("Git Management endpoints", () => {
expect(commit).toHaveProperty("author");
expect(commit).toHaveProperty("date");
expect(commit).toHaveProperty("parents");
if ("body" in commit && commit.body !== undefined) {
expect(typeof commit.body).toBe("string");
}
}
}
});