hometown/app
Yuto Tokunaga 4e929b2d17 [RFC] Improved media modal (#5956)
* Improved media modal

ImageLoader: Impliment pinch zoom by CSS `transform: scale(X)`
ImageLoader: Impliment panning by CSS `overflow: scroll`
ImageLoader: Larger image
MediaModal: Larger close button
MediaModal: Close the modal by swiping vertically
MediaModal: Show/hide close button and right/left navigation on tapping image
MediaModal: Change the `pointer-event` CSS prpp to get more blank space to close the modal
ImageLoader: Zoom/reset zoom on double tap
MediaModal: disable vertical swiping while horizontally swiped
ImageLoader: prevent propagating touchmove event to MediaModal
MediaModal: Adjust size and potision of buttons
ImageLoader: Adjust scroll potision on pinch zoom

* Remove "swipe to close" and "double tap to zoom" features

* remove unused prop and functions

removed `onScroll` prop and `handleScroll` func in ImageLoader

* separate zoom functionary to ZoomableImage component

adjust styling of ImageLoader
add styling for ZoomableImage

* adjust size and potision of close button of media modal

* Fix for gif video

add `onClick` prop to ExtendedVideoPlayer
specify `onClick` prop to video tag for switching nav of `MediaModal`
add `.video-modal` class to scss to separate styling for `VideoModal`

* fix styling for centering

specify height of `ZoomableImage` by pixel
clean styling for `ImageLoader`

* fix lint errors

* small fix

* fixed designated parts
2018-03-04 20:32:24 +01:00
..
chewy Full-text search for authorized statuses (#6423) 2018-02-09 23:04:47 +01:00
controllers Set the default locale in config (#6580) 2018-03-04 09:21:35 +01:00
helpers Do not default site_title with site_hostname in InstanceHelper (#6624) 2018-03-04 20:29:49 +01:00
javascript [RFC] Improved media modal (#5956) 2018-03-04 20:32:24 +01:00
lib Federate pinned statuses over ActivityPub (#6610) 2018-03-04 09:19:11 +01:00
mailers Account archive download (#6460) 2018-02-21 23:21:32 +01:00
models Provide default OTP_SECRET value for development environment (#6617) 2018-03-04 20:28:24 +01:00
policies Account archive download (#6460) 2018-02-21 23:21:32 +01:00
presenters Redesign landing page (again) (#6486) 2018-02-22 01:03:48 +01:00
serializers Do not fetch environment variables to determine default locale (#6618) 2018-03-04 10:00:46 +01:00
services Federate pinned statuses over ActivityPub (#6610) 2018-03-04 09:19:11 +01:00
validators Validation of count works even when text of status is nil (#6429) 2018-02-04 12:32:41 +01:00
views Fix #6611: Typo in change password template (#6616) 2018-03-04 10:00:24 +01:00
workers Federate pinned statuses over ActivityPub (#6610) 2018-03-04 09:19:11 +01:00