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

Slightly improve the media experience #452

Merged
merged 5 commits into from
Mar 6, 2019
Merged

Slightly improve the media experience #452

merged 5 commits into from
Mar 6, 2019

Conversation

elegaanz
Copy link
Member

  • Use a grid to display the list of media
  • Add icons for non-image media preview
  • Paginate the gallery
  • Add links to the gallery in the editor and in the profile settings to make it more discoverable when you need it

Here are some screenshots:

screenshot_2019-02-26 vos medias plume
screenshot_2019-02-26 nouvel article plume
screenshot_2019-02-26 modifier votre compte plume

Fixes #432

- Use a grid to display the list of media
- Add icons for non-image media preview
- Paginate the gallery
- Add links to the gallery in the editor and in the profile settings to make it more discoverable when you need it

Fixes #432
@elegaanz elegaanz added C: Enhancement New feature or request A: Front-End Related to the front-end S: Ready for review This PR is ready to be reviewed labels Feb 26, 2019
@codecov
Copy link

codecov bot commented Feb 26, 2019

Codecov Report

Merging #452 into master will increase coverage by 1%.
The diff coverage is 19.64%.

@@            Coverage Diff            @@
##           master     #452     +/-   ##
=========================================
+ Coverage   25.73%   26.74%     +1%     
=========================================
  Files          63       64      +1     
  Lines        6150     7223   +1073     
=========================================
+ Hits         1583     1932    +349     
- Misses       4567     5291    +724

Copy link
Contributor

@trinity-1686a trinity-1686a left a comment

Choose a reason for hiding this comment

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

It feel a bit odd there are nice pictures for non image files on /media, but not on /media/<id> , otherwise this is all good

elegaanz added 2 commits March 4, 2019 21:31
Otherwise we can't display their preview, nor show them in articles

Also show controls by default for these two elements
trinity-1686a
trinity-1686a previously approved these changes Mar 6, 2019
…sn't need to be escaped.

And use it to generate media previews.
Copy link
Contributor

@trinity-1686a trinity-1686a left a comment

Choose a reason for hiding this comment

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

👍

elegaanz added a commit that referenced this pull request Mar 6, 2019
Only keep it if contains letters and numbers only, otherwise remove it.

To be merged before #452
@elegaanz elegaanz merged commit eff2698 into master Mar 6, 2019
@elegaanz elegaanz deleted the better-media branch March 6, 2019 13:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A: Front-End Related to the front-end C: Enhancement New feature or request S: Ready for review This PR is ready to be reviewed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants