Commit graph

46 commits

Author SHA1 Message Date
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
Saturnino Abril
c1317f0e94 add protection (emoty object) when accessing id after declaring an object. (#1970) 2018-08-07 08:11:50 -04:00
Martin Kraft
0d0dfb1057 MM-11070: Adds ability to view archived channels. (#1927)
* MM-11070: Adds ability to view archived channels.

* MM-11070: Switches to existing selector.

* MM-11070: Uses boolean prop instead of object.

* MM-11070: Reuses web translations.

* MM-11070: Adds archived message to thread view. Switches to selector for postIDs of archived channels.

* MM-11070: Removed unused import.

* MM-11070: Removes edit and delete options from longpress of archived posts.

* MM-11070: Moves closure variable.

* MM-11070: Switch from hard-coded to theme color.

* MM-11070: Hides actions in header of archived channels.

* MM-11070: Updates Redux.

* MM-11070: Re-adds the 'Leave Channel' option for archived channels.
2018-07-31 15:27:38 -04:00
Elias Nahum
2f3a6f98ac Fix close setting sidebar when setting status (#1954) 2018-07-31 14:13:20 -04:00
Sudheer
e45a3a0bb9
[MM-11258] Clear jumpTo focus on drawerClose (#1944)
* Clear jumpTo focus on drawerClose
* Fix conditional if for clearSearch
2018-07-27 12:47:13 +05:30
Elias Nahum
f6a1927a27
Fix closing app with Android Back Button (#1933) 2018-07-18 12:20:18 -04:00
Harrison Healey
0d91ef64a1 MM-11207 Fixed wrapping of username in menu (#1930) 2018-07-18 07:22:02 +08:00
Elias Nahum
a8202b8311
Fix regression DMs will not open using jump to (#1920) 2018-07-12 11:18:26 -04:00
Elias Nahum
3aad874ac6
Fix join channel from jump to drawer (#1915) 2018-07-11 19:31:15 -04:00
Elias Nahum
01792f2b54
Handle bad state (#1903)
* Upgrade mattermost-redux

* Check if url start with http before pinging

* Remove required status prop in settings sidebar

* Prevent the app to get into a bad state and if that happens try and recover
2018-07-09 18:33:13 -04:00
Elias Nahum
3a2e8e256a
Set the proper size to the drawer when device rotates (#1899) 2018-07-09 15:46:54 -04:00
Elias Nahum
5d579cdfcf
Bold unread channels in jump to channel (#1879) 2018-07-04 10:40:56 -04:00
Elias Nahum
dca5e85449 Fix Main sidebar responder (#1854) 2018-06-29 18:42:48 +05:30
Elias Nahum
ba09fb9792 Sidebars improvement (#1787)
* Sidebars improvement
* Explicitly handle Android back button in code screen
* return null on getDerivedStateFromProps when no state changes needed
2018-06-26 01:17:53 +05:30