Anant Bhasin
28ab90857c
[FIX] Non-reply attachments displaying time ( #2902 )
...
* Remove time if no message_link
* Fix message stories for replies
* Final stories fix
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2021-04-01 18:06:50 -03:00
Anant Bhasin
d6200745c0
[FIX] Make attachment validation compatible with web client ( #2927 )
...
* [FIX] Make attachment validation compatible with web client
* Added stories
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2021-04-01 18:01:58 -03:00
Anant Bhasin
e32ed8be09
[FIX] Regex typo on markdown ( #2928 )
...
* [FIX] Fix Regex Typo
* Add story for testing
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2021-04-01 17:54:31 -03:00
Gung Wah
632751898c
[FIX] Search input not using the whole header space ( #3012 )
...
* [FIX] Search input not using the whole space
* Fix on getHeaderTitlePosition
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2021-04-01 11:09:02 -03:00
Diego Mello
656127aaab
[FIX] App crashing when attachment color is an invalid HEX ( #3021 )
2021-04-01 10:32:03 -03:00
Gerzon Z
25b71155e6
[IMPROVEMENT] User status icons ( #2991 )
...
* Add status and teams
* Update icons, icon size and getUsersPresence
* Minor changes
* Refactor RoomTypeIcon
* Minor tweaks
* Update unit tests
* Minor fixes
* Fix styles
* Small refactor
* Update jest
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2021-03-31 14:47:17 -03:00
Anant Bhasin
2ea7e9d3f9
[FIX] Attachment not rendering markdown ( #2924 )
...
* [FIX] Render markdown in Fields content
* Added stories
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2021-03-18 11:44:09 -03:00
Gung Wah
e1a7f43552
[TESTS] Add E2E tests to discussions ( #2970 )
...
* [E2E TEST] Discussions
* fix error Cannot find UI elemen
* Fix tests
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2021-03-18 11:36:50 -03:00
Gerzon Z
b2c200a5d1
[IMPROVEMENT] Message attachment colors ( #2860 )
...
* Added convertStrToHex function and updated Reply component
* Removed convertStrtToHex function and added attachmentBackground
* Added color2k, removed transparent view and applied transparentize to backgroundColor
* Added stories
* Update Reply stories
* Update Reply stories
* Fix lint
* Update Reply stories
* Fix props
* Move tests to Message stories
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2021-03-18 10:13:44 -03:00
Diego Mello
a56dade12b
[FIX] Messagebox's placeholder color is too bright ( #2968 )
2021-03-05 13:21:18 -03:00
Diego Mello
cc8dc6a75a
[FIX] Deep linking and other connectivity issues ( #2894 )
...
* Navigate from push notification only if necessary
* Use JS SDK branch
* Stop reconnecting if it's already connected
* Fix RoomsListView forever loading after tapping push notification of another server
* Execute fewer operations on app/index
* Remove roomsRequest call from onForeground
* Apply check and reopen
* Stop opening in-app notification when the app is on backgorund
* Connecting tweaks
* Fix deep linking not working if the app is on background
* Force reset yarn cache
* Upgrade JS SDK
* Remove listener on unmount
* Fix resume on Android after back button is pressed
* Fix local authentication resume
* Fix back button android
* Change JS SDK branch
2021-03-05 13:10:21 -03:00
Gerzon Z
3e8d22336d
[FIX] Reactions modal's backdrop color too light ( #2949 )
...
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2021-02-26 15:44:00 -03:00
Gung Wah
98890df773
[CHORE] Use shortcut syntax for get collections ( #2932 )
...
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2021-02-26 13:25:51 -03:00
Gerzon Z
d6da8665c6
[IMPROVEMENT] Remove lodash.isEqual ( #2893 )
...
* Added dequal and react-fast-compare as substitutes to lodash.isEqual
* Update ReplyPreview.js
* Remove react-fast-compare
* Removed deep-equal and upgrade babel-eslint dev dependency
* Fix avatar
* Fix Messagebox
* Fix CreateDiscussionView
* ModalBlockView
* NewMessageView
* ProfileView
* RoomInfoEditView
* ServerDropdown
* Return local search as object instead of observable
* SelectedUsersView
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2021-02-26 13:01:45 -03:00
Gung Wah
e98116587d
[CHORE] Add permissions to Redux ( #2914 )
...
* [FIX] Add permissions to Redux store
* add only permissions being used in the app
* add clear permissions reducer
* call RocketChat.hasPermission from reducer
* add server version comparison on getPermissions
* refactor hasPermission function
* refactor hasPermission function
* remove uncomment code
* use Q.experimentalSortBy()
* add coerce function
* Change Rocketchat.hasPermission
* Apply on isReadOnly
* Apply to RoomInfoEditView
* Apply to RoomInfoView and RoomInfoEditView
* canAutoTranslate
* Unnecessary clear permissions
* Revert getUpdatedSince
* Naming fix
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2021-02-25 13:41:44 -03:00
Gung Wah
6e32a15cad
[FIX] System message of e2e encryption is missing ( #2888 )
...
* [FIX] System message of e2e encryption missing
* add new encryption string
* add to stories
* Add pt-BR
* Move stories
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2021-02-24 13:33:39 -03:00
Gung Wah
09843aa588
[FIX] App not sending second argument for EventEmitter.removeListener on some places ( #2909 )
...
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2021-02-23 16:00:39 -03:00
Gung Wah
5b518b4207
[FIX] Can't copy or edit media's description ( #2885 )
...
* [FIX] Image descriptions issues
* shorten the condition string
* fix selectedMessage state
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2021-02-23 14:24:05 -03:00
Anant Bhasin
cecffdb93c
[IMPROVE] Deleted thread reply redirects to thread ( #2840 )
...
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2021-02-23 11:00:41 -03:00
Gerzon Z
4c148bde3b
[CHORE] BackdropOpacity based on themes ( #2863 )
...
* Added backdropOpacity based on theme
* Updated ActionSheet, ReactionsModal, ReactionPicker and Sidebar
* Updated MultiSelect
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2021-02-19 15:05:47 -03:00
Anant Bhasin
9a8047e64d
[FIX] Reply component sending unused prop to Description ( #2900 )
...
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2021-02-18 16:01:20 -03:00
yash-rajpal
0d5e50eb4b
[FIX] Real name setting ignored on reply preview ( #2908 )
...
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2021-02-18 15:53:46 -03:00
Gerzon Z
ba3de14a7b
[FIX] App compressing videos on iOS ( #2915 )
...
* Update index.js
* Update index.js
2021-02-18 15:50:36 -03:00
Gerzon Z
4d9410ad60
[IMPROVEMENT] Check for focused rooms on in-app notifications ( #2857 )
...
* Update InAppNotification and room reducer
* Update InAppNotification
This reverts commit 60330a1e04cfe8d2e5aa311f367083d831682c49.
* Stop subscribing to threads
* Remove ref
* Fix prop-types
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2021-02-11 18:42:50 -03:00
Diego Mello
acd5f04314
[FIX] Share extension memory issues on iOS ( #2845 )
...
* Remove unnecessary class prop
* Stop rendering servers when there's only one
* Map and alloc only necessary columns from query
* Fetch servers count instead of all servers records
* Fetch only needed servers
* Separators
* Remove renderContent
* Minor fix
* Refactor query
* Smaller avatars in memory
* Fix getItemLayout
* Add topic
* Load less pods
* tests
* Import only used functions from lodash
* Fix pods
* Import only used functions from semver
* Fix media sharing
* Update pods
* Disables preview and thumb on iOS
* Update expo-video-thumbnail
* Unnecessary change
2021-02-01 14:18:55 -03:00
Gerzon Z
bd09cd32a0
[FIX] Wrong styling on E2E encryption banner ( #2767 )
...
* [FIX] Wrong styling on E2E encryption banner
* [FIX] Wrong styling on E2E encryption banner
* [FIX] Wrong styling on E2E encryption banner
* [FIX] Wrong styling on E2E encryption banner (#2767 )
* Updated SortDropdown, ListHeader, ListItem and added stories for List.Item
* Updated SortDropdown
* Removed unused component
* Updated List.Item and stories
* Reverted unnecessary changes and updated ListItem stories
* Fix minor indentation
* Stop breaking Touch's default underlay color
* Fix indentation
* Remove falsy comparison from render
* Fix left icon
* Use List.Item on OmnichannelStatus
* Add missing separator
* Lint
* Fix sort dropdown
* Remove unnecessary styles
* Fix detox
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2021-01-21 16:52:26 -03:00
yash-rajpal
4b96d308a7
[FIX] Messagebox missing style for text color ( #2786 )
...
* Changing auxilaryTintColor
* Changed Placeholder color to BodyText color
* added color prop
* eslint changes
* used array for styles
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2021-01-20 14:47:50 -03:00
Diego Mello
b77603c729
[FIX] Messagebox tracking lost on pop gesture navigation ( #2799 )
...
* Use setTimeout instead of InteractionManager
* Update tracking lib
2021-01-15 11:14:25 -03:00
Djorkaeff Alexandre
4d13689503
[IMPROVEMENT] Threads layout tweaks ( #2686 )
...
* improvement: Thread Details
* fix: re-render Thread Messages Item
* fix: update snapshots
* improve: thread details component
* fix: cast replies length
* improvement: format date of threads
* improvement: thread details styles
* fix: wrap text
* tests: update snapshot
* improvement: use same date format for all dates
* Icon size 24
* Remove date
* Remove prop drill
* Badge position
* Badge container tweak
* Fix inline style
* Move ThreadDetails to containers
* Update stories
* Fix lint
* Remove wrong prop
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2021-01-14 14:06:19 -03:00
Diego Mello
7c09112656
[FIX] App freezing if Markdown preview contains sequential empty spaces ( #2726 )
...
* Remove sequential empty spaces from Markdown preview
* Use Markdown preview on RepliedThread
2020-12-18 11:14:25 -03:00
Djorkaeff Alexandre
5d4e820988
[FIX] Empty space on Messagebox ( #2704 )
...
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2020-12-14 13:30:25 -03:00
Dave Koo
b0b9d62a91
[IMPROVEMENT] Add username on status messages ( #2553 )
...
* 1689 - missing user name for status messages
* 1689 - missing user name for status messages. Fixed broken e2e test "should pin message".
* Minor tweak
* Remove center style
* Small refactor on User
* Remove toLowerCase
* Update tests
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2020-12-01 16:26:03 -03:00
Djorkaeff Alexandre
13c3bc3c1b
[FIX] Thread message flickering while thread parent isn't found ( #2676 )
...
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2020-12-01 09:59:59 -03:00
Diego Mello
7b4be8bddf
[FIX] Messages overlapping and emoji keyboard not opening ( #2670 )
...
* Replace keyboard libs for react-native-ui-lib
* Apply Jitsi branch
* Require keyboard on bundle
* Update ui-lib
* chore: update deps
Co-authored-by: Djorkaeff Alexandre <djorkaeff.unb@gmail.com>
2020-12-01 08:58:51 -03:00
Djorkaeff Alexandre
10ba9d5138
[NEW] Support RTL ( #2656 )
...
* wip: RTL (iOS)
* wip: RTL (Android)
* wip: reload bundle when change between RTL languages
* fix: Stack Animation on Android
* fix: update snapshot
* fix: Swipe Room Actions in RTL mode
* fix: snapshots
* Move isRTL to i18n
* Fix styling
* Update tests
* Update pods
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2020-11-30 18:47:05 -03:00
Diego Mello
40490ea66c
[NEW] Channel actions ( #2644 )
...
* room roles
* handle owner
* endpoints
* Leader and Moderator
* Remove user from room
* stash ignore
* Add subscription.ignored column
* ignore user
* Fix icons
* I18n
* Minor i18n fixes
* Direct Message and open action sheet after a normal tap
* Fix icon
* stash isIgnored
* isManualUnignored message
* Fix update
* Ignored
* Mute, moderator, leader, owner, remove from room
* ignore
* Tests
* pt-BR
* Update pods
* Apply requested changes
* Add RC version on requests
2020-11-30 17:00:31 -03:00
Diego Mello
8cac76601f
[FIX] Threads not being updated and other related issues ( #2636 )
...
* Fix parent title on thread header breaking lines
* Fix https://github.com/RocketChat/Rocket.Chat.ReactNative/issues/2519
* Fix thread badge not being updated
2020-11-12 11:17:32 -03:00
Djorkaeff Alexandre
192f3f1aa0
[FIX] Search messages crashing when show a thread message ( #2618 )
...
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2020-11-06 12:47:58 -03:00
Diego Mello
3a14e45470
[FIX] Header title positioning not changing according to the number of icons ( #2608 )
2020-11-04 16:13:29 -03:00
Saket Mahajan
8bc32a3e77
[BUG] App isn't showing message for PDF/file uploads ( #2584 )
...
* Fixed the issue #2531
In app/containers/message/Reply.js added a View Contaier around the
Attachment Touchable and Added a Markdown attribute with msg set to
description of attachment to display the message if any.
* Added the condition to check if File Description Exists
Added an if statement to check if file description exists and if yes
then add a markdown with value msg equal to the description.
Also tested using 'yarn test -u' to add/update the tests.
* Made the requested Changes
Removed the condition to check for attachment description.
Added the `markdown` inside the touchable and wrapped `attachmentContainer` and the `markdown` inside a `<>` component
* Added file not showing message issue code in this branch
* Fixed the mistake in return
* fix
* Add tests
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2020-11-04 14:25:06 -03:00
Djorkaeff Alexandre
080b8cc3fc
[FIX] Storybook not able to import Avatar ( #2607 )
...
* [FIX] Storybook not able to import Avatar
* Fix lint
* Mock Date.now
* Fix RU translation
* isLegacy -> serverVersion
* Remove change avatar from room info edit for servers below 3.6
* Mock for storyshots only
* lint
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2020-11-04 13:53:44 -03:00
Djorkaeff Alexandre
f0541c90d4
[FIX] 'Send to channel' when replying as a quote ( #2606 )
...
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2020-11-04 10:39:53 -03:00
Vincenzo Esposito
e9a6e9a4ea
[FIX] Rooms header overlapping right icons ( #2503 )
...
takes into account long names on small screen which led to overlapping title and right buttons on the header bar
2020-11-03 10:51:36 -03:00
Diego Mello
fade17d0de
[IMPROVEMENT] Add `Change Encryption Password` and `Reset E2E Key` ( #2542 )
...
* init
* Basic tests passing
* Add SecurityPrivacyView
* List.Item
* section
* Start removing theme as prop
* Remove StatusBar theme prop
* SafeAreaView theme prop
* Minor fixes
* List.Container
* Add translateTitle and translateSubtitle props
* Storybook
* Show action indicator
* Header
* Info
* Theme stories
* FlatList
* DisplayName
* Fix settings
* FlatList tweaks
* ThemeView
* Screen Lock Config
* DefaultBrowserView
* PickerView and User Prefs
* Notification Prefs
* StatusView
* Auto Translate
* InviteUsersEdit
* Visitor
* Minor fixes
* Remove Separator
* Remove iteminfo
* Font scale
* Legal
* Jitsi and e2e
* Block
* search, star, etc
* auto translate and notifications
* RoomInfo
* Refactor RoomActions
* lint
* Remove DisclosureIndicator
* padding horizontal 12
* Detox
* Tests
* SecurityPrivacy
* E2E encryption sec view
* stash
* Reset own key
* Reset key
* Change password
* Hide content
* Small refactor
* Fix tests
* Tests passing
* Change test order
* add pt-br
* Address review comments
* tests
* Missing i18n ptbr
Co-authored-by: Djorkaeff Alexandre <djorkaeff.unb@gmail.com>
2020-10-30 15:31:04 -03:00
Diego Mello
6271b885ee
[NEW] Threads ( #2567 )
...
* [IMPROVEMENT] Mentions layout without background
* Fix RoomItem
* Fix tests
* Smaller messagebox
* Messagebox colors tweak
* Beginning header buttons refactor
* Add HeaderButtons
* item with title
* Refactor
* Remove lib
* Refactor
* Update snapshot
* Send to channel on messagebox
* Add tshow
* Add showMessageInMainThread to login.user reducer
* Filter threads on main channel based on user setting
* Send tshow
* Add tunread
* Move unread colors logic away from UnreadBadge component so it can be used on other components
* Export UnreadBadge on index
* Add empty test
* Refactor
* Update tests
* Lint
* Thread unread user and group on RoomItem
* Thread badge working
* Started ThreadMessagesView.Item
* Fix separator
* Reactivity working
* Lint
* custom emojis aren't necessary
* Basic filter layout
* Filtering layout
* Refactor
* apply filter
* DropdownItemHeader
* default all
* few fixes
* No data found
* Fixes list performance issues
* Use locale on date formats
* Fixed minor styles
* Thread badge
* Refactor getBadgeColor
* Fix send to channel background color
* starting search threads
* Fix lint and tests
* Bump to 4.12.0 just for testing :)
* Search input layout
* query
* starting threads header
* fix unnecessary tlm on tmid messages
* Fix thread header
* lint
* Fix thread header on ShareView
* Add e2e tests
* Fix subscriptions sort
* Update stories and minor fixes
* Fix button sizes on Messagebox
* Remove comment
* Unnecessary conditional
* Add showMessageInMainThread to user collection
* Fix thread header
* Fix thread messages not working on tablet
* Reset Messagebox.tshow after sending a message
* Allow to send to channel when replying to a thread from main channel
* Unnecessary theme prop
* Address comments
* Remove re-render
* Fix scroll indicator bug
* Fix style
* Minor i18n fix
* Fix dropdown height
* I18n ptbr
* I18n
2020-10-30 14:35:07 -03:00
Diego Mello
81bb89da6c
[IMPROVEMENT] Support badge number on header buttons ( #2566 )
...
* Beginning header buttons refactor
* Add HeaderButtons
* item with title
* Refactor
* Remove lib
* Refactor
* Update snapshot
* Refactor
* Update tests
* Lint
2020-10-30 13:15:58 -03:00
Diego Mello
7cccd02cb3
[IMPROVEMENT] Mentions layout without background ( #2559 )
...
* [IMPROVEMENT] Mentions layout without background
* Fix RoomItem
* Fix tests
2020-10-30 12:58:48 -03:00
Djorkaeff Alexandre
f7e2388017
[FIX] iOS uploads always cropping as squares ( #2516 )
...
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2020-10-30 12:54:44 -03:00
Djorkaeff Alexandre
857707fc61
[FIX] App always sends auth for Avatar requests ( #2517 )
...
* [FIX] Sending auth for Avatar requests when not necessary
* fix storybook
* Fix ShareListView not updating avatars
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2020-10-30 12:54:02 -03:00
Diego Mello
52850cbccc
[IMPROVEMENT] List Component ( #2506 )
...
* List.Item
* section
* Start removing theme as prop
* Remove StatusBar theme prop
* SafeAreaView theme prop
* Minor fixes
* List.Container
* Add translateTitle and translateSubtitle props
* Storybook
* Show action indicator
* Header
* Info
* Theme stories
* FlatList
* DisplayName
* Fix settings
* FlatList tweaks
* ThemeView
* Screen Lock Config
* DefaultBrowserView
* PickerView and User Prefs
* Notification Prefs
* StatusView
* Auto Translate
* InviteUsersEdit
* Visitor
* Minor fixes
* Remove Separator
* Remove iteminfo
* Font scale
* Legal
* Jitsi and e2e
* Block
* search, star, etc
* auto translate and notifications
* RoomInfo
* Refactor RoomActions
* lint
* Remove DisclosureIndicator
* padding horizontal 12
* Detox
* Tests
* Address review comments
* Fix vertical scroll
Co-authored-by: Djorkaeff Alexandre <djorkaeff.unb@gmail.com>
2020-10-30 10:59:44 -03:00