Skip to content
This repository has been archived by the owner on Dec 7, 2021. It is now read-only.

feat: move asset preview to horizontal #870

Merged
merged 5 commits into from
Aug 22, 2019

Conversation

elizabethhalper
Copy link
Collaborator

feat: change sidebar from vertical to horizontal

Moved the vertical asset previewer to be horizontal and at the bottom of the screen. This helps maximize the size of the picture being tagged when it is a landscape photo.

AB#860

@pjlittle
Copy link
Collaborator

pjlittle commented Aug 22, 2019

Just one comment, otherwise good. Glad to see this get merged! :shipit:

pjlittle
pjlittle previously approved these changes Aug 22, 2019
@tbarlow12 tbarlow12 added this to In Review in Hack Week via automation Aug 22, 2019
Hack Week automation moved this from In Review to Approved Aug 22, 2019
tbarlow12
tbarlow12 previously approved these changes Aug 22, 2019
Copy link
Contributor

@tbarlow12 tbarlow12 left a comment

Choose a reason for hiding this comment

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

Just PJ's comment, otherwise looks great 👍

Hack Week automation moved this from Approved to Changes Requested Aug 22, 2019
@tbarlow12 tbarlow12 self-assigned this Aug 22, 2019
@tbarlow12 tbarlow12 self-requested a review August 22, 2019 17:49
Copy link
Contributor

@tbarlow12 tbarlow12 left a comment

Choose a reason for hiding this comment

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

LGTM

@tbarlow12 tbarlow12 removed their assignment Aug 22, 2019
@@ -102,8 +106,8 @@ export default class EditorSideBar extends React.Component<IEditorSideBarProps,
this.props.onAssetSelected(asset);
}

private rowRenderer = ({ key, index, style }): JSX.Element => {
const asset = this.props.assets[index];
private rowRenderer = ({ columnIndex, key, style }): JSX.Element => {
Copy link
Contributor

Choose a reason for hiding this comment

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

switching index and key location on purpose?

Hack Week automation moved this from Changes Requested to Approved Aug 22, 2019
@elizabethhalper elizabethhalper merged commit 5e25dc5 into develop Aug 22, 2019
Hack Week automation moved this from Approved to Merged Aug 22, 2019
tbarlow12 added a commit that referenced this pull request Aug 22, 2019
tbarlow12 added a commit that referenced this pull request Aug 22, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
Hack Week
  
Merged
Development

Successfully merging this pull request may close these issues.

None yet

5 participants