Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[NPD][IN-477][Reviews]Make sure Reviews work with post-NPD changes #153

Conversation

adlius
Copy link
Collaborator

@adlius adlius commented Oct 4, 2018

Purpose

To maintain functional parity with ember-osf-preprints once NPD changes are in effect.

Summary of Changes/Side Effects

Deleted some tests that are no longer valid. Change the detail page so that it shows the same header as the post-NPD preprint detail page.

screen shot 2018-10-22 at 12 45 45 pm

Ticket

https://openscience.atlassian.net/browse/IN-477

Reviewer Checklist

  • meets requirements
  • easy to understand
  • DRY
  • testable and includes test(s)
  • changes described in CHANGELOG.md

@coveralls
Copy link

coveralls commented Oct 18, 2018

Coverage Status

Coverage decreased (-0.5%) to 56.399% when pulling 7aabece on adlius:feature/node-preprint-divorce into 67b44fb on CenterForOpenScience:release/next-interfaces.

@adlius adlius changed the title [IN-477]Make sure Reviews work with post-NPD changes [NPD][IN-477][Reviews]Make sure Reviews work with post-NPD changes Oct 22, 2018
Copy link

@pattisdr pattisdr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for addressing these reviews changes @adlius!

Just a few things that could be removed, and then where we were checking to see if a node was public, we should check the preprint instead.

import { ArrayPromiseProxy, loadRelation } from 'ember-osf/utils/load-relationship';

const PAGE_SIZE = 6;


export default Component.extend({
pageNumber: 0,
selectedFile: null,

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This can probably be removed

import { ArrayPromiseProxy, loadRelation } from 'ember-osf/utils/load-relationship';

const PAGE_SIZE = 6;


export default Component.extend({
pageNumber: 0,

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This can probably be removed.

Copy link

@pattisdr pattisdr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me @adlius!

@pattisdr
Copy link

pattisdr commented Nov 5, 2018

@adlius, @jamescdavis, checking in on this one. Can we get these reviews changes on staging3? I assume this needs to go out with NPD.

@pattisdr
Copy link

@brianjgeiger, can this go on staging3?

Copy link
Member

@jamescdavis jamescdavis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@jamescdavis jamescdavis merged commit 5e8ee6a into CenterForOpenScience:release/next-interfaces Nov 13, 2018
@pattisdr
Copy link

thank you @jamescdavis!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants