-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: split related topics into related software and projects sec…
…tions on software and project edit pages
- Loading branch information
1 parent
26273ad
commit 198c4cf
Showing
30 changed files
with
441 additions
and
617 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 2 additions & 0 deletions
2
...jects/edit/related/FindRelatedProject.tsx → ...t/related-projects/FindRelatedProject.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 2 additions & 0 deletions
2
...jects/edit/related/RelatedProjectList.tsx → ...t/related-projects/RelatedProjectList.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
2 changes: 2 additions & 0 deletions
2
...__/relatedProjectsForProject.json.license → ...__/relatedProjectsForProject.json.license
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,7 @@ | ||
SPDX-FileCopyrightText: 2023 Dusan Mijatovic (Netherlands eScience Center) | ||
SPDX-FileCopyrightText: 2023 Dusan Mijatovic (dv4all) | ||
SPDX-FileCopyrightText: 2023 Dusan Mijatovic (dv4all) (dv4all) | ||
SPDX-FileCopyrightText: 2023 Netherlands eScience Center | ||
SPDX-FileCopyrightText: 2023 dv4all | ||
|
||
SPDX-License-Identifier: Apache-2.0 |
18 changes: 18 additions & 0 deletions
18
frontend/components/projects/edit/related-projects/config.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
// SPDX-FileCopyrightText: 2022 Dusan Mijatovic (dv4all) | ||
// SPDX-FileCopyrightText: 2022 dv4all | ||
// SPDX-FileCopyrightText: 2023 Dusan Mijatovic (Netherlands eScience Center) | ||
// SPDX-FileCopyrightText: 2023 Netherlands eScience Center | ||
// | ||
// SPDX-License-Identifier: Apache-2.0 | ||
|
||
export const relatedProject = { | ||
title: 'Related projects', | ||
subtitle: 'This project is related to these projects registered in RSD', | ||
findTitle: 'Find project', | ||
label: 'Find related projects in RSD', | ||
help: 'Start typing for suggestions', | ||
validation: { | ||
//custom validation rule, not in used by react-hook-form | ||
minLength: 1, | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.