Diego Mello
30d3b0b9f9
[FIX] Markdown not rendering emojis correctly on server version 5.0.0 ( #4343 )
2022-07-06 17:01:33 -03:00
Gleidson Daniel Silva
bf7473c39b
[FIX] Add hoistNonReactStatics to withActionSheet hoc ( #4331 )
2022-07-06 16:57:00 -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
Gleidson Daniel Silva
2e8b7d7755
[FIX]: Add showInput prop to show actionSheetContent without input ( #4335 )
2022-07-05 17:41:42 -03:00
Diego Mello
3072bbd5b3
Revert "Chore: Migration to Hooks - Markdown ( #4264 )" ( #4338 )
...
This reverts commit 4fd0084bc1
.
2022-07-04 15:10:14 -03:00
Alex Junior
4fd0084bc1
Chore: Migration to Hooks - Markdown ( #4264 )
...
* chore: migrate TextInput from class to functional
* changing from themes[theme] to colors
* removing markdown theme props from other files
* adding a force update and fix a stories
* adding testID and tests for markdown
* fixing some interfaces
* minor tweak
Co-authored-by: GleidsonDaniel <gleidson10daniel@hotmail.com>
2022-06-27 18:27:22 -03:00
Reinaldo Neto
18c44178d7
[IMPROVE] Migrate away from react-native-prompt-android to action sheet ( #4300 )
...
* Chore: Migrate away from react-native-prompt-android to action sheet
* fix header provile view with action sheet
* finished change password
* Close livechat and removed closeRoom dispatch
* remove lib react-native-prompt-android
* fix right buttons
* fix profile view in tablets
* fix action and room action for tablets
* remove onSubmitEditing
* fix keyboard for android tablet in landscape
* create base for actionSheet containers
* migrate EnterPasswordSheet to base
* migrate to base component
* fix colors and copy
* remove secure entry
* fix onSubmit
* fix android animation
Co-authored-by: GleidsonDaniel <gleidson10daniel@hotmail.com>
2022-06-27 16:03:24 -03:00
Alex Junior
1e9ae6e157
Chore: Migration to Hooks - FormTextInput ( #4256 )
...
* chore: migrate TextInput from class to functional
* removing the theme props
* adding tests for the FormTextInput
* minor tweak
* applying changes requested
* changing the way we import/export the FormTextInput and TextInput
* removing left comments
* minor tweak
* fix import
Co-authored-by: GleidsonDaniel <gleidson10daniel@hotmail.com>
2022-06-27 15:46:59 -03:00
Gleidson Daniel Silva
674f0285f6
Chore: Migrate RoomItem to Hooks ( #4310 )
...
* migrate roomItem to ts and fix some types
* remove unnecessary verification
* fix types
* fix SubscriptionType
* review
* remove theme prop driling and change file to tsx
* Fix component not re-rendering
* Remove a few props from attrs
* Remove accessibilityLabel state
* Fix propsAreEqual
* Fix cleanup
* Remove ts-ignore
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2022-06-27 15:23:43 -03:00
Alex Junior
4b25fde8f6
Chore: Upgrade react-native-vector-icons from 8.1.0 to 9.1.0 ( #4175 )
...
* chore: upgrade `react-native-vector-icons` from 8.1.0 to 9.1.0
* all this storyshot added this `selectable: false`
* reversing file committed by mistake
* reverting the `cocoapods` version to the develop version.
* updating some snaps after merge with develop
Co-authored-by: Gleidson Daniel Silva <gleidson10daniel@hotmail.com>
2022-06-27 15:15:15 -03:00
Gleidson Daniel Silva
58a15b23b5
[NEW] Basic support for Video Conf ( #4307 )
...
* create livechat video conf feature
* add handler to call url
* remove webview and change to openUrl
* Checking settings
* stash
* add action sheet on click init and ad more handlers
* fix logic and call to create a video conf
* change JitsiMeetView from InsideStack to ChatStack to remove modal animation
* fix error logic
* fix stack
* fix comma
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2022-06-27 15:04:20 -03:00
Danish Ahmed Mirza
44ac06ad7d
[NEW] ImageViewer animations using new API from `react-native-gesture-handler` and `react-native-reanimated` v2 ( #4221 )
...
* Update ImageViewer to reanimated and RNGH v2 API
* Move styles outside the component
* Fix issues with pinch gesture
Co-authored-by: Gleidson Daniel Silva <gleidson10daniel@hotmail.com>
2022-06-23 17:19:42 -03:00
Reinaldo Neto
bc09527d78
Chore: Migrate LoginServices to Hooks ( #4216 )
...
* Chore: Migrate LoginServices to Hooks
* fix lint
* change theme to colors
* back the separator as props
* refactor loginservice to folder
* refactor component login services
* Tests to LoginService's components
* finished loginservices
* Chore: Migrate LoginServices to Hooks
* fix lint
* change theme to colors
* back the separator as props
* refactor loginservice to folder
* refactor component login services
* Tests to LoginService's components
* finished loginservices
* fix location
* refactor TLoginStyle
* fix imports
* refactor lets to ref
Co-authored-by: Gleidson Daniel Silva <gleidson10daniel@hotmail.com>
2022-06-23 09:56:15 -03:00
Gleidson Daniel Silva
a5a5c52058
Chore: Migrate containers/Toast to hooks ( #4309 )
2022-06-22 09:32:57 -03:00
Gleidson Daniel Silva
5f248ebeb5
[NEW] Delete my account ( #4219 )
...
* create new delete account button
Co-Authored-By: Danish Ahmed Mirza <danishmirza30602@gmail.com>
* change modal to action sheet
* better naming
* remove ? from translation
* update translations
* change to new figma layout
* fix export
* remove unused state
* add new text input to base input
* clean up
* update bottom sheet and create a mock
* remove unecessary bracket and fix type
* fix header
* migrate buttons to action sheet
* fix imports
* update yarn.lock
* add separator to styles
* add ternary verification
* minor tweaks: keyboard for landscape android tablet, interface IactionSheetProvider and remove navigation options to get ismasterdetail from redux, fix jest setup
* fix colors
* disconnect from sdk when delete the account
* update snapshot
Co-authored-by: Danish Ahmed Mirza <danishmirza30602@gmail.com>
Co-authored-by: Reinaldo Neto <reinaldonetof@hotmail.com>
2022-06-22 09:24:25 -03:00
Reinaldo Neto
cd7e9e22f8
[FIX] Unresponsive status icons on Directory View and Share View ( #4303 )
2022-06-21 16:44:02 -03:00
Reinaldo Neto
a16c271f1f
Chore: Hooks - migrate RoomHeader to hook ( #4200 )
...
* roomHeader hook
* minor tweak
* Fix ts stuffs
* fix colors
* refactor
2022-06-13 17:16:20 -03:00
Reinaldo Neto
79cd150231
[NEW] Option to show mentions badge ( #4265 )
...
* [IMPROVE] Option to show mentions badge
* fix the local database and mergeSubscriptions, missing the state in notificationPrefView
* finished the hideMentions
* fix the string version
2022-06-13 10:24:54 -03:00
Danish Ahmed Mirza
5899b1f789
[NEW] Go to RoomView if the mentioned #channel is already joined ( #4204 )
...
* [NEW] Go to RoomView if the mentioned #channel is already joined
* Update stories and fix lint errors
* Use getSubscriptionByRoomId
* Fix channel name issue
* Use goRoom
* add jest-expo to jest preset
* update snapshot
Co-authored-by: GleidsonDaniel <gleidson10daniel@hotmail.com>
2022-06-10 17:33:48 -03:00
Gerzon Z
20a03611a7
[NEW] Call to Action buttons for Omnichannel ( #4060 )
...
* add: kebab and bottom sheet for omnichannel
* update: `RoomActionsView`
* chore: add canned responses to MessageBox
* chore: add omnichannel permissions to RightButtons
chore: missing changes to previous commit on RoomView
* chore: make icon available on first re-render after joining the room
* refactor: omnichannel permissions logic outside RightButtons
* refactor: extract omnichannel permissions' logic from RoomActionsView
* fix: omnichannel permissions on RightButton component
* add: omnichannelPermissions to RoomActions route props
* update: RoomView
* remove: setOmnichannelPermissions function
* refactor: `omnichannelPermissions` to object
* refactor: extract `on-hold` Omnichannel to `RoomView`
* add: `canPlaceLivechatOnHold` to `Omnichannel`s actions
* update: type for `showActionSheet`
* update: canned responses permission on
* fix: place on-hold permission not updating properly
* update: validation for on-hold
remove: unused variable
* remove: unnecessary param
* update: MessageBox
* fix: Omnichannel permissions on taking chat
* undo: comment on Reactotron
* Fix place chat on-hold
* fix setOptions in messageBox
* resolve lint
* change return to return to waiting line
* remove joined
* fix console.log
* fix kebab button
* fix subscription to room outside of db
Co-authored-by: Reinaldo Neto <reinaldonetof@hotmail.com>
Co-authored-by: Reinaldo Neto <47038980+reinaldonetof@users.noreply.github.com>
2022-06-09 11:42:12 -03:00
Danish Ahmed Mirza
748e87acf3
Chore: Migrate containers/Avatar to hooks ( #4139 )
...
* Migrate containers/Avatar to hooks
* Migrate to `useSelector` hook and `useRef`
* Change user object prop to primitive type
* fix re-render and update snapshot
* fix lint
* update pods
Co-authored-by: GleidsonDaniel <gleidson10daniel@hotmail.com>
2022-06-06 12:33:36 -03:00
Alex Junior
614d9afe65
Chore: Evaluate helpers and utils - Typescript ( #4146 )
2022-06-06 11:17:51 -03:00
Alex Junior
e212a3c946
[IMPROVE] Redesign search box component ( #4195 )
...
Co-authored-by: Danish Ahmed Mirza <danishmirza30602@gmail.com>
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2022-06-06 10:53:02 -03:00
Danish Ahmed Mirza
02c1bc50b9
[NEW] Update room item animations ( #4024 )
...
* Upgrade react-native-gesture-handler to 2.3.0
* Update room item animations to reanimated v2
* Add Parallax animation on fav and hide buttons and additional swipe gesture to toggleFav
* Fix tests
* Ignore typescript error for setTimeout function
* Update pods
* Fix blank area on swiping all the way right/left
* Fix Action Buttons on devices with notch
* Update snapshot
* Use colors from useTheme
* Destructure props
* Proper types for nativeEvent and event
* Remove toggleFav gesture
* Clean bits
* Fix lint error
* Fix position of Room Action Buttons on MasterDetail
* Remove comment
* Update animations logic
* Add haptic feedback on swipe
* Add haptic feedback on unswipe gesture
* Update react-native-gesture-handler to 2.4.2
* update pods
* Migrating off RNGHEnabledRootView
* Update types to ReturnType<typeof setTimeout>
Co-authored-by: GleidsonDaniel <gleidson10daniel@hotmail.com>
2022-06-06 10:23:49 -03:00
Gleidson Daniel Silva
329e74b720
[FIX] Unify attachment rendering logic ( #4260 )
...
* fix verification adding fields logic
* update snapshot
* Change order for both logics
* Cleanup
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2022-06-02 16:58:42 -03:00
Alex Junior
6220375f7b
Chore: upgrade react navigation to 6.0.10 version ( #4120 )
2022-06-01 16:46:37 -03:00
Gleidson Daniel Silva
c85fd0ba99
Chore: Update react-native-fast-image from 8.2.0 to 8.5.11 ( #4210 )
...
* upgrade react-native-fast-image
* change import to react-native-fast-image
* bump version
* update path from lib
* fix import
2022-05-31 13:08:18 -03:00
Reinaldo Neto
a527b320e9
[FIX] Migrate autoTranslate.translateMessage to REST API ( #4029 )
...
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2022-05-27 14:33:21 -03:00
Alex Junior
1ce7d5cf6a
Regression: right icons overlapping when users name is long ( #4224 )
...
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2022-05-27 14:27:43 -03:00
Reinaldo Neto
a82e3e6c1a
[FIX] Navigate to MarkdownTableView using tablets ( #4222 )
...
* [FIX] Navigate to MarkdownTableView using tablets
* [FIX] Navigate to MarkdownTableView using tablets
* fix lint
* update yarn.lock
Co-authored-by: Alex Junior <alexalexandrejr@gmail.com>
2022-05-27 14:18:51 -03:00
Danish Ahmed Mirza
992e43815d
[FIX] Closing animation of action sheet on item press ( #4223 )
2022-05-26 15:13:34 -03:00
Reinaldo Neto
bc34706f48
Chore: Update Detox to 19.7.0 ( #4215 )
...
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2022-05-26 14:10:24 -03:00
Reinaldo Neto
5101ab4769
Chore: update @rocket.chat/ui-kit to 0.31.11 ( #4203 )
...
* Chore: Update UiKit
* fix interfaces and plain_text and mrkdwn
2022-05-26 11:07:17 -03:00
Alex Junior
8178f7cf87
[FIX] Applying same color to the time on replied messages ( #4211 )
2022-05-23 13:37:56 -03:00
Reinaldo Neto
d4bee9254d
Regression: Click to join call button ( #4206 )
2022-05-23 10:24:33 -03:00
Alex Junior
4fc8e5e9a4
[FIX] Unify RoomItem UpdatedAt and Message time styles ( #4205 )
2022-05-20 14:56:07 -03:00
Danish Ahmed Mirza
6384d60efc
Chore: Migrate containers/Button to Typescript and Hooks ( #4071 )
2022-05-20 13:37:57 -03:00
Alex Junior
e38cfa61fe
Chore: Upgrade react-native-document-picker from 5.2.0 to 8.1.0 ( #4172 )
...
* chore: upgrade `react-native-document-picker` from 5.2.0 to 8.1.0
* change `DocumentPicker.pick` to `DocumentPicker.pickSingle`
2022-05-20 00:01:34 -03:00
Danish Ahmed Mirza
f5625cd5f3
Chore: Migrate ActionSheets to `react-native-bottom-sheet` and make them dynamic ( #4193 )
...
* Install react-native-bottom-sheet
* Migrate ActionSheets to react-native-bottom-sheet
* Remove unnecessary props
* Minor fixes
* Enable OverDrag
* Fix position in landscape mode
* Prefix interface with I
* Remove react-native-scroll-bottom-sheet
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2022-05-19 13:53:45 -03:00
Alex Junior
4a84e47cfa
Chore: Evaluate TextInput component ( #4181 )
...
* changing from `containers/TextInput` to `containers/TexInput/FormTextInput`
* changing from `presentation/TextInput` to `containers/TexInput/index`
* update storybook
* update status view after merge with develop
* removing `app/containers/__snapshots__/TextInput.stories.storyshot` in favor from `app/containers/TextInput/__snapshots`
2022-05-18 16:17:42 -03:00
Alex Junior
5cd4186f64
[IMPROVE] Place time after username on message ( #4177 )
2022-05-15 15:29:07 -03:00
Gleidson Daniel Silva
6dfce40c90
Chore: Create useAppSelector hook ( #4189 )
...
* create useAppSelector hook
* migrate useSelector to useAppSelector
2022-05-13 12:01:34 -03:00
Reinaldo Neto
fe84090703
Chore: Evaluate ShareView - TypeScript ( #4087 )
2022-05-11 14:59:29 -03:00
Alex Junior
e0bfdee70c
[IMPROVE] Create edited component for edited messages ( #4048 )
2022-05-10 14:40:08 -03:00
Alex Junior
8ca73e273a
Chore: Evaluate emoji picker - TypeScript ( #4069 )
2022-05-06 22:06:08 -03:00
Danish Ahmed Mirza
2077671761
Chore: Migrate containers/Loading to `reanimated` v2 and Hooks ( #4073 )
...
* Chore : Clean `Loading` component and migrate to reanimated v2
* Remove theme prop
* Use colors from useTheme and PixelRatio for image
Co-authored-by: Gleidson Daniel Silva <gleidson10daniel@hotmail.com>
2022-05-03 17:15:16 -03:00
Gerzon Z
edfeeb80d3
Chore: Unsupported system messages ( #4047 )
...
* chore: unsupported system messages
* add: Livechat's ignored system messages
* add: `IGNORED_LIVECHAT_SYSTEM_MESSAGES`
* add: support for Livechat's system messages
* remove: `console.log`
2022-05-03 10:27:20 -04:00
Reinaldo Neto
888bcae48e
Chore: Evaluate RoomMembersView - TypeScript ( #4116 )
...
* Chore: Evaluate RoomMembersView - TypeScript
* evaluate show action sheet
* fix tsubscriptionmodel
2022-05-02 21:48:08 -03:00
Reinaldo Neto
a84d4e9534
Chore: Evaluate RoomView - TypeScript ( #4134 )
...
* Chore: Evaluate RoomView - TypeScript
* fix messagebox and list refs
* fix the refs
* refactor other refs
* remove any from privates
* storyshot tweak
2022-05-02 19:58:23 -03:00
Alex Junior
d99b31849a
Chore: Evaluate Icon - Typescript ( #3982 )
...
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2022-05-02 16:21:15 -03:00
Reinaldo Neto
a27d63c22e
Chore: Evaluate DirectoryView - TypeScript ( #4130 )
2022-05-02 08:53:47 -03:00
Gerzon Z
744ee27e18
Regression: Omnichannel icons ( #4136 )
...
* fix: Omnichannel icons
* update: `RoomItem.storyshot`
2022-04-29 13:08:19 -04:00
Gleidson Daniel Silva
89e0a40d95
Chore: remove lib/rocketchat step 2 ( #4035 )
...
* create index file
* remove roomTypeToApiType from rocketchat and fix imports
* move TOKEN_KEY to const file
* move CURRENT_SERVER to const file
* move CERTIFICATE_KEY to const file
* getRoom
* rename getSlashCommands
* getSlashCommands
* readMessages
* getRooms
* loadThreadMessages
* loadNextMessages
* loadSurroundingMessages
* loadMessagesForRoom
* loadMissedMessages
* clearCache
* canOpenRoom
* setUser
* userPreferencesMethods
* getCustomEmojis
* callJtisi
* triggerActions
* getPermissions
* getRoles
* getSettings
* getUsersPresence
* logout
* sendFileMessage
* shareExtension
* sendMessage
* enterpriseModules
* getPermalinks
* search
* change RocketChat.metodo to direct call
* fix types
* Fix login
* Fix createChannel
* migrate service methods to Service.method call
* change call directly to RocketChat because the use of this
* rollback
* rollback
* fix create discussion
* fix import
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2022-04-28 17:37:25 -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
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
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
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
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
Reinaldo Neto
e28f7ac4b6
[FIX] Send upload inside a thread ( #4053 )
2022-04-14 14:40:37 -03: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
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
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
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
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
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
Gleidson Daniel Silva
474ea98a3b
Chore: Create app/lib/navigation folder ( #4027 )
...
* change Navigation to appNavigation and move to navigation folder
* change ShareNavigation to shareNavigation and move to navigation folder
* fix navigation import
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2022-04-07 10:22:19 -03:00
Gleidson Daniel Silva
7d2ae5ea7c
Chore: Evaluate helpers and methods - Typescript ( #4030 )
...
* move userPreferences to methods folder
* create formatAttachmentUrl file
* create compareServerVersion file
* create generateLoadMoreId file
2022-04-07 10:13:19 -03:00
Gleidson Daniel Silva
2eba327396
Chore: Evaluate lib/rocketchat structure and files ( #3986 )
...
* create TSubscription type
* move logoutOtherLocations to restApis
* mvoe getUserInfo to restApi
* move constants to lib folder
* change Rocketchat methods to sdk methods
* move toggleFavorite to restApis
* move functions to rocketchat folder
* delete old rocketchat file :)
* fix imports
* fix lint and return types
* Fix subscribe to rooms not getting called
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2022-04-04 16:15:29 -03:00
Alex Junior
488074b4ae
Chore: Evaluate Message - TypeScript ( #3944 )
...
Co-authored-by: GleidsonDaniel <gleidson10daniel@hotmail.com>
2022-04-01 18:52:38 -03:00
Alex Junior
3b3cd67d78
Chore: Clean ReactionsModal - TypeScript ( #3926 )
2022-04-01 12:32:17 -03:00
Gleidson Daniel Silva
cfe352dfbc
Chore: Clean SafeAreaView - Typescript ( #3907 )
...
* chore: clean SafeAreaView
* fix type
* update supported types
2022-03-31 19:46:11 -03:00
Gleidson Daniel Silva
e0459aed89
Chore: Evaluate MessageBox - TypeScript ( #3936 )
...
* chore: migrate buttons
* chore: migrate CommandsPreview
* chore: migrate Mention
* chore: migrate Some files
* chore: migrate RecordAudio
* fix lint
* fix context value
* fix MessageBox types
2022-03-31 19:39:24 -03:00
Gleidson Daniel Silva
64b594f9ae
Chore: clean RoomHeader ( #3923 )
2022-03-31 19:29:14 -03:00
Diego Mello
4416f82665
Chore: Properly type MessageActions ( #3930 )
2022-03-31 09:38:20 -03:00
Gerzon Z
49c92cfa7b
[FIX] `AttachedActions`'s button ( #3989 )
...
* fix: `AttachedActions`'s button
* fix: text color
* update: `Message.storyshot`
2022-03-30 17:55:57 -04:00
Alex Junior
5a3ffe5136
[FIX] Animation to show all login services options ( #3985 )
...
Co-authored-by: Reinaldo Neto <47038980+reinaldonetof@users.noreply.github.com>
2022-03-29 20:56:50 -03:00
Reinaldo Neto
40cb3b1ae7
Chore: Evaluate UiKit - TypeScript ( #3939 )
...
* Chore: Evaluate UiKit - TypeScript
* minor tweak
2022-03-29 17:06:50 -03:00
Gerzon Z
1c70ffc614
Chore: Evaluate `Avatar` - TypeScript ( #3929 )
...
* update: `Avatar` component
remove: non-null assertion from ThreadMessagesView Item
* remove: `this.mounted` from `Avatar` component
update: navParam on MessageAvatar component
2022-03-29 12:23:45 -04:00
Gerzon Z
93c9d2efdf
Chore: use `@react-native-clipboard/clipboard` ( #3950 )
...
* add: @react-native-clipboard/clipboard
* create jest.setup.js file and centralizes all mocks on these folder for jest
Co-authored-by: GleidsonDaniel <gleidson10daniel@hotmail.com>
2022-03-29 12:09:44 -04:00
Gleidson Daniel Silva
d9d9d35928
[FIX] Update navToRoom press verification ( #3974 )
2022-03-28 14:43:57 -03:00
Gleidson Daniel Silva
f3cf4f1e7f
[FIX] Adds a check to see if the collapsed property exists. ( #3973 )
...
* Adds a check to see if the collapsed property exists.
* 👀
* update snapshot
* revert
* revert yarn.lock
2022-03-28 12:08:18 -03:00
Diego Mello
902827422b
Chore: Properly type Status ( #3911 )
...
Co-authored-by: Gleidson Daniel Silva <gleidson10daniel@hotmail.com>
2022-03-25 17:05:49 -03:00
Reinaldo Neto
70cb252d1b
Chore: Migrate containers: List to Typescript ( #3921 )
...
* Chore: Migrate containers: List to Typescript
* minor tweak
* fix storyshot List - item flatlist
* fix IListContainer
* fix type of childrens
* minor tweak
2022-03-25 15:09:02 -03:00
Reinaldo Neto
744712b8d5
Chore: Migrate containers: FormContainer to Typescript ( #3922 )
...
* Chore: Migrate containers: FormContainer to Typescript
* minor tweak
* theme fix
* fix react.reactelement[]
* minor tweak
Co-authored-by: Gleidson Daniel Silva <gleidson10daniel@hotmail.com>
2022-03-25 14:55:20 -03:00
Reinaldo Neto
6418803517
Chore: Evaluate Markdown - TypeScript ( #3948 )
2022-03-25 14:20:09 -03:00
Gerzon Z
d5ac663199
[FIX] Drawer failing to open/close on ProfileView ( #3963 )
2022-03-25 11:35:25 -03:00
Gerzon Z
f9064bf5af
Chore: Evaluate HeaderButton - TypeScript ( #3925 )
...
* update: `HeaderButton` components
* update: types
* fix types
* fix lint and update snapshot
Co-authored-by: GleidsonDaniel <gleidson10daniel@hotmail.com>
2022-03-24 15:55:01 -04:00
Gerzon Z
8ea183373e
[FIX] Audio thumb's size ( #3945 )
...
* update: Audio component
2022-03-23 10:49:45 -04:00
Gerzon Z
9a17ce91a8
[FIX] "Sent an attachment" text on media preview for threads ( #3947 )
...
* update: `Content` component
* update: `Message` snapshots
2022-03-23 10:37:11 -04:00
Reinaldo Neto
4d3c440892
Chore: Evaluate Passcode - TypeScript ( #3931 )
...
* Chore: Migrate containers: Passcode to Typescript
* minor tweak
* minor tweak
2022-03-22 21:43:59 -03:00
Alex Junior
cbe2b23e27
Chore: Clean LoginServices - TypeScript ( #3935 )
2022-03-22 19:14:42 -03:00
Gleidson Daniel Silva
2fb7d917a7
Chore: Evaluate ActionSheet - TypeScript ( #3927 )
2022-03-22 17:44:27 -03:00
Gerzon Z
e8d23791d3
Chore: Evaluate TextInput - TypeScript ( #3908 )
...
* update `TextInput` component
update: ActivityIndicator
* remove: `any`
* update: `TextInput` on `UIKit`
* Fix returnKeyType
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2022-03-22 14:01:54 -04:00