mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Adding ellipsis to every Check for Updates items
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
This commit is contained in:
parent
bd3112adb9
commit
fa842c1d91
@ -28,7 +28,7 @@ const checkForUpdatesMenuItemInjectable = getInjectable({
|
||||
id: "check-for-updates",
|
||||
parentId: isMac ? "mac" : "help",
|
||||
orderNumber: isMac ? 20 : 50,
|
||||
label: "Check for Updates",
|
||||
label: "Check for Updates...",
|
||||
isShown: updatingIsEnabled,
|
||||
|
||||
onClick: () => {
|
||||
|
||||
@ -177,7 +177,7 @@ describe("installing update using tray", () => {
|
||||
it("name of tray item for checking updates no longer indicates that checking is happening", () => {
|
||||
expect(
|
||||
builder.tray.get("check-for-updates")?.label,
|
||||
).toBe("Check for Updates");
|
||||
).toBe("Check for Updates...");
|
||||
});
|
||||
|
||||
it("renders", () => {
|
||||
@ -241,7 +241,7 @@ describe("installing update using tray", () => {
|
||||
it("name of tray item for checking updates no longer indicates that downloading is happening", () => {
|
||||
expect(
|
||||
builder.tray.get("check-for-updates")?.label,
|
||||
).toBe("Check for Updates");
|
||||
).toBe("Check for Updates...");
|
||||
});
|
||||
|
||||
it("renders", () => {
|
||||
@ -269,7 +269,7 @@ describe("installing update using tray", () => {
|
||||
it("name of tray item for checking updates no longer indicates that downloading is happening", () => {
|
||||
expect(
|
||||
builder.tray.get("check-for-updates")?.label,
|
||||
).toBe("Check for Updates");
|
||||
).toBe("Check for Updates...");
|
||||
});
|
||||
|
||||
it("renders", () => {
|
||||
|
||||
@ -50,7 +50,7 @@ const checkForUpdatesTrayItemInjectable = getInjectable({
|
||||
return "Checking for Updates...";
|
||||
}
|
||||
|
||||
return "Check for Updates";
|
||||
return "Check for Updates...";
|
||||
}),
|
||||
|
||||
enabled: computed(() => !checkingForUpdatesState.value.get() && !downloadingUpdateState.value.get()),
|
||||
|
||||
Loading…
Reference in New Issue
Block a user