Commit Graph

36 Commits

Author SHA1 Message Date
Asaad Mahmood
d9f5e0097b Multiple UI Improvements 2016-01-07 13:07:22 +05:00
hmhealey
a6ba1a17fe Removed temporary fix for old filenames that used absolute urls pointing to the get file api 2016-01-06 09:54:05 -05:00
Christopher Speller
55b831e4e1 Upgrading client dependancies. Upgrading to babel 6. Moving to es6 package system. 2015-11-19 21:12:56 -05:00
JoramWilander
50815f9be7 Rename areStatesEqual to areObjectsEqual and make it more comprehensive and accurate. 2015-11-12 11:19:59 -05:00
Asaad Mahmood
110bc3e7e9 Multiple UI changes 2015-10-29 00:02:17 +05:00
=Corey Hulen
54894e90ac Fixing merge conflict 2015-10-22 09:19:18 -07:00
Florian Orben
b9c637ec82 Change stop symbol to another one since chrome-win can't display it 2015-10-21 18:15:04 +02:00
Florian Orben
b00697a500 apply portrait/landscape/quadrat format to playing gif to always display it in best possible way 2015-10-21 18:13:59 +02:00
Florian Orben
cd5df514c7 Add stop button to stop animated gifs 2015-10-21 18:13:59 +02:00
Florian Orben
420c754ca3 Horizontally align images if image height > image width 2015-10-21 18:13:59 +02:00
Florian Orben
d167e18f00 PLT-616: Enable playing of animated GIF in thumbnails and preview 2015-10-21 18:13:59 +02:00
=Corey Hulen
1fc12dd8ba Multi-session login 2015-10-20 14:49:42 -07:00
Christopher Speller
1571a9a2df Fixing most deprication warnings 2015-10-15 15:00:28 -04:00
Christopher Speller
b85b529373 Changing SpinPunch to Mattermost in copyright 2015-10-08 12:27:09 -04:00
Christopher Speller
c5d78f828a Converting preview image modal to use react-bootstrap. Fixes issue where modal would appear behind background on iOS 2015-09-24 10:58:56 -04:00
Asaad Mahmood
f74f066a44 MM-1866 - Adding download icon and adding download link for both file title and download icon 2015-09-09 19:42:03 +05:00
Christopher Speller
4b22c1f99c Upgrading ESLint and adding some more rules. Refactoring to meet these new rules 2015-09-03 15:00:47 -04:00
Christopher Speller
59bfb3a359 Fixing style issue in file_attachment.jsx 2015-09-02 15:53:22 -04:00
nickago
069f851313 Cosmetic Refactoring 2015-09-02 11:14:50 -07:00
JoramWilander
e54354f92a Fixes root images not loading when switich RHS threads. 2015-08-28 09:05:04 -04:00
=Corey Hulen
64b179ab0e Fixes mm-1912 move get file info into its own web service call 2015-08-24 15:03:52 -07:00
Asaad Mahmood
5f068109a7 Fixing style guide issues 2015-08-15 01:30:20 +05:00
Asaad Mahmood
8f9f4810a5 Using variables efficiently 2015-08-15 01:17:26 +05:00
Asaad Mahmood
9a4a1c5f96 Initialising trimmedFilename variable 2015-08-14 19:38:01 +05:00
Asaad Mahmood
67dc6e60f3 mm-1858 - Truncating and adding tooltips to file names in thumbnail details 2015-08-14 19:36:58 +05:00
JoramWilander
dad7851423 center small thumbnails and top left larger thumbnails 2015-07-31 09:52:18 -04:00
hmhealey
de01a7e679 Cleaned up ViewImageModal and FileAttachment and added some extra comments 2015-07-29 10:18:58 -04:00
hmhealey
af246bb44b Updated ViewImage modal dialog to include details about non-image files 2015-07-29 10:04:28 -04:00
hmhealey
b0c64c73f9 Added check to make sure that FileAttachment is mounted before asynchronously setting state to avoid warning messages. 2015-07-29 10:03:42 -04:00
hmhealey
411f8cb9ef Fixed FileAttachment component to not spam the server with requests when displaying a zero byte file 2015-07-29 10:03:42 -04:00
hmhealey
f66cd5e977 Added utility function to get a file attachment's url 2015-07-29 10:03:42 -04:00
hmhealey
0e121a68de Changed the thumbnail for non-image file attachments to open the ViewImageModal on click like it does for image attachments 2015-07-29 09:56:29 -04:00
hmhealey
92c9ec71a0 Fixed race condition which could occur while requesting the file size for the file attachment previews 2015-07-29 09:52:09 -04:00
hmhealey
0f0a887205 Removed unused custom-file CSS class that was being applied to non-image file attachment previews 2015-07-29 09:52:09 -04:00
hmhealey
ca2b73eac3 Fix ViewImageModals created by RHS posts so that their ids are distinct from those in the main window 2015-07-29 09:52:09 -04:00
hmhealey
5488b5e216 Reconcile the code to display attachment previews into a FileAttachmentList class to clean up duplicated code. 2015-07-29 09:52:08 -04:00