Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
9c7021d
Merge branch 'release/21.7.0'
fabmiz Sep 14, 2021
f1e02a9
Add bulk upload widget (#1307)
adlius Oct 4, 2021
c0f104c
Bump app version to v21.8.0
fabmiz Oct 4, 2021
ab12b7c
Update Changelog v21.8.0
fabmiz Oct 4, 2021
7c36962
Merge branch 'release/21.8.0'
fabmiz Oct 4, 2021
e9415aa
Back merge branch 'release/21.8.0' into develop
fabmiz Oct 4, 2021
3defc8b
A11y fixes (#1246)
brianjgeiger Oct 19, 2021
5f5f796
Fix colors of links on the sign-up page (#1267)
brianjgeiger Oct 19, 2021
2c779fd
Fix accessibility issues on institutions landing page (#1249)
brianjgeiger Oct 19, 2021
6e3e3e3
Fix contrast problems on project analytics and registrations tabs (#1…
brianjgeiger Oct 19, 2021
4dd36de
Update broken help guid link (#1317)
brianjgeiger Oct 19, 2021
d57a13b
Replace bstabs on project-registrations page with ember-aria-tabs (#1…
brianjgeiger Oct 19, 2021
70b7f6f
[ENG-3206] No link if no wiki (#1283)
brianjgeiger Oct 20, 2021
4815771
Make registries landing page more accessible (#1284)
brianjgeiger Oct 26, 2021
20f362b
Replace bs-tabs with aria-tabs (#1285)
brianjgeiger Oct 27, 2021
0525b47
[ENG-3183] Use more contrasty color for active element (#1286)
brianjgeiger Oct 27, 2021
1ca7acc
Darken color of upload placeholder text and icon for a11y (#1287)
brianjgeiger Oct 27, 2021
f16b5af
A11y fixes (#1289)
brianjgeiger Oct 27, 2021
ab4d7b2
Accessibility fixes for meetings landing page (#1304)
brianjgeiger Nov 1, 2021
ba593b4
[ENG-3225] Get provider types instead of all registration types (#1302)
brianjgeiger Nov 1, 2021
00807dd
Add aria label to download button (#1305)
brianjgeiger Nov 1, 2021
b71e4ce
Use text-black instead of brand's primary color for sort-by control (…
brianjgeiger Nov 1, 2021
fc025a6
[No ticket] Cache providerIsDefault to avoid problem where this.provi…
brianjgeiger Nov 3, 2021
ecdfde0
Replace draft metadata's BsTab with ember-aria-tabs (#1247)
brianjgeiger Nov 3, 2021
a4fe448
[ENG-3233][ENG-3235] Fix a11y problems on collections discover page (…
brianjgeiger Nov 3, 2021
0619bd1
Add aria label to search box on meetings detail page (#1337)
brianjgeiger Nov 4, 2021
3d322b6
Un-mute the description text for accessibility (#1340)
brianjgeiger Nov 4, 2021
7786c92
[ENG-3237][ENG-3238] Fix accessibility problems on collections submis…
brianjgeiger Nov 4, 2021
c0854a5
[No ticket] Overview subject search (#1336)
futa-ikeda Nov 4, 2021
800d1a8
bump package.json version; update CHANGELOG
adlius Nov 4, 2021
977a0bc
Merge branch 'release/21.9.0'
adlius Nov 8, 2021
0cca213
Merge tag '21.9.0' into develop
adlius Nov 8, 2021
d05d0cd
Merge branch 'develop' into feature/versioning-mirage
adlius Nov 10, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 11 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`
Expand Down Expand Up @@ -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
Expand Down
11 changes: 3 additions & 8 deletions app/guid-node/registrations/controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
40 changes: 40 additions & 0 deletions app/guid-node/registrations/styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}
}
37 changes: 21 additions & 16 deletions app/guid-node/registrations/template.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,25 @@
>
<div class='row'>
<div class='col-xs-9 col-sm-8'>
<BsTab
<AriaTabs
data-analytics-scope='Registrations Tab'
@activeId={{this.activeTab}}
@onChange={{action this.changeTab}}
@defaultIndex={{0}}
@onSelect={{action this.changeTab}}
local-class='Tabs'
as |tab|
>
<tab.pane
@id='registrations'
@title={{t 'node.registrations.registrations'}}
<tab.tabList
local-class='TabList'
as |tablist|
>
<tablist.tab>{{t 'node.registrations.registrations'}}</tablist.tab>
{{#if this.node.userHasReadPermission}}
<tablist.tab data-test-drafts-tab>
{{t 'node.registrations.draft_registrations'}}
</tablist.tab>
{{/if}}
</tab.tabList>
<tab.tabPanel>
<div class='row' local-class='RegistrationsPane' data-test-registrations-pane>
<NodeList
@modelTaskInstance={{this.model.taskInstance}}
Expand All @@ -37,20 +46,16 @@
{{/if}}
<p>
{{t 'node.registrations.learn_more'
learnMoreLink='https://openscience.zendesk.com/hc/en-us/articles/360019930893'
learnMoreLink='https://help.osf.io/hc/en-us/categories/360001550953-Registrations'
htmlSafe=true
}}
</p>
</nl.empty>
</NodeList>
</div>
</tab.pane>
</tab.tabPanel>
{{#if this.node.userHasReadPermission}}
<tab.pane
data-analytics-scope='Drafts tab'
@id='drafts'
@title={{t 'node.registrations.draft_registrations'}}
>
<tab.tabPanel data-analytics-scope='Drafts tab'>
<div class='row' local-class='RegistrationsPane' data-test-draft-registrations-pane>
<PaginatedList::HasMany
data-analytics-scope='Project Draft Registrations'
Expand All @@ -74,16 +79,16 @@
{{/if}}
<p>
{{t 'node.registrations.learn_more'
learnMoreLink='https://openscience.zendesk.com/hc/en-us/articles/360019930893'
learnMoreLink='https://help.osf.io/hc/en-us/categories/360001550953-Registrations'
htmlSafe=true
}}
</p>
</list.empty>
</PaginatedList::HasMany>
</div>
</tab.pane>
</tab.tabPanel>
{{/if}}
</BsTab>
</AriaTabs>
</div>
{{#if this.node.userHasAdminPermission}}
<div class='col-xs-3 col-sm-4'>
Expand Down
2 changes: 2 additions & 0 deletions app/institutions/index/template.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
<div
data-analytics-scope='Institutions'
local-class='Institutions__page'
role='main'
>
<div
data-test-insitutions-header
Expand Down Expand Up @@ -97,6 +98,7 @@
{{#if this.hasMore}}
<BsButton
data-test-more-institutions
aria-label={{t 'institutions.load_more'}}
data-analytics-name='Next page'
local-class='Institutions__more'
@type='link'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
@type='text'
@placeholder={{t 'meetings.index.meetings-list.search'}}
@key-up={{perform this.searchSubmissions}}
aria-label={{t 'meetings.index.meetings-list.search'}}
/>
</div>
</div>
Expand Down Expand Up @@ -64,6 +65,7 @@
<div data-test-submissions-list-item-download>
{{#if submission.links.download}}
<BsButton
aria-label={{t 'general.download'}}
@type='success'
class='btn-xs'
@onClick={{action this.downloadFile submission}}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,4 +46,10 @@
h2 {
font-size: 24px;
}

.register-box {
a {
color: $color-link-dark;
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
</div>
<CpPanel @open={{this.registerPanelOpen}} as |panel| >
<panel.body>
<div data-test-register-panel-text class='m-lg osf-box-lt p-md text-left'>
<div data-test-register-panel-text class='m-lg osf-box-lt p-md text-left' local-class='register-box'>
{{t 'meetings.index.meetings-hero-banner.conference_organizers_register_panel_texts' htmlSafe=true}}
</div>
</panel.body>
Expand Down
1 change: 1 addition & 0 deletions app/meetings/index/-components/meetings-list/template.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
<div data-test-meetings-list-search local-class='search'>
<div class='col-xs-12 col-sm-6 col-sm-offset-6'>
<Input
aria-label={{t 'meetings.index.meetings-list.search'}}
@type='text'
@placeholder={{t 'meetings.index.meetings-list.search'}}
@key-up={{perform this.searchMeetings}}
Expand Down
1 change: 1 addition & 0 deletions app/models/registration.ts
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@ export default class RegistrationModel extends NodeModel.extend(Validations) {
@attr('fixstring') iaUrl?: string;
@attr('array') providerSpecificMetadata!: ProviderMetadata[];
@attr('fixstring') revisionState!: RevisionReviewStates;
@attr('boolean') wikiEnabled!: boolean;

// Write-only attributes
@attr('array') includedNodeIds?: string[];
Expand Down
2 changes: 1 addition & 1 deletion app/styles/_components.scss
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@
}

.osf-project-navbar li.active a {
color: #f8f8f8;
color: #fff;
}

.osf-project-navbar a.project-title {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

.DisabledPanel {
:global(.panel-title) {
color: $color-text-gray-light;
color: $color-text-black;
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,6 @@
height: 30px;
}

.checkbox-label {
font-weight: normal;
padding-right: 5px;
}

@media (min-width: 768px) {
.text-sm-center {
text-align: center;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,13 +58,12 @@
{{! Bibliographic (Citation) }}
<div data-test-project-contributors-list-item-citation-checkbox local-class='text-sm-center'
class='col-xs-10 col-sm-2 col-sm-offset-0 bib-padding'>
<label local-class='checkbox-label' class='visible-xs-inline' for='{{@contributor.id}}-citation'>
<em>
{{t 'app_components.project_contributors.list.item.in_citation_label'}}
</em>
</label>
<Input @id={{concat @contributor.id '-citation'}} @type='checkbox' @disabled={{not this.canChangeBibliographic}}
@checked={{@contributor.bibliographic}} @change={{action @toggleBibliographic @contributor}} />
<Input
aria-label={{t 'app_components.project_contributors.list.item.in_citation_label'}}
@type='checkbox'
@disabled={{not this.canChangeBibliographic}}
@checked={{@contributor.bibliographic}}
@change={{action @toggleBibliographic @contributor}} />
</div>

{{! Remove }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,15 @@
class='input-group'
>
<Input
aria-label={{t 'app_components.project_contributors.search.placeholder'}}
@class='form-control'
@value={{this.query}}
@placeholder={{t 'app_components.project_contributors.search.placeholder'}}
/>
<span class='input-group-btn'>
<button
data-test-project-contributors-search-button
aria-label={{t 'app_components.project_contributors.search.perform_search'}}
local-class='authors-search-button'
class='btn btn-default'
type='submit'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
.closed {
color: #888;
color: $color-text-black;
}

.green {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<p>
<div
data-test-collection-search-result-node-description
class='text-muted m-t-sm'>
class='m-t-sm'>
{{#if this.showBody}}
{{unescape-xml-entities this.item.description}}
{{else}}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
.Component {
span {
background-color: #578ca2;
color: #eee;
background-color: $color-bg-blue-darker;
color: $color-text-white;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,9 @@
>
{{@text}}
{{#unless @hide}}
<span aria-label={{@ariaLabel}}>
<span>
<button
aria-label={{@ariaLabel}}
data-test-active-filter-remove-button
type='button'
local-class='removeActiveFilter'
Expand Down
9 changes: 6 additions & 3 deletions lib/collections/addon/components/discover-page/template.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,10 @@
class='input-group input-group-lg'
>
<Input
aria-label={{t
(or this.searchPlaceholder 'collections.discover_page.searchPlaceholder')
documentType=this.themeProvider.documentType
}}
@id='searchBox'
@value={{this.q}}
@class='form-control'
Expand Down Expand Up @@ -111,7 +115,6 @@
{{this.sortDisplay}}
<span
class='caret'
aria-label={{t 'collections.discover_page.sortSearchResults'}}
>
</span>
</dd.button>
Expand Down Expand Up @@ -202,14 +205,14 @@
{{!PROBLEM WITH SEARCH QUERY}}
<QuerySyntax @message={{this.queryError}} />
{{else if this.serverError}}
<div class='text-muted text-center'>
<div class='text-center'>
<p class='lead'>
{{t 'collections.discover_page.searchUnavailable'}}
</p>
</div>
{{else}}
{{!NO RESULTS FOUND}}
<div class='text-muted text-center'>
<div class='text-center'>
<p class='lead'>
{{t 'collections.discover_page.noResultsFound'}}
</p>
Expand Down
2 changes: 1 addition & 1 deletion lib/osf-components/addon/components/files/list/styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
justify-content: center;

height: 420px;
color: $color-text-gray-dark;
color: $color-black;
}

.list-container {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
line-height: 2.8;
}

.ToggleNav__button:global(.btn.btn-link) {
.ToggleNav__button {
float: right;
color: $color-text-blue-dark;
padding: 3px 8px;
Expand Down
Loading