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

feat: move asset preview to horizontal - #870

Merged
Elizabeth Halper (elizabethhalper) merged 5 commits into
developfrom
riagarg/change-sidebar
Aug 22, 2019
Merged

Elizabeth Halper (elizabethhalper) merged 5 commits into
developfrom
riagarg/change-sidebar

Conversation

@elizabethhalper

Copy link
Copy Markdown
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

Comment thread src/react/components/pages/editorPage/editorSideBar.tsx Outdated
@pjlittle

P.J. Little (pjlittle) commented Aug 22, 2019 •

Copy link
Copy Markdown
Collaborator

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

@tbarlow12 Tanner Barlow (tbarlow12) left a comment

Copy link
Copy Markdown
Contributor

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 👍

@tbarlow12 Tanner Barlow (tbarlow12) left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM

@tbarlow12 Tanner Barlow (tbarlow12) removed their assignment Aug 22, 2019

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

Copy link
Copy Markdown
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?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants