Commit graph

687 commits

Author SHA1 Message Date
Elias Nahum
a1f3c2c6ef
Do not show the option to copy post if there is no text (#2240) 2018-10-13 01:37:16 -03:00
Elias Nahum
94dec5e443 Fix uploading iOS videos (#2260) 2018-10-12 17:33:18 +08:00
sudheer
e480dcfacb MM-12652 Fix for android thread crash 2018-10-12 00:38:12 +05:30
Elias Nahum
62026e375a
Set explicit white background to icon previews (#2256) 2018-10-11 15:32:09 -03:00
sudheer
9c22be4465 MM-12491 Fix archive channels staying in LHS
* Add isArchived flag for all DM's and channels
 * Exclude search results from channel_list component to show
   results when isSearchResult flag is set
   This is to let user search for deactivated users from jumpto
2018-10-11 23:12:57 +05:30
Elias Nahum
b5b948e58f
Properly handle max file size (#2248)
* Properly handle max file size

* Feedback review
2018-10-11 14:12:11 -03:00
Sudheer
61a33b3025 MM-12560 Fix for infinite loading indicator for thread from search (#2246)
* MM-12560 Fix for infinite loading indicator for thread from search

* Change tests
2018-10-11 00:00:08 +05:30
Elias Nahum
2e5f7fd60c
Fix KeyboardAvoidView for android (#2226) 2018-10-09 11:55:11 -03:00
Saturnino Abril
09a49302f2 Add deactivated to separate row on user list and fix truncating user info (#2232) 2018-10-09 20:51:39 +08:00
Saturnino Abril
68fe3653a8 add opacity of 0.3 to circle stroke of offline status (#2233) 2018-10-09 20:48:41 +08:00
Elias Nahum
b3ec19fe17
Fix Option to capture and share video (#2225) 2018-10-05 17:47:55 -03:00
Harrison Healey
dff9628b6e MM-12189 Set autocomplete max height based off available space (#2218)
* MM-12189 Set autocomplete max height based off available space

* Have each autocomplete type determine its own max height since DateSuggestion needs more space

* Remove unused props and ref
2018-10-05 09:58:53 -04:00
Saturnino Abril
82d9995f2b fix issue that blocks adding test for thread screen (#2221) 2018-10-05 21:50:03 +08:00
Elias Nahum
112fd06dfd
Revert "image thumbnail not centered (#2210)" and fix it properly (#2219)
This reverts commit 5f31374e74.
2018-10-04 19:42:17 -03:00
Joram Wilander
b41777a7e0
MM-12348 Persist interactive menu choices past channel switch and share with thread view (#2207)
* Persist interactive menu choices past channel switch and share with thread view

* Remove unneeded async
2018-10-03 15:08:35 -03:00
Sudheer
783dc66b2a
MM-12301 Add padding for error text on edit profile screen (#2214) 2018-10-03 15:07:12 -03:00
Elias Nahum
1c093f70a4
image thumbnail not centered (#2210)
* image thumbnail not centered

* feedback review
2018-10-03 15:05:22 -03:00
Saturnino Abril
793aea617c fix empty space on link preview when title and URL is not present in open graph meta (#2197) 2018-10-03 21:48:05 +08:00
Elias Nahum
ed3e822b63
Draft channel indicator to ignore message with whitespaces only (#2209) 2018-10-03 09:51:20 -03:00
Harrison Healey
bc159153d6 MM-12424 Remove unused props from KeyboardLayout and simplify methods (#2203)
* MM-12424 Remove unused props from KeyboardLayout and simplify methods

* Update snapshots
2018-10-02 17:13:04 -04:00
sudheer
167b91d7fd MM-12347 Fix crash of app when accessing jumpTo 2018-10-02 22:51:50 +05:30
Saturnino Abril
cb1e286e4f Update unit test: use default theme, snapshot on wrapped elements and removal of unnecessary adapter (#2171)
* use default theme when unit testing the component

* update snapshots by getting wrapped elements only

* fix merge conflicts
2018-10-01 15:12:10 +08:00
Saturnino Abril
fb2f711359 fix blank space on link preview when no site name (#2193) 2018-10-01 15:07:49 +08:00
Saturnino Abril
07ff66726c add border to image of link preview and not allow such image width to exceed the view port width (#2189) 2018-10-01 09:39:49 +08:00
Saturnino Abril
bf36a7533e [MM-12145] Make user info of user list on two rows: first with username and second with teammate display (#2185)
* make user list row on two columns: first is username, second is teammate display

* move style of filler
2018-09-28 11:36:43 -03:00
Christopher Speller
cd38d8690f Switching broken image error text to icon. (#2156) 2018-09-28 10:28:40 +08:00
Jesús Espino
2a75ee022c
MM-11606: Back to prev channel on close archived channel (#2183) 2018-09-27 19:02:02 +02:00
Jesús Espino
9bd89930b7
MM-11567: Autocomplete search in: for DMs and GMs (#2133)
* MM-11567: Autocomplete search in: for DMs and GMs

* More robust behavior on older versions and a fix on autocompletion

* Moving get display_name for search to a selector
2018-09-27 18:38:07 +02:00
Saturnino Abril
ce47c23100
[MM-9490] Add reaction list (#2125)
* add reaction list

* update styles and add tests

* update styles

* update per comment
2018-09-27 21:54:17 +08:00
Elias Nahum
48b945d6f9
Localization support for the calendar (#2182) 2018-09-27 10:40:21 -03:00
Elias Nahum
eab1ab7c0c Add support for new iPhone models in missing places (#2180) 2018-09-27 09:16:19 -04:00
Sudheer
13aaefa0ac [MM-11988] Fix File Upload loading progress indicator alignment (#2181) 2018-09-27 15:15:45 +02:00
Elias Nahum
2567b7dc04
Add draft indicator to the channel item (#2150)
* Add draft indicator to the channel item

* Feedback review
2018-09-26 12:17:54 -03:00
Elias Nahum
4cebbfdc94 Fix YouTube play button position (#2160) 2018-09-26 11:14:51 -04:00
Elias Nahum
f522df7a2e Refactor postlist to include Android Pie fixes and smoother scrolling (#2161) 2018-09-26 10:43:33 -04:00
Elias Nahum
e6c37e5e69 Do not fetch image if file.id is not present (#2165) 2018-09-26 10:26:35 -04:00
Elias Nahum
452b97231d Remove bottom margin in the channel drawer (#2168) 2018-09-26 13:23:22 +08:00
Elias Nahum
0e15692f13 Add support for iPhone XR, XS and XS Max (#2153) 2018-09-25 14:03:05 -04:00
Elias Nahum
6e25dbf04b
Adding CSRF header to file uploads/downloads (#2151) 2018-09-24 10:51:32 -03:00
Jesús Espino
8884293b18 Add t() translation mark to i18nable strings and update translations (#2026)
* Add t() translation mark to i18nable strings and update translations

* Small fixes

* Adding  to the packager

* Rebase fixes

* Added missed texts
2018-09-21 11:25:38 -03:00
Sudheer
a6e15320d4 MM-11974, MM-11980 Add deactivated user to LHS search (#2080)
* MM-11974, MM-11980 Add deactivated user to LHS search

 * Add (you) to current user in jumpto search

* Change to use old format of objects for non-search results

* Remove deactivated when searched using JumpTo

  * Use archive icon in JumpTo Search for deactivates users

* Update snapshots

* Change snapshots to use getElement

* Fix snapshot
2018-09-21 21:06:33 +08:00
Saturnino Abril
63196936d0
MM-12258 Update snapshots to only compare against the elements and not the bloated objects (#2140)
* update snapshots to only compare against the elements and not the bloated objects

* resolve conflicts to master
2018-09-21 16:07:37 +08:00
Elias Nahum
637ca9244a
Update RN to version 0.57.0 (#2131) 2018-09-20 19:05:41 -03:00
Joram Wilander
ef3ba7eb00
MM-11934 Add interactive action menus (#2099)
* Add interactive action menus

* Add snapshot tests

* Updates per feedback

* Update styling of menu action

* Updates per feedback

* Update submitted message color

* Update snapshots
2018-09-20 14:01:51 -04:00
Saturnino Abril
858c8e8435 [MM-12016] Add test to PostAttachmentOpenGraph component (did some refactor to make it easily tested) (#2144)
* add test to PostAttachmentOpenGraph component (did some refactor to make it easily tested)

* remove null check to openGraphData on renderDescription
2018-09-20 11:45:23 -03:00
Saturnino Abril
b75aa36554 Fix build error on Hashtag component (#2134)
* fix build error on Hashtag component

* update commonmark-react-renderer
2018-09-18 12:27:41 -03:00
Sudheer
710ce17a19
MM-12038 Fix attachment icon styling (#2115)
* MM-12038 Fix attachment icon styling

  * Fix attachment icon background-color.
  * Fix attachment icon alignment when downloading.
2018-09-18 20:51:04 +05:30
Harrison Healey
ecf25969cc Fix version of commonmark-react-renderer in package.json (#2136)
* Fix version of commonmark-react-renderer in package.json
2018-09-18 20:37:49 +05:30
Harrison Healey
578f204784 MM-10273 Add hashtag support (#2106)
* MM-10273 Add hashtag support

* Put hashtag search in a proper modal

* Change hashtag search style to match regular search

* Move Hashtag component and explicitly pass props

* Add unit tests for Hashtag component

* Fix merge conflict
2018-09-17 17:17:20 -03:00
Elias Nahum
07f88071c6
Update dependencies (#2040)
* Update dependencies

* Update snapshots
2018-09-17 10:22:38 -03:00