From fe05a9bb4de8c1248054c6e55c5b1ba55bc571c9 Mon Sep 17 00:00:00 2001 From: futa-ikeda <51409893+futa-ikeda@users.noreply.github.com> Date: Wed, 24 Jan 2024 14:39:57 -0500 Subject: [PATCH 1/3] Update links to license help guide (#2103) Co-authored-by: Brian J. Geiger --- .../addon/components/license-picker/component.ts | 2 +- .../addon/components/license-picker/template.hbs | 2 +- .../components/registries-license-picker/component.ts | 1 - .../components/registries-license-picker/template.hbs | 9 --------- translations/en-us.yml | 2 +- 5 files changed, 3 insertions(+), 13 deletions(-) diff --git a/lib/osf-components/addon/components/license-picker/component.ts b/lib/osf-components/addon/components/license-picker/component.ts index ee5f7eb355a..2ee5479c691 100644 --- a/lib/osf-components/addon/components/license-picker/component.ts +++ b/lib/osf-components/addon/components/license-picker/component.ts @@ -33,7 +33,7 @@ export default class LicensePicker extends Component { showText = false; licensesAcceptable!: QueryHasManyResult; - helpLink = 'https://help.osf.io/'; + licenseHelpLink = 'https://help.osf.io/article/148-licensing'; @alias('theme.provider') provider!: Provider; @alias('form.changeset.license') selected!: License; diff --git a/lib/osf-components/addon/components/license-picker/template.hbs b/lib/osf-components/addon/components/license-picker/template.hbs index cf675a13fdb..2f7b49c992e 100644 --- a/lib/osf-components/addon/components/license-picker/template.hbs +++ b/lib/osf-components/addon/components/license-picker/template.hbs @@ -23,7 +23,7 @@ {{t 'app_components.license_picker.faq'}} diff --git a/lib/registries/addon/components/registries-license-picker/component.ts b/lib/registries/addon/components/registries-license-picker/component.ts index ce81025188a..d186c8164b9 100644 --- a/lib/registries/addon/components/registries-license-picker/component.ts +++ b/lib/registries/addon/components/registries-license-picker/component.ts @@ -35,6 +35,5 @@ export default class RegistriesLicensePicker extends Component { shouldShowButtons = false; showText = false; - helpLink = 'https://help.osf.io/hc/en-us/articles/360019739014-Licensing'; registration!: BufferedChangeset | Registration; } diff --git a/lib/registries/addon/components/registries-license-picker/template.hbs b/lib/registries/addon/components/registries-license-picker/template.hbs index 93861936cbb..f93f8516e63 100644 --- a/lib/registries/addon/components/registries-license-picker/template.hbs +++ b/lib/registries/addon/components/registries-license-picker/template.hbs @@ -27,15 +27,6 @@ {{/if}} -
- - {{t 'app_components.license_picker.faq'}} - -
- {{#if (and @manager.selectedLicense @manager.selectedLicense.requiredFields)}} article on licenses.' + license_help_text: 'A license tells others how they can use your work in the future and only applies to the information and files submitted with the registration. For more information, see this help guide.' affiliated_institutions: 'Affiliated institutions' category: Category choose_license: 'Choose a License' From 6b7b8a42909d7a5fba6275423bfbb01afce12a6a Mon Sep 17 00:00:00 2001 From: futa-ikeda <51409893+futa-ikeda@users.noreply.github.com> Date: Tue, 30 Jan 2024 10:41:28 -0500 Subject: [PATCH 2/3] Update submit button label (#2111) --- app/preprints/index/template.hbs | 2 +- translations/en-us.yml | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/app/preprints/index/template.hbs b/app/preprints/index/template.hbs index c521753cfd2..cbf31d3c243 100644 --- a/app/preprints/index/template.hbs +++ b/app/preprints/index/template.hbs @@ -35,7 +35,7 @@ local-class='btn btn-success btn-lg' @href={{concat this.theme.pathPrefix 'submit'}} > - {{t 'preprints.header.submit_label' documentType=this.theme.provider.content.documentType}} + {{t 'preprints.header.submit_label' documentType=this.theme.provider.documentType.singular}}
Date: Tue, 30 Jan 2024 14:37:29 -0500 Subject: [PATCH 3/3] Bump version no. Add CHANGELOG --- CHANGELOG.md | 7 +++++++ package.json | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5c47f384f62..8031d531ce4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,11 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). +## [24.02.0] - 2024-01-30 +### Changed +- Update help links for licenses on draft registrations +- Fix submit button label on preprint landing page + ## [24.01.0] - 2024-01-05 ### Added - Support for Disease and Data Type CollectionProvider metadata @@ -1967,6 +1972,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. ### Added - Quick Files +[24.02.0]: https://github.com/CenterForOpenScience/ember-osf-web/releases/tag/24.02.0 +[24.01.0]: https://github.com/CenterForOpenScience/ember-osf-web/releases/tag/24.01.0 [23.15.3]: https://github.com/CenterForOpenScience/ember-osf-web/releases/tag/23.15.3 [23.15.2]: https://github.com/CenterForOpenScience/ember-osf-web/releases/tag/23.15.2 [23.15.1]: https://github.com/CenterForOpenScience/ember-osf-web/releases/tag/23.15.1 diff --git a/package.json b/package.json index f65940e2792..f6a300f1bbb 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "ember-osf-web", - "version": "24.01.0", + "version": "24.02.0", "private": true, "description": "Ember front-end for the Open Science Framework", "homepage": "https://github.com/CenterForOpenScience/ember-osf-web#readme",