From 7850a9e78abf2664ea91b6a6fd32a4835e082f1c Mon Sep 17 00:00:00 2001 From: Eva Martin del Pico Date: Tue, 1 Oct 2024 11:46:09 +0200 Subject: [PATCH 1/2] fix: pull request --- .../observatory/evaluation/Export/ExportContentCardPull.vue | 3 +++ components/observatory/evaluation/GitHub/DialogAppInstall.vue | 2 +- components/observatory/evaluation/GitHub/GitHubInput.vue | 3 +++ 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/components/observatory/evaluation/Export/ExportContentCardPull.vue b/components/observatory/evaluation/Export/ExportContentCardPull.vue index af1f0026..5a4fdcea 100644 --- a/components/observatory/evaluation/Export/ExportContentCardPull.vue +++ b/components/observatory/evaluation/Export/ExportContentCardPull.vue @@ -99,6 +99,7 @@ :initial-dialog-app-install="dialogAppInstall" :title="installDialogParameters.title" :text="installDialogParameters.text" + :installation-url="installDialogParameters.installationURL" @cancel="cancel" @ready="createPR" /> @@ -177,6 +178,8 @@ export default { }, }, installDialogParameters: { + installationURL: + 'https://github.com/apps/metadata-updater-for-fairsoft/installations/select_target', title: 'Unable to create a pull request', text: 'Let the FAIRsoft Evaluator create a branch, create a citation file and make a pull request in the repository by grantting the Metadata Updater for FAIRsoft GitHub App the necessary permissions.', }, diff --git a/components/observatory/evaluation/GitHub/DialogAppInstall.vue b/components/observatory/evaluation/GitHub/DialogAppInstall.vue index 67d1d3fc..71a82017 100644 --- a/components/observatory/evaluation/GitHub/DialogAppInstall.vue +++ b/components/observatory/evaluation/GitHub/DialogAppInstall.vue @@ -23,7 +23,7 @@ import { mapGetters } from 'vuex'; export default { name: 'DialogAppInstall', - props: ['title', 'text', 'initialDialogAppInstall'], + props: ['title', 'text', 'initialDialogAppInstall', 'installationURL'], computed: { ...mapGetters('observatory/evaluation/github/', { importProgressText: 'getImportProgressText', diff --git a/components/observatory/evaluation/GitHub/GitHubInput.vue b/components/observatory/evaluation/GitHub/GitHubInput.vue index 09efe621..066c6a71 100644 --- a/components/observatory/evaluation/GitHub/GitHubInput.vue +++ b/components/observatory/evaluation/GitHub/GitHubInput.vue @@ -47,6 +47,7 @@ :initial-dialog-app-install="dialogAppInstall" :title="installDialogParameters.title" :text="installDialogParameters.text" + :installation-url="installDialogParameters.installationURL" @cancel="cancel" @ready="fetchMetadata" /> @@ -86,6 +87,8 @@ export default { }, ], installDialogParameters: { + installationURL: + 'https://github.com/apps/metadata-extractor-for-fairsoft/installations/select_target', title: "Unable to access repository's metadata.", text: 'Let the FAIRsoft Evaluator access the requested repositories metadata by grantting the Metadata Extractor for FAIRsoft GitHub App the necessary permissions.', }, From d87893dc8c9c8c2fd886c9f6b9300fd6d6ef86a7 Mon Sep 17 00:00:00 2001 From: Eva Martin del Pico Date: Tue, 1 Oct 2024 11:51:18 +0200 Subject: [PATCH 2/2] fix: citation download --- .../evaluation/Export/ExportCitationCardDownload.vue | 9 ++++----- .../observatory/evaluation/Results/CitationActions.vue | 2 +- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/components/observatory/evaluation/Export/ExportCitationCardDownload.vue b/components/observatory/evaluation/Export/ExportCitationCardDownload.vue index f8236a9b..d84e9feb 100644 --- a/components/observatory/evaluation/Export/ExportCitationCardDownload.vue +++ b/components/observatory/evaluation/Export/ExportCitationCardDownload.vue @@ -35,31 +35,30 @@