Commit graph

677 commits

Author SHA1 Message Date
Elias Nahum
43cdaa81a5
Fix Option to capture and share video (#2225) 2018-10-05 17:46:47 -03:00
Harrison Healey
4e251d392a
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:05 -04:00
Saturnino Abril
dd506d4c9f
fix issue that blocks adding test for thread screen (#2221) 2018-10-05 14:46:21 +08:00
Elias Nahum
fa5efd4007
Revert "image thumbnail not centered (#2210)" and fix it properly (#2219)
This reverts commit 5f31374e74.
2018-10-04 19:41:41 -03:00
Joram Wilander
10a1e93e7d 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:05 -03:00
Sudheer
5323be6a52 MM-12301 Add padding for error text on edit profile screen (#2214) 2018-10-03 15:06:42 -03:00
Elias Nahum
5f31374e74 image thumbnail not centered (#2210)
* image thumbnail not centered

* feedback review
2018-10-04 01:37:59 +08:00
Saturnino Abril
df0200111d fix empty space on link preview when title and URL is not present in open graph meta (#2197) 2018-10-03 09:32:35 -04:00
Elias Nahum
29d975ceef Draft channel indicator to ignore message with whitespaces only (#2209) 2018-10-03 08:44:32 -04:00
Harrison Healey
f5d1c3c434
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:12:21 -04:00
Sudheer
46143df823
MM-12347 Fix crash of app when accessing jumpTo (#2205) 2018-10-02 22:51:59 +05:30
Saturnino Abril
3c99672af5
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:11:00 +08:00
Saturnino Abril
2cf3ac18f5
fix blank space on link preview when no site name (#2193) 2018-10-01 15:06:31 +08:00
Saturnino Abril
1fbfe33a22
add border to image of link preview and not allow such image width to exceed the view port width (#2189) 2018-10-01 09:34:30 +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
Elias Nahum
6471bcbed3
Merge pull request #2130 from mattermost/release-1.12
Merge Release 1.12
2018-09-17 09:12:27 -03:00
Elias Nahum
24185dc47d
Fix post background color from getting stuck (#2126) 2018-09-15 19:27:49 -03:00
Jesús Espino
280577dbc7 MM-11725: Using the new server endpoint to autocomplete channels (#2100)
* MM-11725: Using the new server endpoint to autocomplete channels

* Fixing suggestions from the PR

* Updating mattermost-redux dependency

* Removing unnecesary Client4.getServerVersion usage
2018-09-14 15:06:11 -04:00
Sudheer
5aac68e785 Change rn-fetch-blob to mock globally in jest (#2124) 2018-09-14 12:14:37 -03:00
Elias Nahum
5c0e4acf2a
Merge pull request #2118 from mattermost/release-1.12
Merge Release 1.12
2018-09-13 18:40:17 -03:00
Elias Nahum
48a311344c
Fix drawer stutter when jumping to a DM or joining a channel (#2113) 2018-09-13 16:27:45 -03:00
Elias Nahum
1c5bbbd996
Merge pull request #2105 from mattermost/release-1.12
Merge Release 1.12
2018-09-11 19:14:37 -03:00
Harrison Healey
675c440cd7 MM-12109 Fix handling of return value of getRedirectLocation (#2102) 2018-09-11 18:28:55 -03:00
Harrison Healey
3005a39f07 MM-12109 Switch to using server API to determine redirect location (#2097)
* Switch to using server API to determine redirect location

* Update redux to add version check for getRedirectLocation
2018-09-11 18:06:13 -03:00
Elias Nahum
b096ea0a03
Fix iOS tap on post (#2095) 2018-09-11 08:31:42 -03:00