Skip to content

Commit 0125b19

Browse files
committed
Merge branch 'release/19.6.0'
2 parents 8f1e730 + a1eef18 commit 0125b19

File tree

70 files changed

+751
-1062
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

70 files changed

+751
-1062
lines changed

CHANGELOG.md

Lines changed: 57 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,61 @@ 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+
## [19.6.0] - 2019-07-12
8+
### Added
9+
- Mirage:
10+
- Factories:
11+
- `collected-metadatum`
12+
- `collection-provider`
13+
- `taxonomy`
14+
- Serializers:
15+
- `collected-metadatum`
16+
- `collection-provider`
17+
- `taxonomy`
18+
- Fixtures:
19+
- `taxonomies`
20+
- Scenarios:
21+
- `collection`
22+
- Views:
23+
- `collection-provider-taxonomies`
24+
- `collection-search`
25+
- Endpoints:
26+
- `/providers/collections`
27+
- `/providers/collections/:parentID/licenses/`
28+
- `/collections/:parentID/collected_metadata/`
29+
- `/providers/collections/:parentID/taxonomies`
30+
- `/search/collections/`
31+
32+
### Changed
33+
- Models:
34+
- `collected-metadatum` - changed `guid` relationship to be a `node` relationship
35+
- `collection-provider` - removed `collections` relatioship
36+
- `collection`
37+
- removed `provider` relationship inverse (`collections`)
38+
- added `collectedMetadata` relationship
39+
- Routes:
40+
- `new-home`
41+
- renamed to `home` (replacing existing `home` route)
42+
- add scroll analytics and improve wording
43+
- Engines:
44+
- `collections`
45+
- updated `collection-item-picker` component to use `collectedMetadata` relationship
46+
- updated `collections-submission` component to set the `guid` relationship to the node instead of the guid
47+
- Tests:
48+
- Acceptance:
49+
- `new-home` - renamed to `logged-out-homepage` (replacing existing `logged-out-homepage` test)
50+
- Mirage:
51+
- Factories:
52+
- `collection` - add choices fields
53+
- Serializers:
54+
- `collection` - add `provider` and `collectedMetadata` relationships
55+
- Views:
56+
- `osf-resource` - add pass through `process()` to `osfNestedResource` `show` action
57+
- Utils:
58+
- `filter` - add ability to filter by a list of ids.
59+
- Misc:
60+
- add lang attribute to `html` element in `index.html`
61+
762
## [19.5.1] - 2019-06-24
863
### Added
964
- Tests:
@@ -953,7 +1008,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
9531008
### Added
9541009
- Quick Files
9551010

956-
[Unreleased]: https://github.com/CenterForOpenScience/ember-osf-web/compare/19.5.1...HEAD
1011+
[Unreleased]: https://github.com/CenterForOpenScience/ember-osf-web/compare/19.6.0...HEAD
1012+
[19.6.0]: https://github.com/CenterForOpenScience/ember-osf-web/releases/tag/19.6.0
9571013
[19.5.1]: https://github.com/CenterForOpenScience/ember-osf-web/releases/tag/19.5.1
9581014
[19.5.0]: https://github.com/CenterForOpenScience/ember-osf-web/releases/tag/19.5.0
9591015
[19.4.0]: https://github.com/CenterForOpenScience/ember-osf-web/releases/tag/19.4.0

app/new-home/-components/hero-banner/component.ts renamed to app/home/-components/hero-banner/component.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,15 +18,15 @@ const { featureFlagNames: { ABTesting } } = config;
1818

1919
@layout(template, styles)
2020
@tagName('')
21-
export default class NewHome extends Component {
21+
export default class HomeHeroBanner extends Component {
2222
@service features!: Features;
2323

2424
@alias(`features.${camelize(ABTesting.homePageVersionB)}`)
2525
shouldShowVersionB!: boolean;
2626

2727
@computed('shouldShowVersionB')
28-
get versionClass(this: NewHome): string {
29-
return this.shouldShowVersionB ? 'versionB' : '';
28+
get version(): string {
29+
return this.shouldShowVersionB ? 'versionB' : 'versionA';
3030
}
3131

3232
@action

app/new-home/-components/hero-banner/styles.scss renamed to app/home/-components/hero-banner/styles.scss

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,10 @@
8888
font-size: 20px;
8989
max-width: 350px;
9090
}
91+
92+
.searchBar {
93+
padding-top: 35px;
94+
}
9195
}
9296

9397
@media(max-width: 768px) {
@@ -149,6 +153,10 @@
149153
.getStartedButton {
150154
margin: 15px auto 35px;
151155
}
156+
157+
.searchBar {
158+
padding-top: 0;
159+
}
152160
}
153161
}
154162

app/new-home/-components/hero-banner/template.hbs renamed to app/home/-components/hero-banner/template.hbs

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,15 @@
1-
<div local-class='hero'>
1+
<section
2+
local-class='hero'
3+
{{track-scroll 'Hero Banner'}}
4+
>
25
<header local-class='heroHeader'>
36
<h1 data-test-hero-heading>
47
{{t 'osf-components.hero-banner.heading'}}
58
</h1>
69
<h2 data-test-hero-subheading>
710
{{t 'osf-components.hero-banner.subheading'}}
811
</h2>
9-
<div data-test-hero-container local-class='{{this.versionClass}}'>
12+
<div data-test-hero-container local-class='{{this.version}}'>
1013
<div data-test-add-research local-class='addResearch'>
1114
{{#if this.shouldShowVersionB}}
1215
<h3 data-test-add-research-heading>
@@ -32,4 +35,4 @@
3235
</div>
3336
</div>
3437
</header>
35-
</div>
38+
</section>

app/new-home/-components/integrations-section/component.ts renamed to app/home/-components/integrations-section/component.ts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,8 @@ import { camelize } from '@ember/string';
66
import Features from 'ember-feature-flags/services/features';
77
import config from 'ember-get-config';
88

9-
import { layout } from 'ember-osf-web/decorators/component';
10-
11-
import styles from './styles';
12-
import template from './template';
13-
149
const { featureFlagNames: { ABTesting } } = config;
1510

16-
@layout(template, styles)
1711
@tagName('')
1812
export default class IntegrationsSection extends Component {
1913
@service features!: Features;

app/new-home/-components/integrations-section/template.hbs renamed to app/home/-components/integrations-section/template.hbs

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
<div local-class='container'>
1+
<section
2+
local-class='container'
3+
{{track-scroll 'Integrations Section'}}
4+
>
25
<header local-class='integrationsHeader'>
36
<h1 data-test-integrations-heading local-class='integrationsHeading'>
47
{{t 'new-home.integrations-section.header'}}
@@ -90,9 +93,4 @@
9093
</div>
9194
</div>
9295
</div>
93-
{{#if (not this.shouldShowVersionB)}}
94-
<div local-class='buttonContainer'>
95-
<GetStartedButton />
96-
</div>
97-
{{/if}}
98-
</div>
96+
</section>

app/new-home/-components/support-section/learn-more-button/template.hbs renamed to app/home/-components/support-section/learn-more-button/template.hbs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<OsfLink
22
data-test-learn-more-button
3-
data-analytics-name='learn_more_button'
3+
data-analytics-name='Learn more button'
44
class='btn btn-primary'
55
local-class='learnMoreButton'
66
@href={{this.learnMoreUrl}}

0 commit comments

Comments
 (0)