Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions web/package/agama-web-ui.changes
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Jun 26 15:57:52 UTC 2024 - Imobach Gonzalez Sosa <igonzalezsosa@suse.com>

- Display the installation progress when connecting in the middle
of the process (gh#openSUSE/agama#1394).

-------------------------------------------------------------------
Wed Jun 26 14:17:30 UTC 2024 - David Diaz <dgonzalez@suse.com>

Expand Down
11 changes: 2 additions & 9 deletions web/src/components/core/InstallationProgress.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,21 +20,14 @@
*/

import React from "react";
import { useProduct } from "~/context/product";
import { sprintf } from "sprintf-js";
import { _ } from "~/i18n";
import ProgressReport from "./ProgressReport";
import SimpleLayout from "~/SimpleLayout";

function InstallationProgress() {
const { selectedProduct } = useProduct();
console.log("INSTALATION ISSUE");

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is this needed?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ouch, fixed


if (!selectedProduct) {
return;
}

// TRANSLATORS: %s is replaced by a product name (e.g., openSUSE Tumbleweed)
const title = sprintf(_("Installing %s, please wait ..."), selectedProduct.name);
const title = _("Installing the system, please wait ...");
return (
<SimpleLayout showOutlet={false}>
<ProgressReport title={title} />
Expand Down