From 1c43c746df23e29c3402805ddf755dee76e44e6e Mon Sep 17 00:00:00 2001 From: Faruk D Date: Mon, 29 Aug 2022 14:15:19 +0200 Subject: [PATCH 01/10] update field names in author info dialog --- src/components/AuthorCardEditing.vue | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/components/AuthorCardEditing.vue b/src/components/AuthorCardEditing.vue index da6c8190..2873ac75 100644 --- a/src/components/AuthorCardEditing.vue +++ b/src/components/AuthorCardEditing.vue @@ -274,7 +274,7 @@ export default defineComponent({ title: 'given-names', url: [ { - text: 'Click here to see the documentation for name.', + text: 'Click here to see the documentation for given-names.', link: 'https://github.com/citation-file-format/citation-file-format/blob/1.2.0/schema-guide.md#definitionspersongiven-names' } ], @@ -288,23 +288,23 @@ export default defineComponent({ title: 'name-particle, family-names, name-suffix', url: [ { - text: 'Click here to see the documentation for name particle.', + text: 'Click here to see the documentation for name-particle.', link: 'https://github.com/citation-file-format/citation-file-format/blob/1.2.0/schema-guide.md#definitionspersonname-particle' }, { - text: 'Click here to see the documentation for family name.', + text: 'Click here to see the documentation for family-name.', link: 'https://github.com/citation-file-format/citation-file-format/blob/1.2.0/schema-guide.md#definitionspersonfamily-names' }, { - text: 'Click here to see the documentation for name suffix.', + text: 'Click here to see the documentation for name-suffix.', link: 'https://github.com/citation-file-format/citation-file-format/blob/1.2.0/schema-guide.md#definitionspersonname-suffix' } ], description: 'The person\'s last names, split into parts.', examples: [ - 'name particle: von', - 'family name: Doe', - 'name suffix: Jr.' + 'name-particle: von', + 'family-name: Doe', + 'name-suffix: Jr.' ] }, email: { From a79dbecf658a029667901e928fdea36fcdfe2675 Mon Sep 17 00:00:00 2001 From: Faruk D Date: Mon, 29 Aug 2022 14:25:33 +0200 Subject: [PATCH 02/10] fix url format for IdentifierCardEditing --- src/components/IdentifierCardEditing.vue | 35 ++++++++++++++++++++---- 1 file changed, 30 insertions(+), 5 deletions(-) diff --git a/src/components/IdentifierCardEditing.vue b/src/components/IdentifierCardEditing.vue index 6c5b5217..571a7eed 100644 --- a/src/components/IdentifierCardEditing.vue +++ b/src/components/IdentifierCardEditing.vue @@ -138,7 +138,12 @@ export default defineComponent({ const helpData = { doi: { title: 'doi', - url: 'https://github.com/citation-file-format/citation-file-format/blob/1.2.0/schema-guide.md#definitionsdoi', + url: [ + { + text: 'Click here to see the documentation for doi.', + link: 'https://github.com/citation-file-format/citation-file-format/blob/1.2.0/schema-guide.md#definitionsdoi' + } + ], description: 'The DOI (https://en.wikipedia.org/wiki/Digital_object_identifier) of the work.', examples: [ '10.5281/zenodo.1003150' @@ -146,7 +151,12 @@ export default defineComponent({ }, url: { title: 'url', - url: 'https://github.com/citation-file-format/citation-file-format/blob/1.2.0/schema-guide.md#definitionsurl', + url: [ + { + text: 'Click here to see the documentation for url.', + link: 'https://github.com/citation-file-format/citation-file-format/blob/1.2.0/schema-guide.md#definitionsurl' + } + ], description: 'A URL.', examples: [ 'https://research-software-project.org', @@ -157,7 +167,12 @@ export default defineComponent({ }, swh: { title: 'swh', - url: 'https://github.com/citation-file-format/citation-file-format/blob/1.2.0/schema-guide.md#definitionsswh-identifier', + url: [ + { + text: 'Click here to see the documentation for swh.', + link: 'https://github.com/citation-file-format/citation-file-format/blob/1.2.0/schema-guide.md#definitionsswh-identifier' + } + ], description: 'The Software Heritage identifier (https://www.softwareheritage.org/).', examples: [ 'swh:1:rev:309cf2674ee7a0749978cf8265ab91a60aea0f7d' @@ -165,7 +180,12 @@ export default defineComponent({ }, other: { title: 'other', - url: 'https://github.com/citation-file-format/citation-file-format/blob/1.2.0/schema-guide.md#definitionsidentifier', + url: [ + { + text: 'Click here to see the documentation for other.', + link: 'https://github.com/citation-file-format/citation-file-format/blob/1.2.0/schema-guide.md#definitionsidentifier' + } + ], description: 'An identifier that does not fit in the other categories.', examples: [ 'arXiv:2103.06681' @@ -173,7 +193,12 @@ export default defineComponent({ }, description: { title: 'description', - url: 'https://github.com/citation-file-format/citation-file-format/blob/1.2.0/schema-guide.md#definitionsidentifier-description', + url: [ + { + text: 'Click here to see the documentation for description.', + link: 'https://github.com/citation-file-format/citation-file-format/blob/1.2.0/schema-guide.md#definitionsidentifier-description' + } + ], description: 'A description of the identifier.', examples: [ 'The concept DOI of the work.', From f5bf501a4c7ea695f6fbe5d5c5316eeb9d34b0f6 Mon Sep 17 00:00:00 2001 From: Faruk D Date: Mon, 29 Aug 2022 14:26:54 +0200 Subject: [PATCH 03/10] fix url format for ScreenAbstract --- src/components/ScreenAbstract.vue | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/components/ScreenAbstract.vue b/src/components/ScreenAbstract.vue index f1e1ef3c..bb7af0c4 100644 --- a/src/components/ScreenAbstract.vue +++ b/src/components/ScreenAbstract.vue @@ -49,7 +49,12 @@ export default defineComponent({ const helpData = { abstract: { title: 'abstract', - url: 'https://github.com/citation-file-format/citation-file-format/blob/1.2.0/schema-guide.md#abstract', + url: [ + { + text: 'Click here to see the documentation for abstract.', + link: 'https://github.com/citation-file-format/citation-file-format/blob/1.2.0/schema-guide.md#abstract' + } + ], description: 'A description or summary of the work.' } } From d1dbb59bbe3081f9ac78a1ef735e5469100e14c7 Mon Sep 17 00:00:00 2001 From: Faruk D Date: Mon, 29 Aug 2022 14:27:54 +0200 Subject: [PATCH 04/10] fix url format for ScreenIdentifiers --- src/components/ScreenIdentifiers.vue | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/components/ScreenIdentifiers.vue b/src/components/ScreenIdentifiers.vue index 118a794a..d6c98f8b 100644 --- a/src/components/ScreenIdentifiers.vue +++ b/src/components/ScreenIdentifiers.vue @@ -180,7 +180,12 @@ export default defineComponent({ const helpData = { identifiers: { title: 'identifiers', - url: 'https://github.com/citation-file-format/citation-file-format/blob/1.2.0/schema-guide.md#identifiers', + url: [ + { + text: 'Click here to see the documentation for identifiers.', + link: 'https://github.com/citation-file-format/citation-file-format/blob/1.2.0/schema-guide.md#identifiers' + } + ], description: 'The identifiers of the work, such as DOIs, Software Heritage deposits, and URLs for relevant objects.', examples: [ 'DOI: 10.5281/zenodo.1003149 - The concept DOI of the work', From 31d1d83d8fcb2289e6ff552bd22e342b8051411d Mon Sep 17 00:00:00 2001 From: Faruk D Date: Mon, 29 Aug 2022 14:28:42 +0200 Subject: [PATCH 05/10] fix url format for ScreenKeywords --- src/components/ScreenKeywords.vue | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/components/ScreenKeywords.vue b/src/components/ScreenKeywords.vue index 1ac8f001..7790b9a7 100644 --- a/src/components/ScreenKeywords.vue +++ b/src/components/ScreenKeywords.vue @@ -123,7 +123,12 @@ export default defineComponent({ const helpData = { keywords: { title: 'keywords', - url: 'https://github.com/citation-file-format/citation-file-format/blob/1.2.0/schema-guide.md#keywords', + url: [ + { + text: 'Click here to see the documentation for keywords.', + link: 'https://github.com/citation-file-format/citation-file-format/blob/1.2.0/schema-guide.md#keywords' + } + ], description: 'Keywords that describe the work.', examples: [ 'keyword', From e46501238e15911e4ffc99b2b98978955d8bd751 Mon Sep 17 00:00:00 2001 From: Faruk D Date: Mon, 29 Aug 2022 14:29:57 +0200 Subject: [PATCH 06/10] fix url format for ScreenLicense --- src/components/ScreenLicense.vue | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/components/ScreenLicense.vue b/src/components/ScreenLicense.vue index 1259f5af..9d903240 100644 --- a/src/components/ScreenLicense.vue +++ b/src/components/ScreenLicense.vue @@ -65,7 +65,12 @@ export default defineComponent({ const helpData = { license: { title: 'license', - url: 'https://github.com/citation-file-format/citation-file-format/blob/1.2.0/schema-guide.md#license', + url: [ + { + text: 'Click here to see the documentation for license.', + link: 'https://github.com/citation-file-format/citation-file-format/blob/1.2.0/schema-guide.md#license' + } + ], description: 'The SPDX license identifier for the license under which the work is available.', examples: [ 'Apache-2.0', From f01f46740e76cf3f61e4a28476348717056f172b Mon Sep 17 00:00:00 2001 From: Faruk D Date: Mon, 29 Aug 2022 14:32:09 +0200 Subject: [PATCH 07/10] fix url format for ScreenRelatedResources --- src/components/ScreenRelatedResources.vue | 28 +++++++++++++++++++---- 1 file changed, 24 insertions(+), 4 deletions(-) diff --git a/src/components/ScreenRelatedResources.vue b/src/components/ScreenRelatedResources.vue index b47fa5ec..a29ed48e 100644 --- a/src/components/ScreenRelatedResources.vue +++ b/src/components/ScreenRelatedResources.vue @@ -162,7 +162,12 @@ export default defineComponent({ const helpData = { repository: { title: 'repository', - url: 'https://github.com/citation-file-format/citation-file-format/blob/1.2.0/schema-guide.md#repository', + url: [ + { + text: 'Click here to see the documentation for repository.', + link: 'https://github.com/citation-file-format/citation-file-format/blob/1.2.0/schema-guide.md#repository' + } + ], description: 'URL of the work in a repository/archive that is neither a source code repository nor a build artifact repository', examples: [ 'https://ascl.net/2105.013' @@ -170,7 +175,12 @@ export default defineComponent({ }, repositoryArtifact: { title: 'repository-artifact', - url: 'https://github.com/citation-file-format/citation-file-format/blob/1.2.0/schema-guide.md#repository-artifact', + url: [ + { + text: 'Click here to see the documentation for repository-artifact.', + link: 'https://github.com/citation-file-format/citation-file-format/blob/1.2.0/schema-guide.md#repository-artifact' + } + ], description: 'URL of the work in a build artifact/binary repository', examples: [ 'https://search.maven.org/artifact/org.corpus-tools/cff-maven-plugin/0.4.0/maven-plugin' @@ -178,7 +188,12 @@ export default defineComponent({ }, repositoryCode: { title: 'repository-code', - url: 'https://github.com/citation-file-format/citation-file-format/blob/1.2.0/schema-guide.md#repository-code', + url: [ + { + text: 'Click here to see the documentation for repository-code.', + link: 'https://github.com/citation-file-format/citation-file-format/blob/1.2.0/schema-guide.md#repository-code' + } + ], description: 'URL of the work in a source code repository', examples: [ 'https://github.com/citation-file-format/citation-file-format' @@ -186,7 +201,12 @@ export default defineComponent({ }, url: { title: 'url', - url: 'https://github.com/citation-file-format/citation-file-format/blob/1.2.0/schema-guide.md#url', + url: [ + { + text: 'Click here to see the documentation for url.', + link: 'https://github.com/citation-file-format/citation-file-format/blob/1.2.0/schema-guide.md#url' + } + ], description: 'URL of the landing page/website for the work', examples: [ 'https://citation-file-format.github.io/' From 2f31de47034c06a6af0dfbbb4c7ffa51c658317e Mon Sep 17 00:00:00 2001 From: Faruk D Date: Mon, 29 Aug 2022 14:33:52 +0200 Subject: [PATCH 08/10] fix url format for ScreenStart --- src/components/ScreenStart.vue | 21 ++++++++++++++++++--- 1 file changed, 18 insertions(+), 3 deletions(-) diff --git a/src/components/ScreenStart.vue b/src/components/ScreenStart.vue index 462efc08..72780264 100644 --- a/src/components/ScreenStart.vue +++ b/src/components/ScreenStart.vue @@ -122,12 +122,22 @@ export default defineComponent({ const helpData = { type: { title: 'type', - url: 'https://github.com/citation-file-format/citation-file-format/blob/1.2.0/schema-guide.md#type', + url: [ + { + text: 'Click here to see the documentation for type.', + link: 'https://github.com/citation-file-format/citation-file-format/blob/1.2.0/schema-guide.md#type' + } + ], description: 'The type of the work that is being described by this CITATION.cff file.' }, title: { title: 'title', - url: 'https://github.com/citation-file-format/citation-file-format/blob/1.2.0/schema-guide.md#title', + url: [ + { + text: 'Click here to see the documentation for .', + link: 'https://github.com/citation-file-format/citation-file-format/blob/1.2.0/schema-guide.md#title' + } + ], description: 'The name of the software or dataset.', examples: [ 'cffconvert', @@ -137,7 +147,12 @@ export default defineComponent({ }, message: { title: 'message', - url: 'https://github.com/citation-file-format/citation-file-format/blob/1.2.0/schema-guide.md#message', + url: [ + { + text: 'Click here to see the documentation for message.', + link: 'https://github.com/citation-file-format/citation-file-format/blob/1.2.0/schema-guide.md#message' + } + ], description: 'A message to the human reader of the CITATION.cff file to let them know what to do with the citation metadata.', examples: [ 'If you use this software, please cite it using the metadata from this file.', From 2966211e6e7cd912208d34cd7f792f50194a6376 Mon Sep 17 00:00:00 2001 From: Faruk D Date: Mon, 29 Aug 2022 14:35:37 +0200 Subject: [PATCH 09/10] fix url format for ScreenVersionSpecific --- src/components/ScreenVersionSpecific.vue | 21 ++++++++++++++++++--- 1 file changed, 18 insertions(+), 3 deletions(-) diff --git a/src/components/ScreenVersionSpecific.vue b/src/components/ScreenVersionSpecific.vue index 5558a56c..cb509758 100644 --- a/src/components/ScreenVersionSpecific.vue +++ b/src/components/ScreenVersionSpecific.vue @@ -146,7 +146,12 @@ export default defineComponent({ const helpData = { commit: { title: 'commit', - url: 'https://github.com/citation-file-format/citation-file-format/blob/1.2.0/schema-guide.md#commit', + url: [ + { + text: 'Click here to see the documentation for commit.', + link: 'https://github.com/citation-file-format/citation-file-format/blob/1.2.0/schema-guide.md#commit' + } + ], description: 'The commit hash or revision number of the software version.', examples: [ '1ff847d81f29c45a3a1a5ce73d38e45c2f319bba', @@ -155,7 +160,12 @@ export default defineComponent({ }, version: { title: 'version', - url: 'https://github.com/citation-file-format/citation-file-format/blob/1.2.0/schema-guide.md#version', + url: [ + { + text: 'Click here to see the documentation for version.', + link: 'https://github.com/citation-file-format/citation-file-format/blob/1.2.0/schema-guide.md#version' + } + ], description: 'The version of the software or dataset.', examples: [ '1.2.0', @@ -165,7 +175,12 @@ export default defineComponent({ }, dateReleased: { title: 'date-released', - url: 'https://github.com/citation-file-format/citation-file-format/blob/1.2.0/schema-guide.md#date-released', + url: [ + { + text: 'Click here to see the documentation for date-released.', + link: 'https://github.com/citation-file-format/citation-file-format/blob/1.2.0/schema-guide.md#date-released' + } + ], description: 'The date the work has been released.' } } From cb610a4c48839c649562eb9dcc8827f57cf55c7c Mon Sep 17 00:00:00 2001 From: fdiblen <144492+fdiblen@users.noreply.github.com> Date: Mon, 29 Aug 2022 14:59:10 +0200 Subject: [PATCH 10/10] Update src/components/ScreenStart.vue Co-authored-by: Abel Soares Siqueira --- src/components/ScreenStart.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/ScreenStart.vue b/src/components/ScreenStart.vue index 72780264..79ba834b 100644 --- a/src/components/ScreenStart.vue +++ b/src/components/ScreenStart.vue @@ -134,7 +134,7 @@ export default defineComponent({ title: 'title', url: [ { - text: 'Click here to see the documentation for .', + text: 'Click here to see the documentation for title.', link: 'https://github.com/citation-file-format/citation-file-format/blob/1.2.0/schema-guide.md#title' } ],