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

Change media modals look in web UI #15217

Merged
merged 1 commit into from
Nov 27, 2020
Merged

Conversation

Gargron
Copy link
Member

@Gargron Gargron commented Nov 24, 2020

image

  • Change overlay background to match color of viewed image
  • Add interactive reply/boost/favourite buttons to footer of modal
  • Change ugly "View context" link to button among the action bar

@Gargron Gargron added the ui Front-end, design label Nov 24, 2020
@Gargron Gargron force-pushed the feature-media-modal-background branch from 547aa56 to 97c3803 Compare November 24, 2020 23:38
@Gargron
Copy link
Member Author

Gargron commented Nov 24, 2020

There's one issue that is not blocking but would be nice to solve at some point. ModalRoot restores focus on the element that had focus when the modal was opened after the modal is closed. When clicking reply, the focus should go to the textarea, but I believe the aforementioned behaviour restores the focus to the clicked media gallery item instead.

@tribela
Copy link
Contributor

tribela commented Nov 25, 2020

pagination dot is useful for "how many pictures on this post". Please not remove that

@Gargron
Copy link
Member Author

Gargron commented Nov 25, 2020

Hm, thanks for the feedback. The problem is that a line of dots and a line of buttons don't look good next to each other. It needs some kind of new design concept to look passable.

- Change overlay background to match color of viewed image
- Add interactive reply/boost/favourite buttons to footer of modal
- Change ugly "View context" link to button among the action bar
@Gargron Gargron force-pushed the feature-media-modal-background branch from 97c3803 to d3414b2 Compare November 27, 2020 01:32
@Gargron
Copy link
Member Author

Gargron commented Nov 27, 2020

Dots restored, more subtle

@Gargron Gargron merged commit 1e89e2e into master Nov 27, 2020
@Gargron Gargron deleted the feature-media-modal-background branch November 27, 2020 02:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ui Front-end, design
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants