diff --git a/CHANGELOG.md b/CHANGELOG.md index 5c825bba6ad..f5f7aa8efd8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,15 @@ 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). +## [21.9.0] - 2021-11-08 +### Changed +- Misc a11y fixes +- Removed RIDIE from registries dashboard +- Replace help guide link on project registrations tab +- Hide link to wiki on Registration overview page if registration has wiki disabled +- Remove registration templates that are only for community oriented registries from the Registries Discover page registration-type facet +- Fix registration overview page subjects search + ## [21.8.0] - 2021-10-04 ### Added - bulk upload component `Branded::Moderation::-Components::UploadCsv` @@ -1801,7 +1810,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. ### Added - Quick Files -[Unreleased]: https://github.com/CenterForOpenScience/ember-osf-web/compare/21.7.0...develop +[21.8.0]: https://github.com/CenterForOpenScience/ember-osf-web/releases/tag/21.9.0 +[21.8.0]: https://github.com/CenterForOpenScience/ember-osf-web/releases/tag/21.8.0 [21.7.0]: https://github.com/CenterForOpenScience/ember-osf-web/releases/tag/21.7.0 [21.6.3]: https://github.com/CenterForOpenScience/ember-osf-web/releases/tag/21.6.3 [21.6.2]: https://github.com/CenterForOpenScience/ember-osf-web/releases/tag/21.6.2 diff --git a/app/guid-node/registrations/controller.ts b/app/guid-node/registrations/controller.ts index 764ac1b785a..74f2947a4e8 100644 --- a/app/guid-node/registrations/controller.ts +++ b/app/guid-node/registrations/controller.ts @@ -55,20 +55,15 @@ export default class GuidNodeRegistrations extends Controller { this.set('schemas', schemas); } - @computed('tab') - get activeTab() { - return this.tab ? this.tab : 'registrations'; - } - @computed('node.{id,root.id,root.userHasAdminPermission}') get isComponentRootAdmin() { return this.node && this.node.id !== this.node.root.get('id') && this.node.root.get('userHasAdminPermission'); } @action - changeTab(activeId: string) { - this.set('tab', activeId === 'registrations' ? undefined : activeId); - this.analytics.click('tab', `Registrations tab - Change tab to: ${activeId}`); + changeTab(activeId: number) { + const tabName = activeId === 0 ? 'registrations' : 'drafts'; + this.analytics.click('tab', `Registrations tab - Change tab to: ${tabName}`); } @action diff --git a/app/guid-node/registrations/styles.scss b/app/guid-node/registrations/styles.scss index e005378ff47..d88d4769385 100644 --- a/app/guid-node/registrations/styles.scss +++ b/app/guid-node/registrations/styles.scss @@ -69,3 +69,43 @@ h4:global(.NewRegistrationModal__header) { :global(.PreRegChallengeModal__consent) { font-weight: normal; } + +.Tabs { + /* stylelint-disable selector-no-qualifying-type */ + ul.TabList { + margin-bottom: 10px; + border-bottom: 1px solid #ddd; + box-sizing: border-box; + color: rgb(51, 51, 51); + display: block; + line-height: 20px; + list-style-image: none; + list-style-position: outside; + list-style-type: none; + height: 41px; + padding: 0; + } + /* stylelint-enable selector-no-qualifying-type */ + .TabList { + li { + display: block; + position: relative; + margin-bottom: -1px; + float: left; + height: 41px; + padding: 10px 15px; + } + + li:global(.ember-tabs__tab--selected) { + background-color: #f8f8f8; + border-bottom: 2px solid #204762; + } + + li:hover { + border-color: transparent; + text-decoration: none; + background-color: #f8f8f8; + color: var(--primary-color); + } + } +} diff --git a/app/guid-node/registrations/template.hbs b/app/guid-node/registrations/template.hbs index 103c81ef1f1..882bfc0e99e 100644 --- a/app/guid-node/registrations/template.hbs +++ b/app/guid-node/registrations/template.hbs @@ -8,16 +8,25 @@ >