Gerzon Z
1778f34198
Merge branch 'develop' into new.drawer-omnichannel
2022-04-26 14:48:46 -04:00
Gerzon Z
08271f6114
Regression: Users search on `CreateDiscussionView` ( #4112 )
...
* fix: users search on `CreateDiscussionView`
* chore: increased readability for `getUsers` function
2022-04-26 14:15:29 -04:00
Gerzon Z
7bbfaa63c8
Merge branch 'develop' into new.drawer-omnichannel
2022-04-26 13:17:31 -04:00
Gerzon Z
109c525262
refactor: `omnichannelPermissions` to object
2022-04-26 13:08:56 -04:00
Gleidson Daniel Silva
c910f8abe1
Regression: Fix websocket connection ( #4083 )
...
* reinstall react native and pods
* anotation of the react native package to the branch fix-ios-connections
* fix makes the correct point to the address of the lib
2022-04-22 16:52:01 -03:00
Diego Mello
5c0a7ab1d0
Chore: Migrate to update_code_signing_settings ( #4085 )
2022-04-22 16:20:48 -03:00
Diego Mello
0ed8cdaa6a
Bump version to 4.27.0 ( #4076 )
2022-04-20 18:41:56 -03:00
Gerzon Z
8a75dcf87b
Chore: evaluate `RoomItem` ( #4023 )
...
* chore: evaluate `RoomItem`
* update: `RoomItem.storyshot`
* update: interfaces for RoomItem components
* update: UnreadBadge import and RoomItem interfaces
* remove: `avatarSize` from interfaces
* update: `RoomItem.storyshot`
2022-04-20 17:37:54 -04:00
Reinaldo Neto
a2baca63cb
[CHORE] Change circleci to cimg ( #4054 )
...
* [CHORE] Change circleci to cimg
* tweak build experimental
* testing images
* tweak cimg
2022-04-20 18:22:59 -03:00
Gerzon Z
aab4e4b12a
[FIX] Avatar's size on display mode change ( #4042 )
...
* fix: avatar's size
* update snapshot
* update: snapshots
Co-authored-by: GleidsonDaniel <gleidson10daniel@hotmail.com>
2022-04-20 17:02:18 -04:00
Reinaldo Neto
8012031cd3
[NEW] On-Hold chats for Omnichannel ( #4051 )
...
* [NEW] Implementing On-Hold Livechat for Omnichannel
* added onHold to database
* list header title open livechats
* update rooms list view
* remove placeOnHold after clicked
* fix mesasgebox reactive to on hold
* navigate to roomslistview
* minor tweaks
* for grouping too
* fix chat on-hold when the agent is fully
* show on hold system messages
2022-04-20 17:53:11 -03:00
Gleidson Daniel Silva
a4090782f5
Regression: Fix setBadgeCount import ( #4074 )
2022-04-20 11:42:59 -03:00
Gerzon Z
e49ba5e1c5
remove: setOmnichannelPermissions function
2022-04-19 10:17:11 -04:00
Gerzon Z
8a77a5fbcb
update: RoomView
2022-04-19 10:07:08 -04:00
Gerzon Z
f7e5f2cfa1
add: omnichannelPermissions to RoomActions route props
2022-04-19 09:48:47 -04:00
Gerzon Z
91ff5ad64d
Merge branch 'develop' into new.drawer-omnichannel
2022-04-19 09:47:14 -04:00
Reinaldo Neto
21c8de56ea
[IMPROVE] Accept user avatar url from external provider ( #4002 )
...
* [IMPROVE] Accept url to user avatar from external provider
* fix avatar sidebar
2022-04-18 21:52:02 -03:00
Gerzon Z
4b68cf4522
fix: omnichannel permissions on RightButton component
2022-04-18 17:26:55 -04:00
Gerzon Z
bedc3a7927
refactor: extract omnichannel permissions' logic from RoomActionsView
2022-04-18 16:27:57 -04:00
Reinaldo Neto
3c53d48a3e
[FIX] Omnichannel chat is broken the first time is taken ( #4037 )
...
* [FIX] Omnichannel chat is broken the first time is taken
* refactor how to get a room from db
2022-04-18 16:35:50 -03:00
Gerzon Z
ff708b1c57
refactor: omnichannel permissions logic outside RightButtons
2022-04-18 14:27:10 -04:00
Gerzon Z
2dcadf8633
chore: make icon available on first re-render after joining the room
2022-04-18 09:14:12 -04:00
Reinaldo Neto
0a67cb8096
[IMPROVE] Visibility of the “incoming chats” in queue ( #4039 )
...
* [IMPROVE] Visibility of the “incoming chats” in queue
* fix the custom icon for rtl
* fix thumb colors
* clean queue empty
* added alert to confirm enable omnichannel
* switch to normal
* fix storyshot because was added a new props to list item
* fix height container
* minor tweak
* minor tweak
* fix title
2022-04-15 00:11:36 -03:00
Reinaldo Neto
064920e61b
Chore: Evaluate UnreadBadge to Typescript ( #4018 )
...
* Chore: Evaluate UserItem to Typescript and moved from presentation to container
* minor tweak
2022-04-14 23:51:59 -03:00
Reinaldo Neto
b75ac1de8b
[IMPROVE] Support Omnichannel icons ( #3959 )
...
* [IMPROVE] Support Channel Icons for Omnichannel
* Prop drilling sourceType
* create a column for source in WatermelonDB
* Add sms icon
* start of fetching
* removed usefetch
* custom icon to RoomHeader, RoomActions, RoomInfo
* minor tweak in interface
* fix margin
* add connected to sourceType
* make ts happy
* minor tweak
* fix storyshot
* refactor omnichannel source interface
* minor tweak roomActionsview
* Added storyshot
* minor tweak
* fix storyshot
* fix display extended without avatar
* fix connected object
* wip android build
Co-authored-by: Diego Mello <diegolmello@gmail.com>
Co-authored-by: GleidsonDaniel <gleidson10daniel@hotmail.com>
2022-04-14 23:27:36 -03:00
Gerzon Z
97d4dc9f3b
chore: add omnichannel permissions to RightButtons
...
chore: missing changes to previous commit on RoomView
2022-04-14 17:19:33 -04:00
Gerzon Z
a2965a3f93
chore: add canned responses to MessageBox
2022-04-14 16:48:43 -04:00
Reinaldo Neto
25c37c1a60
Chore: Migrate i18n to Typescript ( #3988 )
...
* Chore: Migrate i18n to Typescript and fix the Left and Right actions in RoomItem
* remove fix to roomItem
* update storyshot
* Chore: Migrate i18n to Typescript and fix the Left and Right actions in RoomItem
* remove fix to roomItem
* update storyshot
* fix removed itens
* fix changes requested
* interface for i18n, added resolveJsonModule to tsconfig.json
* tweak at error alert
* fix storyshot
* refactor comments
* create function isTranslated
* fix accessibilityLabel
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2022-04-14 17:30:41 -03:00
Gerzon Z
1ec2f4b464
update: `RoomActionsView`
2022-04-14 14:43:53 -04:00
Diego Mello
397cd3d9b8
[FIX] Stop showing native push notification when in foreground ( #4059 )
2022-04-14 15:24:04 -03:00
Reinaldo Neto
e28f7ac4b6
[FIX] Send upload inside a thread ( #4053 )
2022-04-14 14:40:37 -03:00
Reinaldo Neto
456d017475
Chore: Migrate REST API - getSupportedLanguagesAutoTranslate to Typescript ( #4020 )
2022-04-14 14:29:32 -03:00
Gerzon Z
8d87401185
add: kebab and bottom sheet for omnichannel
2022-04-14 12:38:06 -04:00
Alex Junior
ef81796cd3
Chore: Evaluate KeyboardView - TypeScript ( #4014 )
...
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2022-04-13 17:43:56 -03:00
Gerzon Z
99ea5d8e2a
Chore: TypeScript migration - move `notifications/push` to `lib/notifications` ( #3999 )
...
* chore: move `notifications/push` to `lib/notifications/push`
* update: move `lib/notifications/push` to `lib/notifications`
* remove: push.ios.ts
2022-04-12 12:37:28 -04:00
Gerzon Z
b9651493d2
Chore: update `theme` type ( #4025 )
...
* chore: update `theme` type
* update: components
* update: storyshots
* add: `theme` type to `DirectoryItem`
* chore: update theme type on `message/index.tsx`
* update: `RoomTypeIcon`'s useTheme
2022-04-12 12:27:05 -04:00
Gerzon Z
4aeb21148d
[FIX] Searching for users when creating discussions not returning data correctly ( #4034 )
2022-04-12 10:48:28 -03:00
Alex Junior
c6e0751581
[FIX] Force mime type when the image does not have a filename ( #4006 )
2022-04-11 15:17:28 -03:00
Alex Junior
b0d408ebc8
Chore: add eslint-plugin-react-hooks lib ( #4021 )
...
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2022-04-11 15:01:43 -03:00
Reinaldo Neto
53eb251476
Chore: Evaluate UserItem - TypeScript ( #3983 )
...
* Chore: Evaluate UserItem - TypeScript
* fix storyshot
* minor tweaks
* tweaks on comments
* fix storyshot
* move useritem from presentation to containers
* remove comments
2022-04-08 23:43:31 -03:00
Reinaldo Neto
8268beeb67
[FIX] Create a discussion from NewMessageView ( #4003 )
...
* [FIX] Create a discussion from NewMessageView
* fix the itemData.value to any
* minor tweak
2022-04-08 19:53:48 -03:00
Reinaldo Neto
ec952b058a
Chore: Upgrade @types/react-native to 0.64.2 ( #4026 )
...
* Chore: Upgrade @types/react-native to 0.64.2
* minor tweak in comment
* minor tweak
* Chore: Upgrade @types/react-native to 0.64.2
* minor tweak in comment
* minor tweak
* fix accessibility within bordelessbutton
2022-04-08 11:27:10 -03:00
Gerzon Z
8043ca2cf9
[FIX] Queue Omnichannel rooms shouldn't show header buttons ( #4031 )
2022-04-07 16:35:37 -04:00
Gerzon Z
349e10e328
Chore: TypeScript Migration - evaluate DirectoryItem ( #4016 )
...
* chore: evaluate DirectoryItem
* chore: move `DirectoryItem` to `containers`
* update: `themes` import
2022-04-07 16:25:25 -04:00
Gleidson Daniel Silva
5494037f78
Chore: Upgrade react-native-notifications to 4.2.4 ( #3958 )
...
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2022-04-07 16:14:04 -03:00
Gerzon Z
cd0c8abced
Chore: evaluate ServerItem - TypeScript Migration ( #4015 )
...
* chore: evaluate ServerItem
* update: IServerInfo interface
* chore: move `ServerItem` to `containers` folder
* update: `ServerItem` import on Storybook
* update: `themes` import
2022-04-07 13:07:16 -04:00
Gleidson Daniel Silva
e525392713
Chore: Move services and methods away from rocketchat folder ( #4033 )
...
* move services to lib
* move methods to lib
* fix imports
2022-04-07 13:53:07 -03:00
Gerzon Z
13a2962fa2
Chore: evaluate getUserSelector ( #4013 )
...
* update: type for user
* update: LanguageView's user type
* update: UserNotificationPreferencesView's user
* chore: set `enableMessageParserEarlyAdoption` as non-optional
2022-04-07 12:27:45 -04:00
Gleidson Daniel Silva
d38c17bcd8
Chore: Create app/lib/store folder ( #4028 )
...
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2022-04-07 11:19:54 -03:00
Gleidson Daniel Silva
bdf83e546e
Chore: Move constants away from rocketchat folder - Typescript ( #4022 )
...
* create keys file and export all consts
* fix import E2E_MESSAGE_TYPE
* fix constants import
* fix constants import
* fix E2E_BANNER_TYPE import
* fix E2E_ROOM_TYPES import
* fix THEME_PREFERENCES_KEY import
* fix CRASH_REPORT_KEY and ANALYTICS_EVENTS_KEY import
* fix MIN_ROCKETCHAT_VERSION import
* fix constantDisplayMode import
* fix environment imports
* fix links imports
* fix localAuthentication imports
* fix localPath imports
* fix messagesStatus imports
* fix messageTypeLoad imports
* fix defaultSettings imports
* fix tablet imports
* update with todo for colors
* move to lib folder
* change constant/colors to constant
2022-04-07 11:10:03 -03:00