Skip to content

chore: update first-time legacy message #3712

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 5 commits into from
Jun 4, 2025
Merged
Changes from 1 commit
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
27 changes: 13 additions & 14 deletions client/src/features/dashboard/components/ProjectsDashboard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ import ListBarSession from "../../../components/list/ListBarSessions";
import { SortingOptions } from "../../../components/sortingEntities/SortingEntities";
import { Notebook } from "../../../notebooks/components/session.types";
import { urlMap } from "../../../project/list/ProjectList.container";
import { Docs } from "../../../utils/constants/Docs";
import AppContext from "../../../utils/context/appContext";
import useAppDispatch from "../../../utils/customHooks/useAppDispatch.hook";
import useAppSelector from "../../../utils/customHooks/useAppSelector.hook";
Expand Down Expand Up @@ -80,36 +79,36 @@ function ProjectAlert({ total }: ProjectAlertProps) {
<strong>You do not have any projects yet.</strong>
</h3>
<p>
If you are here for your first time, we recommend you go to through
our{" "}
You are accessing the &quot;legacy&quot; version of Renku. If you are
here for your first time, we recommend you go to{" "}
<ExternalLink
role="text"
title="tutorial"
title="Renku 2.0"
className="fw-bold"
url={Docs.READ_THE_DOCS_TUTORIALS_STARTING}
url={"/"}
/>
. You can also{" "}
, and follow the{" "}
<ExternalLink
role="text"
title="create a new project"
url="/v1/projects/new"
title="hands-on tutorial"
url="https://renku.notion.site/Hands-On-Tutorial-1a50df2efafc800f8554e30fd7458fa6"
Copy link
Contributor

Choose a reason for hiding this comment

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

Please define this value as a constant in client/src/utils/constants/Docs.js
e.g. RENKU_2_HANDS_ON_TUTORIAL

className="fw-bold"
/>
,{" "}
. You may also{" "}
<ExternalLink
role="text"
title="explore other projects"
url="/v1/search"
url="/search"
className="fw-bold"
/>{" "}
or{" "}
or learn more about Renku features in our{" "}
<ExternalLink
role="text"
title="search"
url="/v1/search"
title="Community Portal"
url="https://renku.notion.site/Renku-Community-Portal-2a154d7d30b24ab8a5968c60c2592d87"
Copy link
Contributor

Choose a reason for hiding this comment

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

Please use the RENKU_2_COMMUNITY_PORTAL constant from client/src/utils/constants/Docs.js

className="fw-bold"
/>{" "}
for a specific project or dataset.
.
</p>
</div>
</InfoAlert>
Expand Down
Loading