Commit Graph

338 Commits

Author SHA1 Message Date
Diego Mello 976753c08b Fix empty viewableItems check 2022-12-07 16:28:31 -03:00
Diego Mello 2c62d9cb46 Reenable LayoutAnimation on RoomView, but only for new messages 2022-12-07 10:32:54 -03:00
Diego Mello ae7398233a Stop calling onEndReached unnecessarily 2022-12-06 18:45:10 -03:00
Diego Mello 7b526fe700 Disable RoomView animation and fix console.count 2022-12-06 18:23:59 -03:00
Diego Mello 654feb719c fetchRoomUpdate 2022-12-06 17:10:12 -03:00
Diego Mello c877a0600b Fix setReadOnly calls on RoomView 2022-12-06 15:27:18 -03:00
Diego Mello 696a7e623d Fix RefreshControl on Android 2022-12-05 14:17:43 -03:00
Diego Mello 87a5793f24 Fix silly usage of extraData on RoomView 2022-12-02 15:14:07 -03:00
Diego Mello f5615c50f6 Export RefreshControl so we don't have to use theme hoc 2022-12-02 13:36:37 -03:00
Diego Mello 36f0935e55 Reenable layout animation on RoomView 2022-11-30 13:13:52 -03:00
Diego Mello 21dbc7e112 Fix edit, delete, resend and delete after error state 2022-11-29 18:55:02 -03:00
Diego Mello a593129a3c Fix thread messages grey 2022-11-29 16:43:25 -03:00
Diego Mello de6a897ec4 Cleanup 2022-11-29 16:31:33 -03:00
Diego Mello d42f623a2f Disable layout animation 2022-11-29 16:30:09 -03:00
Diego Mello fad04765d4 Add asPlain to messages 2022-11-29 10:58:57 -03:00
Diego Mello f67a4010bc Rollback message list padding 2022-11-28 18:35:56 -03:00
Diego Mello 2ee4efd255 Merge branch 'develop' into chore.try-flashlist 2022-11-28 18:22:11 -03:00
Diego Mello 83701d002f Fix observeRoom logic 2022-11-28 16:54:08 -03:00
Diego Mello bac9eb79bb Lint 2022-11-25 17:39:04 -03:00
Diego Mello a38bc37aaa animation fix and minor cleanup 2022-11-25 16:32:25 -03:00
Diego Mello 490e567c85 Lint 2022-11-25 16:20:21 -03:00
Diego Mello 45042661c5 Reenable layout animations 2022-11-25 16:17:05 -03:00
Diego Mello e0b5030f6a Fix infinite loading indicator 2022-11-25 16:14:50 -03:00
Diego Mello 1ea3916e94 Fix load more 2022-11-25 15:56:13 -03:00
Diego Mello 537cd0032e Fix message update 2022-11-25 14:52:03 -03:00
Diego Mello 86a7297abc Cleanup 2022-11-25 10:57:50 -03:00
Reinaldo Neto aa26f7251e
[FIX] Remove nested room navigation (#4702)
* reset from room to room

* jump from room to room it's fine

* threads ipad

* fix ts roomslistview

* remove params

* fix the ipad highlight

* jump to a message from a thread to main room

* the reset within the goRoom

* create channel

* changes in canned response

* fix discussion navigation

* navigation newmessageview to users

* fix go room from room info view

* inappnotification, deeplinking, room.js

* change from room.rooms to room.subscribed

* minor tweak jumptomessage

* fix add existing channel to team and fixing test 02 of teams

* keep the same behavior after add existing channel

* keep the same behavior after add existing channel

* clean cosole

* changes requested about the name

* inapp redux to hooks

* added a comment to addexistingchanneltoteam

* minor tweak jumptomessage

* refactor goRoom to add the param popToRoot, also refactor the navigate in deeplinking too

* refactor other places that exist goRoom

* fix the didUpdate

* added in app notification test

* clean js

* minor tweak test
2022-11-25 10:21:56 -03:00
Diego Mello 34f2da40aa Add scrollViewNativeID to keyboard libs 2022-11-24 14:59:36 -03:00
Diego Mello 0317c4c27a Remove RefreshControl logic platform specific 2022-11-24 10:29:19 -03:00
Diego Mello 898a4a398b Merge branch 'develop' into chore.try-flashlist
# Conflicts:
#	app/containers/message/index.tsx
#	app/views/RoomView/List/List.tsx
2022-11-21 18:25:08 -03:00
Diego Mello 988c6931ec
Chore: Bump patches (#4679) 2022-11-16 10:26:37 -03:00
Reinaldo Neto 612405cfae
[IMPROVE] Increase border radius on all buttons (#4657)
* border radius complete

* increase to chip

* Apply in missing places

* tweak slash command and update test

Co-authored-by: Diego Mello <diegolmello@gmail.com>
2022-11-10 13:22:02 -03:00
Gleidson Daniel Silva 3a9a98bdfe
[NEW] Reply in direct (#4582)
* add translations

* implements reply in DM

* refactor data e2e

* fix ignoreuser e2e

* create test for reply in dm

* minor tweak

Co-authored-by: Reinaldo Neto <47038980+reinaldonetof@users.noreply.github.com>
Co-authored-by: Reinaldo Neto <reinaldonetof@hotmail.com>
2022-11-04 14:09:58 -03:00
Danish Ahmed Mirza 1486204546
[IMPROVE] Redesign emoji picker (#4328)
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2022-10-21 15:27:55 -03:00
Reinaldo Neto 531f3d0147
[IMPROVE] Add ignore user to user profile (#4600)
* button ignore and pased the param

* load room from database and check is is ignored

* move handleIgnore to lib/method/helpers

* Ignore and Unignore, also reactivity

* block and unblock user

* pass fromRid from actionView to InfoView too

* remove console.log

* unsubscribe subscriptionFrom

* block and unblock user from dm

* test to block user and ignore user

* minor tweak

* tweak data

* minor tweak

* add test before tapBack

* refactor names
2022-10-13 18:29:55 -03:00
Danish Ahmed Mirza 2f03ca52c5
[IMPROVE] Add `All` tab in Reactions List (#4409)
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2022-09-29 16:42:04 -03:00
Diego Mello 18f359a8ef
Regression: Poor performance in messages list on Android (#4536)
* Create custom RefreshControl as a workaround

* Remove unnecessary FlatList rngh change
2022-09-22 09:49:59 -03:00
Diego Mello 6bb7db9993 Fix lint 2022-09-19 18:09:30 -03:00
Diego Mello 86d5529cfd RoomView 2022-09-19 17:46:15 -03:00
Reinaldo Neto ccbc84f9a8
[IMPROVE] Remove show message in main thread preference (#4435)
* [IMPROVE] Remove show message in main thread preference

* default settings

* created the get

* fix compare server version

* fix E2E tests

* settings to logged user

* remove constant and get alsosendtochannel from user

* fix send to channel first message

* fix when the alsoSendThreadToChannel is checked

* added list picker user preference

* tweaks in messagebox tmid and detox

* added pt-br and deleted expectToBeVisible id

* reactive alsoSendThreadTOChannel

* fix the behavior when press or long press threads messages

* remove reply in thread from threads

* clean helpers detox

* tweak onMessageLongPress and onSubmit

* Remove unnecessary calculations inside ListPicker

* Fix long press logic

* Fix onReplyInit logic

* fix data_setup at detox for servers greater than 5.0

Co-authored-by: Diego Mello <diegolmello@gmail.com>
2022-08-25 16:53:19 -03:00
Diego Mello 17be449d4e
[FIX] Jump to message stuck on loading animation (#4410) 2022-08-19 18:14:37 -03:00
Diego Mello e723990e82
Chore: Update Storybook libs to v6 (#4439) 2022-08-19 16:53:40 -03:00
Gleidson Daniel Silva 585e5a0592
Chore: Migrate Touch to hooks (#4422)
* migrate to hooks and fix types

* fix import and remove theme prop

* update tests

* fix touch file name

* wip

* rename

* change to touch

* remove button and change to touch
2022-08-17 10:32:21 -03:00
Reinaldo Neto 999e8ab660
Regression: Room header not showing room type when not joined (#4427) 2022-08-11 15:29:24 -03:00
Gleidson Daniel Silva 2b08b683d7
Chore: Upgrade React Native to 0.68.2 (#4316)
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2022-08-08 18:02:08 -03:00
Reinaldo Neto e38aedcbff
[IMPROVE] Add emoji picker to iOS (#4366)
* [IMPROVE] Add emoji picker to iOS

* clean left and right buttons

* fix the redux in emojipicker

* fix behavior when emoji keyboard is openning

* added isIOS

* fix show reactions when emoji is open

* minor tweak

* add provider

* fix baseurl

* minor tweak

* create closeEmojiAndAction and added to record

* fix actionsheet for omnichannel

* fix action sheet

* fix close emoji when navigate to other screen

* added iactionsheetprovider to roomview

* clean variables

* fix theme

* close the emojikeyboard when click on message

* apoint package.json to new pr

* fix branch

* fix package.json
2022-08-08 15:38:01 -03:00
Danish Ahmed Mirza a4f171a12d
[NEW] Redesign reactions list (#4346) 2022-08-03 13:32:16 -03:00
Reinaldo Neto fe7722ca10
[IMPROVE] Support for tag request close when is obligatory to close Omnichannel's Channel (#4353)
* [IMPROVE] Support for tag request close

* clean up

* refactor isObrigatory and value

* fix obligatory

* removed onSubmitEditing

* create closelivechatview

* Refactor Close Omnichannel from ActionSheet to a new Screen

* Fix navigation

* fix screen title

* back to before actionsheetwithinput

* added string in pt-br

* refactor canSubmit

* fix the method closeRoom

* comment of server's version

* some tweaks

* Update app/lib/services/restApi.ts

Co-authored-by: Gleidson Daniel Silva <gleidson10daniel@hotmail.com>
2022-07-15 17:06:27 -03:00
Gleidson Daniel Silva cc6a403bf7
[FIX] Room header not updating when room type changes (#4330) 2022-07-06 17:08:50 -03:00
Alex Junior 1027b6c9e6
[IMPROVE] Use UI Elements from react-navigation (#4314)
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2022-07-06 10:23:02 -03:00