Skip to content

feat: add banner sunsetting Renku Legacy #3721

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 7 commits into from
Jun 17, 2025
Merged
Show file tree
Hide file tree
Changes from all 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
2 changes: 2 additions & 0 deletions client/src/dataset/addtoproject/DatasetAdd.present.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ import { Button, ButtonGroup, Col, Row, Table } from "reactstrap";
import { ContainerWrap } from "../../App";
import { Loader } from "../../components/Loader";
import LoginAlert from "../../components/loginAlert/LoginAlert";
import SunsetBanner from "../../features/projectsV2/shared/SunsetV1Banner";
import useLegacySelector from "../../utils/customHooks/useLegacySelector.hook";
import { DatasetError } from "../DatasetError";
import { getDatasetAuthors } from "../DatasetFunctions";
Expand Down Expand Up @@ -110,6 +111,7 @@ function DatasetAddMainContent({
);
return (
<>
<SunsetBanner />
<ButtonGroup className="d-flex">
<Button
disabled={disabled}
Expand Down
2 changes: 2 additions & 0 deletions client/src/features/dashboard/Dashboard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
import LoginAlert from "../../components/loginAlert/LoginAlert";
import { SshModal } from "../../components/ssh/ssh";
import useLegacySelector from "../../utils/customHooks/useLegacySelector.hook";
import SunsetBanner from "../projectsV2/shared/SunsetV1Banner";
import DashboardMessage from "./components/DashboardMessage";
import { DatasetDashboard } from "./components/DatasetsDashboard";
import ProjectsInactiveKGWarning from "./components/InactiveKgProjects";
Expand Down Expand Up @@ -50,6 +51,7 @@ export default function Dashboard() {
<div className="rk-dashboard">
<h1 data-cy="dashboard-title">Renku Dashboard - {user.data.name}</h1>
<DashboardMessage />
<SunsetBanner />
<ProjectsInactiveKGWarning />
<ProjectsDashboard />
<DatasetDashboard />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ import ProgressIndicator, {
import useAppDispatch from "../../../utils/customHooks/useAppDispatch.hook";
import useLegacySelector from "../../../utils/customHooks/useLegacySelector.hook";
import { Url } from "../../../utils/helpers/url";
import SunsetBanner from "../../projectsV2/shared/SunsetV1Banner";
import type { IDatasetFiles, StateModelProject } from "../project.types";
import type {
DatasetModifyDisplayProps,
Expand Down Expand Up @@ -218,6 +219,7 @@ function ProjectDatasetNew(
}
>
<div className="d-flex flex-column">
<SunsetBanner />
<div className="form-rk-pink d-flex flex-column">
<AddDatasetButtons
optionSelected="addDataset"
Expand Down
32 changes: 32 additions & 0 deletions client/src/features/projectsV2/shared/SunsetV1Banner.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
import cx from "classnames";
import { ArrowRight, BoxArrowUpRight } from "react-bootstrap-icons";
import { Link } from "react-router";
import { WarnAlert } from "../../../components/Alert";
import { ABSOLUTE_ROUTES } from "../../../routing/routes.constants";
import SunsetV1Button from "./SunsetV1Button";

export default function SunsetBanner() {
return (
<WarnAlert>
<h4>New project creation ends July 15</h4>
Copy link
Member

Choose a reason for hiding this comment

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

This is true only on RenkuLab.io. How do we expect this change to be released on other Renku platforms?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I thought this would apply to all Renku deployments. Could you clarify what you mean by "other Renku platforms"?

Copy link
Member

Choose a reason for hiding this comment

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

Not all Renku deployments will follow our schedule wrt. release rollouts and when the project creation in Renku Legacy will be blocked. It is down to Renku admins to decide when this happens; we do not have remote control over v1 project creation.

<p>
You won’t be able to create new projects or datasets in Renku Legacy
after July 15, 2025. This is in preparation for Renku Legacy being fully
discontinued in October 2025. Our transition guide will help walk you
through migrating to Renku 2.0 for enhanced features and continued
access to your work.
</p>
<Link
to={ABSOLUTE_ROUTES.v2.root}
className={cx("btn", "btn-sm", "btn-warning", "me-2")}
>
Go to Renku 2.0
<ArrowRight className={cx("bi", "ms-1")} />
</Link>
<SunsetV1Button outline color="warning">
View transition guide
<BoxArrowUpRight className="bi ms-1" />
</SunsetV1Button>
</WarnAlert>
);
}
1 change: 1 addition & 0 deletions client/src/features/projectsV2/shared/SunsetV1Button.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ export default function SunsetV1Button({
)}
role={outline ? "button" : "link"}
url="https://blog.renkulab.io/sunsetting-legacy"
color={outline ? `outline-${color}` : color}
>
{children}
</ExternalLink>
Expand Down
2 changes: 2 additions & 0 deletions client/src/project/datasets/import/DatasetImport.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ import ProgressIndicator, {
ProgressType,
} from "../../../components/progress/Progress";
import { useCoreSupport } from "../../../features/project/useProjectCoreSupport";
import SunsetBanner from "../../../features/projectsV2/shared/SunsetV1Banner";
import { ImportStateMessage } from "../../../utils/constants/Dataset";
import useLegacySelector from "../../../utils/customHooks/useLegacySelector.hook";

Expand Down Expand Up @@ -155,6 +156,7 @@ function DatasetImportForm(
return (
<FormSchema showHeader={true} title="Import Dataset" description={desc}>
<div className="form-rk-pink d-flex flex-column">
<SunsetBanner />
<AddDatasetButtons
optionSelected="importDataset"
toggleNewDataset={props.toggleNewDataset}
Expand Down
2 changes: 2 additions & 0 deletions client/src/project/new/ProjectNew.present.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ import ProgressIndicator, {
ProgressStyle,
ProgressType,
} from "../../components/progress/Progress";
import SunsetBanner from "../../features/projectsV2/shared/SunsetV1Banner";
import Automated from "./components/Automated";
import Title from "./components/Title";
import Description from "./components/Description";
Expand Down Expand Up @@ -408,6 +409,7 @@ class NewProject extends Component {
return !importingDataset ? (
<FormSchema showHeader={!formOnProcess} title={title} description={desc}>
{creation}
<SunsetBanner />
{form}
</FormSchema>
) : (
Expand Down
Loading