Skip to content

Commit

Permalink
refactor: ♻️ update on ui and issue dashboard text (#40)
Browse files Browse the repository at this point in the history
* feat: ✨ support for .cwl file checks

* refactor: update ui text and dashboard message
  • Loading branch information
slugb0t authored Jul 18, 2024
1 parent e3af52f commit 7dd90b7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bot/utils/renderer/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -530,7 +530,7 @@ export async function applyCWLTemplate(
url = `${CODEFAIR_DOMAIN}/add/cwl/${existingCWL.identifier}`;
}
const cwlBadge = `[![CWL](https://img.shields.io/badge/View_CWL_Report-0ea5e9.svg)](${url})`;
baseTemplate += `\n\n## CWL Standards ${isValidCWL ? "✔️" : "❌"}\n\nA ${isValidCWL ? "valid" : "invalid"} CWL file is found in the root of the repository.\n\n${isValidCWL ? "" : cwlBadge}`;
baseTemplate += `\n\n## CWL Standards ${isValidCWL ? "✔️" : "❌"}\n\n${isValidCWL ? "A valid" : "An invalid"} CWL file is found in the root of the repository.\n\n${isValidCWL ? "" : cwlBadge}`;
break;
}
}
Expand Down
2 changes: 1 addition & 1 deletion ui/pages/add/cwl/[identifier].vue
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ const navigateToPR = () => {
<n-flex vertical size="large" class="pb-5">
<div class="flex flex-row justify-between">
<h1 class="text-2xl font-bold">
Edit .cwl file for
CWL validation report for
<NuxtLink
:to="`https://github.com/${githubRepo}`"
target="_blank"
Expand Down

0 comments on commit 7dd90b7

Please sign in to comment.