Commit graph

63 commits

Author SHA1 Message Date
Chris Duarte
4d9780da56 Ios accessibility fixes (#2842)
* UCHAT-4371 // MM-15771 - iOS - Larger Fonts Cut Off Text in menu and settings screens

revert padding right

* Update snapshot
2019-06-21 16:10:16 -04:00
Elias Nahum
3f925df9d9 MM-16392 Split view support & hide sidebar on tablets (#2898) 2019-06-21 14:10:30 -04:00
Eli Yukelzon
056d5a91b7 MM-15486 - Archived channels appear incorrectly on mobile (#2882)
* properly separate archived channels from 'other'

* make sure fetch is performed to display full list

* reverted unneeded change

* corrected display behaviour

* code cleanup

* redux commit reference updated
2019-06-17 10:22:36 -04:00
Elias Nahum
29240b9c6f
MM-16061 Keep unread channels in place on Tablets (#2865) 2019-06-06 15:15:40 -04:00
Elias Nahum
bb8f524983
MM-16070 Fix channel sidebar state while filtering (#2864) 2019-06-05 19:33:23 -04:00
Woolim Cho
b81cd49fb4 [MM-13879] Add Edit profile button to RHS menu and own profile pop-over (#2832)
* Add Edit Profile button to right panel menu

* Make user info of right panel menu opens the users own profile

* Add an Edit button of the users own profile

* handle transitions

* Add commandType to propTypes

* Update test codes

* add unit tests for user_profile

* Assign commandType manually

* Remove async, set delay to 0
2019-06-05 16:11:42 +08:00
Elias Nahum
ecfeee78a2 Allow drawer pan responder when switching teams (#2823) 2019-05-23 09:00:48 -07:00
Elias Nahum
f7f56e958b
MM-9494 & MM-13888 Tapping execute actions & interactive keyboard dismissal (#2799)
* MM-9494 & MM-13888 Tapping with the keyboard opened executes the action & iOS iteractive keyboard

* Fix tests

* feedback review

* add new line at the end of file

* feedback review and added todo list

* Track interactive dismiss keyboard and set scrollview bounds natively

* Fix snapshots

* Fastlane default to current branch when no BRANCH_TO_BUILD is set

* Set NODE_OPTIONS in ios build script

* Rebind scrollview when channel gets first set of posts

* Keep scrolling momentum on keyboard close

* Update react-native-keyboard-tracking-view

* Fix ScrollView offset with keyboard-tracking

* Fix offset while dragging the keyboard

* Allow action on channel drawer on tablets

* Fix typo

Co-Authored-By: Saturnino Abril <saturnino.abril@gmail.com>

* Fix indentation
2019-05-20 12:02:00 -04:00
Elias Nahum
2b4574885b
Keep the channel drawer opened on tablets (#2793)
* Keep the channel drawer opened on tablets

* update en.json after running mmjstool

* Set the channel drawer to width 220

* feedback review

* PM Review

* Fix snapshots
2019-05-16 20:40:32 -04:00
Elias Nahum
f36ee37402
Upgrade to RN 0.59.6 and dependencies (#2777)
* Upgrade to RN 0.59.6 and dependencies

* Remove channel loader unused style

* Update to the latest netInfo that fixes a crash

* Do not set default timezone with moment

* Use RN 0.59.8
2019-05-13 13:33:18 -04:00
scott lee davis
6cf8d1a9e8 MM-15442 Filtered list not showing bot account icon (#2787)
* handle channel.isBot undefined state gracefully

* Use Boolean for is isBot check

Co-Authored-By: Christopher Speller <crspeller@gmail.com>
2019-05-13 08:45:51 -07:00
Miguel Alatzar
45e5bae8da
Avoid possible reading of length property on undefined (#2783) 2019-05-10 09:34:23 -07:00
Saturnino Abril
e086d66ec2
[MM-13955] Add telemetry for Android (#2719)
* add markers for Android profiling

* update per comments

* Remove beta build flag

* update per comment, latest change on telemetry server and others

* rebase and fix merge conflicts, and update per comments

* update commit hash of mattermost-redux
2019-05-08 00:23:59 +08:00
Miguel Alatzar
10196d5fad
MM-14541 Fix search bar animation stutter in main search bar (#2672)
* Do not expand drawer on search start

* Add state.searching for determining showTeams

* Add leftComponent prop to SearchBar to render SwitchTeamsButton

* Update snapshot tests

* Use native driver when possible and fix start calls
2019-04-22 19:01:17 -07:00
Christopher Speller
ec9e46fb62
MM-13618 Adding bot tags. (#2669)
* Adding bot tags.

* Snapshot update.

* Moving bot tag to own component.

* Snapshots.

* Adding missing bot tags, fixing bot profile, allowing tap of bot username to open profile.

* Snapshots and tests.
2019-03-26 16:59:45 -07:00
Elias Nahum
41c675fd84
Set the correct channel display name when switching teams (#2625) 2019-03-05 11:56:24 -03:00
Elias Nahum
614e8e32ca
MM-13974 Missing translations (#2549)
* Missing translations

* update snapshots
2019-02-05 19:15:31 -03:00
Dean Whillier
da32c22c56
Enable tapping on channels when jump to textfield is focused. (#2535)
* Allow tapping on channels in the filtered list …

… when the keyboard is open. This option also allows tapping on non-interactive areas to still dismiss the keyboard.

* keyboard propery updates

- change ‘on-drag’ to ‘interractive’
- change ‘handled’ to ‘always’ to be more consistent with other uses of same property

* support multiple keyboard dismiss modes
2019-01-30 15:55:02 -05:00
Elias Nahum
5e1db3497f
LHS use getSortedFavoriteChannelIds instead of getFavoriteChannelIds (#2471) 2018-12-28 08:32:56 -03:00
Harrison Healey
317d26ed64 MM-13421 Fix channel sidebar sometimes using old permissions (#2450) 2018-12-12 09:38:57 -03:00
Harrison Healey
901a59a01b MM-13420 Always show the Unreads section in the channel list (#2451) 2018-12-12 09:37:12 -03:00
Elias Nahum
11497ab270
Hide Favorite channel section when there are not favorite channels (#2439) 2018-12-10 09:18:13 -03:00
Elias Nahum
b6eb57ae57
Fix team mention badge alignment on iOS (#2427) 2018-12-07 12:22:41 -03:00
Saturnino Abril
c2c517f3da make circular badge on jewel for single-digit mention (#2422) 2018-12-06 12:11:42 -05:00
Elias Nahum
ac3a614d8f Fix jewel in team sidebar for android (#2386) 2018-11-28 10:28:31 -05:00
Elias Nahum
68a3825d95
Update dependencies (#2316) 2018-11-18 17:54:06 -03:00
Chris Duarte
5c24375dae Reorganize sidebar channel items via pref (#1928)
* Reorganize sidebar channel items via pref
Add onItemPress


Add isModal prop


Add options modal for ungrouped sidebar


Filter zero item unreads from sections


Refactor unread filtering

Add SidebarSectionTypes to constants

Update mm-redux dep

Remove unused variable

* Fix lint errors. Update redux commit

* Add recent activity title

* Review feedback

* Fix issues after rebase

* Review feedback

* Change to use getAllDirectChannels

* Update redux library

* Fix lint error

* Update modal list snapshot
2018-11-09 13:06:21 -03:00
Elias Nahum
9dcf9e6a86
Show join teams option in the team sidebar when there are other joinable teams (#2293) 2018-10-31 14:07:59 -03:00
Elias Nahum
e6f70707cc
Allow channel drawer to close when showing the team list (#2290)
* Allow channel drawer to close when showing the team list

* prevent closing the sidebar when jump to is active

* Add proper header to drawer_layout.js
2018-10-31 13:40:22 -03:00
Elias Nahum
bfdd0f7b42
Add padding to tap effect for team list item (#2291) 2018-10-30 09:48:36 -03:00
Sudheer
7a65d83894
Use native transition on drawyerLayout component (#2278) 2018-10-19 01:56:29 +05:30
Sudheer
1b54e1ebe3
Fix for LHS populating you next to current user (#2263)
* Fix for LHS populating you next to current user

* Add test cases
 * Refactor to use avaiable props conditions in component
   instead of passing flags from connector
2018-10-15 21:00:11 +05:30
Sudheer
3eb66c591e
MM-12491 Fix archive channels staying in LHS (#2253)
* 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:17 +05:30
Elias Nahum
29d975ceef Draft channel indicator to ignore message with whitespaces only (#2209) 2018-10-03 08:44:32 -04:00
Sudheer
46143df823
MM-12347 Fix crash of app when accessing jumpTo (#2205) 2018-10-02 22:51:59 +05:30
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
452b97231d Remove bottom margin in the channel drawer (#2168) 2018-09-26 13:23:22 +08: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
Elias Nahum
07f88071c6
Update dependencies (#2040)
* Update dependencies

* Update snapshots
2018-09-17 10:22:38 -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
Saturnino Abril
059db1a788
fix warnings in running jest test (#2087) 2018-09-07 23:05:35 +08:00
Elias Nahum
cfbdb23035
Fix Jump to Channel DMs not showing (#2021) 2018-08-22 21:06:18 -03:00
Sudheer
f06e90407a [MM-11487] Add a defensive check for channel obj (#1967)
* [MM-11487] Add a defensive check for channel obj

* Fix review comments

* Add a modal to show feedback to user about failed join

* Fix error message
2018-08-13 10:26:05 -03:00
Sudheer
b76319e9c6 [MM-11170] Remove loader and someone from LHS (#1973) 2018-08-11 12:07:27 -04:00
Sudheer
70f8fb580d [MM-11258] Close keyboard on close of LHS (#1989) 2018-08-09 08:30:15 -04:00
Sudheer
8ab2373d7b [MM-11051] Add a loading_palceholder when user info is loading (#1972)
* MM-11051] Add a loading_palceholder when user info is loading

* Update package json and lock
2018-08-07 10:30:52 -04:00