Skip to content

Commit 69b3082

Browse files
committed
Merge branch 'release/21.11.0'
2 parents 8578e07 + 0d1ebde commit 69b3082

File tree

29 files changed

+163
-43
lines changed

29 files changed

+163
-43
lines changed

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@ All notable changes to this project will be documented in this file.
44
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
55
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
66

7+
## [21.11.0] - 2021-12-21
8+
### Changed
9+
- Misc a11y and bug fixes
10+
- Added new error types for registration bulk upload
11+
712
## [21.10.0] - 2021-11-30
813
### Added
914
- Registration versioning
@@ -1814,6 +1819,9 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
18141819
### Added
18151820
- Quick Files
18161821

1822+
[21.11.0]: https://github.com/CenterForOpenScience/ember-osf-web/releases/tag/21.11.0
1823+
[21.10.2]: https://github.com/CenterForOpenScience/ember-osf-web/releases/tag/21.10.2
1824+
[21.10.1]: https://github.com/CenterForOpenScience/ember-osf-web/releases/tag/21.10.1
18171825
[21.10.0]: https://github.com/CenterForOpenScience/ember-osf-web/releases/tag/21.10.0
18181826
[21.9.2]: https://github.com/CenterForOpenScience/ember-osf-web/releases/tag/21.9.2
18191827
[21.9.1]: https://github.com/CenterForOpenScience/ember-osf-web/releases/tag/21.9.1

app/guid-node/template.hbs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
@node={{this.model.taskInstance.value}}
44
/>
55
{{/unless}}
6-
<div data-analytics-scope='Node'>
6+
<div data-analytics-scope='Node' role='main'>
77
{{outlet}}
88
</div>
99
<JoinOsfBanner />

app/meetings/detail/-components/meeting-detail-header/template.hbs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
<div data-test-meeting-location-and-date local-class='location-and-date-text'>
44
{{if this.meeting.location this.meeting.location}}
55
{{if (and this.meeting.location (or this.meeting.startDate this.meeting.endDate)) ' | '}}
6-
{{if this.meeting.startDate (moment-format this.meeting.startDate 'MMM DD, YYYY')}}
6+
{{if this.meeting.startDate (moment-format this.meeting.startDate 'MMM DD, YYYY' timeZone='Europe/London')}}
77
{{if (or this.meeting.startDate this.meeting.endDate) ' - '}}
8-
{{if this.meeting.endDate (moment-format this.meeting.endDate 'MMM DD, YYYY')}}
8+
{{if this.meeting.endDate (moment-format this.meeting.endDate 'MMM DD, YYYY' timeZone='Europe/London')}}
99
</div>
1010

1111
{{#if this.meeting.logoUrl}}

app/meetings/index/-components/meetings-list/template.hbs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,9 +59,9 @@
5959
{{meeting.location}}
6060
</div>
6161
<div data-test-meetings-list-item-date>
62-
{{if meeting.startDate (moment-format meeting.startDate 'MMM DD, YYYY')}}
62+
{{if meeting.startDate (moment-format meeting.startDate 'MMM DD, YYYY' timeZone='Europe/London')}}
6363
{{if (or meeting.startDate meeting.endDate) ' - '}}
64-
{{if meeting.endDate (moment-format meeting.endDate 'MMM DD, YYYY')}}
64+
{{if meeting.endDate (moment-format meeting.endDate 'MMM DD, YYYY' timeZone='Europe/London')}}
6565
</div>
6666
{{else}}
6767
<div data-test-meetings-list-placeholder-name>

app/models/registration-provider.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,9 @@ export default class RegistrationProviderModel extends ProviderModel {
3434
@attr('array')
3535
permissions!: ReviewPermissions[];
3636

37+
@attr('boolean')
38+
allowBulkUploads!: boolean;
39+
3740
@computed('permissions')
3841
get currentUserCanReview() {
3942
if (this.permissions) {

lib/app-components/addon/components/branded-navbar/styles.scss

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,19 @@
1010
:global(.navbar-collapse) {
1111
border-top-color: transparent;
1212
}
13+
/* stylelint-disable */
14+
#navbarScope {
15+
:global(.secondary-nav-dropdown) {
16+
a {
17+
color: $color-text-white;
18+
}
19+
}
20+
21+
:global(.btn-success) {
22+
color: $color-text-white;
23+
}
24+
}
25+
/* stylelint-enable */
1326
}
1427

1528
.navbar-image {

lib/osf-components/addon/components/registries/overview-form-renderer/template.hbs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,10 @@
22
<LoadingIndicator @dark={{true}}/>
33
{{else}}
44
{{#if this.showMetadata}}
5-
<Registries::VersionMetadata @revision={{@revision}} />
5+
<Registries::VersionMetadata
6+
@revision={{@revision}}
7+
@registration={{@registration}}
8+
/>
69
{{/if}}
710
<Registries::RegistrationFormNavigationDropdown
811
@showMetadata={{false}}

lib/osf-components/addon/components/registries/version-metadata/template.hbs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{{assert 'Registries::VersionMetadata requires @revision' @revision}}
2+
{{assert 'Registries::VersionMetadata requires @registration' @registration}}
23
<section
34
local-class='versionMetadata'
45
>
@@ -14,7 +15,7 @@
1415
{{!-- TODO: add description for what fields have changed --}}
1516
<p data-test-version-metadata-date>
1617
{{if @revision.isOriginalResponse
17-
(t 'registries.overview.versionMetadata.originalDate' date=(moment-format @revision.dateModified 'MMM DD, YYYY'))
18+
(t 'registries.overview.versionMetadata.originalDate' date=(moment-format @registration.dateRegistered 'MMM DD, YYYY'))
1819
(t 'registries.overview.versionMetadata.date' date=(moment-format @revision.dateModified 'MMM DD, YYYY'))
1920
}}
2021
</p>

lib/osf-components/addon/components/subjects/display/styles.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
border: 1px dotted $color-border-gray-light;
2424
padding: 4px 8px;
2525
font-style: italic;
26-
color: $color-text-gray-dark;
26+
color: $color-text-black;
2727
}
2828

2929
.RemoveButton.RemoveButton {

lib/osf-components/addon/components/subjects/display/template.hbs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@
2121
{{/if}}
2222
</li>
2323
{{else}}
24-
<span data-test-selected-subject-placeholder local-class='Placeholder'>
24+
<li data-test-selected-subject-placeholder local-class='Placeholder'>
2525
{{t 'osf-components.subjects.display.placeholder'}}
26-
</span>
26+
</li>
2727
{{/each}}
2828
</ul>
2929
{{/if}}

0 commit comments

Comments
 (0)