Skip to content

Commit e6daa46

Browse files
committed
ellipsis updates
1 parent 0e98f56 commit e6daa46

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

api/internal/managers/infra/install.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,7 @@ func (m *infraManager) installAddOns(ctx context.Context, license *kotsv1beta1.L
273273

274274
// if in progress, update the overall status to reflect the current component
275275
if progress.Status.State == types.StateRunning {
276-
m.setStatusDesc(fmt.Sprintf("%s %s", progress.Status.Description, progress.Name))
276+
m.setStatusDesc(fmt.Sprintf("%s %s...", progress.Status.Description, progress.Name))
277277
}
278278

279279
// update the status for the current component

web/src/components/wizard/installation/InstallationProgress.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ const InstallationProgress: React.FC<InstallationProgressProps> = ({
1414
status
1515
}) => {
1616
const displayMessage = () => {
17-
if (!currentMessage) return 'Preparing installation';
18-
return status === 'Running' ? `${currentMessage}` : currentMessage;
17+
if (!currentMessage) return 'Preparing installation...';
18+
return status === 'Running' ? `${currentMessage}` : currentMessage;
1919
};
2020

2121
return (

web/src/components/wizard/installation/StatusIndicator.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ const StatusIndicator: React.FC<StatusIndicatorProps> = ({ title, status, themeC
2626
case 'Running':
2727
Icon = Loader2;
2828
statusColor = themeColor;
29-
statusText = 'Installing';
29+
statusText = 'Installing...';
3030
break;
3131
default:
3232
Icon = AlertTriangle;

web/src/components/wizard/tests/InstallationStep.test.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ const server = setupServer(
1111
// Mock installation status endpoint
1212
http.get("*/api/install/infra/status", () => {
1313
return HttpResponse.json({
14-
status: { state: "Running", description: "Installing" },
14+
status: { state: "Running", description: "Installing..." },
1515
components: [
1616
{ name: "Runtime", status: { state: "Pending" } },
1717
{ name: "Disaster Recovery", status: { state: "Pending" } }
@@ -57,11 +57,11 @@ describe("InstallationStep", () => {
5757
expect(screen.getByText("Installing infrastructure components")).toBeInTheDocument();
5858

5959
// Check progress and status indicators
60-
expect(screen.getByText("Preparing installation")).toBeInTheDocument();
60+
expect(screen.getByText("Preparing installation...")).toBeInTheDocument();
6161

6262
// Wait for progress update
6363
await waitFor(() => {
64-
expect(screen.getByText("Installing")).toBeInTheDocument();
64+
expect(screen.getByText("Installing...")).toBeInTheDocument();
6565
});
6666

6767
// Verify Runtime component
@@ -121,7 +121,7 @@ describe("InstallationStep", () => {
121121
const drContainer = screen.getByTestId("status-indicator-disaster-recovery");
122122
expect(drContainer).toBeInTheDocument();
123123
expect(within(drContainer).getByTestId("status-title")).toHaveTextContent("Disaster Recovery");
124-
expect(within(drContainer).getByTestId("status-text")).toHaveTextContent("Installing");
124+
expect(within(drContainer).getByTestId("status-text")).toHaveTextContent("Installing...");
125125

126126
// Next button should still be disabled
127127
expect(screen.getByText("Next: Finish")).toBeDisabled();

0 commit comments

Comments
 (0)