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
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
Diego Mello
9a11fb2797
[FIX] Add token expired verification ( #3964 )
2022-04-06 17:35:53 -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
5bd060b7b2
Chore: Add `colors` prop to useTheme hook ( #3993 )
...
* create react-native-appearance mock
* create base for colors theme
* mend
* export TColors prop
* update snapshot
2022-03-31 20:04:29 -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
Reinaldo Neto
c483abfa60
[FIX] Omnichannel's "Availability" toggle button is hard to interact with on Android devices ( #3952 )
...
* first commit
* change touchable to touch
2022-03-30 19:17:01 -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
Diego Mello
2af88a5544
[FIX] Not properly fetching users presence on some startup situations ( #3967 )
2022-03-30 18:27:53 -03: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
Alex Junior
228d64f00c
[FIX] User status missing translate ( #3960 )
...
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2022-03-28 19:52:20 -03: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
Reinaldo Neto
3e5b833759
[FIX] Param privacy when editing room info ( #3962 )
2022-03-25 10:02:09 -03:00
Alex Junior
ddfa8b1ca4
[FIX] Navigate to team from directory ( #3953 )
2022-03-24 18:52:35 -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
Alex Junior
f90f1a326f
Chore: Clean MessageErrorActions - TypeScript ( #3928 )
2022-03-22 11:29:45 -03:00
Alex Junior
e00580d84e
Chore: Clean ThreadDetails - TypeScript ( #3924 )
2022-03-22 11:16:41 -03:00
Alex Junior
e1038af2f8
Chore: Clean InAppNotification - TypeScript ( #3920 )
2022-03-22 11:01:55 -03:00
Alex Junior
6f31a00e90
Chore: Clean Check component - TypeScript ( #3919 )
...
* chore: clear Check component
* chore: update tests
2022-03-22 10:53:09 -03:00
Alex Junior
571afcaab8
Chore: Clean TwoFactor - Typescript ( #3912 )
...
* chore: clean TwoFactor
* minor tweak
* minor refactor
* chore: removing console log
2022-03-22 10:44:07 -03:00
lingohub[bot]
e750104d96
Language update from LingoHub 🤖 on 2022-03-21Z ( #3940 )
...
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2022-03-21 18:08:00 -03:00
Gerzon Z
b0580bf547
[NEW] Redesign quoted messages ( #3883 )
2022-03-21 17:44:06 -03:00
Reinaldo Neto
82acb917fc
[FIX] Wrong param sent to system message ( #3943 )
...
* [FIX] Display added user to team
* tweak when remove members from team too
* update storyshot
Co-authored-by: AlexAlexandre <alexalexandrejr@gmail.com>
2022-03-21 17:25:40 -03:00
Gleidson Daniel Silva
2ff48471d6
chore: Evaluate SearchBox ( #3909 )
2022-03-21 16:23:59 -03:00
Gleidson Daniel Silva
1a3d2fbc10
Chore: StatusBar theme and style props ( #3906 )
...
* chore: clean status bar and remove useless theme
* mend
* wip
* remove unused props
2022-03-21 16:10:11 -03:00
Gleidson Daniel Silva
8a12924904
[FIX] Messages not loading for unjoined channels ( #3904 )
...
* Fix message loading for unjoined channels
* Update updateMessages.ts
* log -> console.log
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2022-03-21 15:57:23 -03:00
Reinaldo Neto
0582cdfa61
Chore: Migrate REST API - e2eFetchMyKeys to Typescript ( #3942 )
2022-03-21 13:56:38 -03:00
Reinaldo Neto
8af1d1ceb5
Chore: Migrate containers: Loading to Typescript ( #3915 )
2022-03-18 12:02:04 -03:00
Reinaldo Neto
fae46f565b
Chore: Migrate containers: Toast to Typescript ( #3913 )
2022-03-18 11:25:03 -03:00
Gleidson Daniel Silva
75f3f90913
[NEW] Collapsible Message ( #3879 )
...
* create new collapsible component
* create collapsible tests and update snapshot
* fix quote :)
* update snapshot
* add support to color
* add collapsed prop
* fix some styles
* fix tests
* wip
* clean
* add CollapsibleQuote story
* better style
* update snapshots
* add better tests
* remove testID
* update storyshot
2022-03-18 07:01:30 -03:00
Gerzon Z
38b2b08278
Chore: Evaluate ActivityIndicator - TypeScript ( #3914 )
...
* update: `BackgroundContainer` and `ActivityIndicator`
* update: return type for `RCActivityIndicator`
* update: return type for `BackgroundContainer`
2022-03-17 22:37:10 -04:00
Gerzon Z
334b1bad7b
Chore: Evaluate BackgroundContainer - TypeScript ( #3917 )
...
* update: `BackgroundContainer`
* remove: `theme` from `IBackgroundContainer`
* update: return type for `BackgroundContainer`
2022-03-17 17:21:19 -04:00
Gerzon Z
a1e33c4a69
Chore: evaluate Header components - TypeScript ( #3918 )
...
* update: Header components
2022-03-17 15:25:31 -04:00
Alex Junior
11a809a065
Chore: Migrate REST API - getThreadsList to Typescript ( #3895 )
...
* chore: add rest api return
* chore: removing sort param
2022-03-16 23:24:22 -03:00
Gerzon Z
a754983ac8
Chore: Dehydrate share extension from rocketchat.js ( #3753 )
...
Co-authored-by: Gleidson Daniel Silva <gleidson10daniel@hotmail.com>
2022-03-16 17:40:32 -03:00
Reinaldo Neto
e792f2a49b
Chore: Migrate REST API - registerPushToken to Typescript ( #3902 )
2022-03-16 17:04:16 -03:00
Reinaldo Neto
8efba39370
Chore: Migrate REST API - removePushToken to Typescript ( #3903 )
2022-03-16 16:46:23 -03:00
Reinaldo Neto
823d4c658c
Chore: Migrate methods/actions to Typescript and refactor UiKit folder ( #3716 )
...
* Chore: Migrate methods/actions to Typescript
* tweak in actions
* Co-authored-by: Gleidson Daniel Silva <gleidson10daniel@hotmail.com>
* refactor sdk.current
* interface and uikit done
* refactor interface, index and utils from UiKit
* minor tweak
* minor tweak
Co-authored-by: Gleidson Daniel Silva <gleidson10daniel@hotmail.com>
2022-03-16 16:07:49 -03:00
Alex Junior
f98f2a46d9
Chore: Migrate REST API - getRoomMembers to Typescript ( #3899 )
2022-03-15 22:37:49 -03:00
Alex Junior
4cfadbc97b
Chore: Migrate REST API - getSyncThreadsList to Typescript ( #3896 )
2022-03-15 22:25:48 -03:00
Alex Junior
9650c98b4f
Chore: Migrate REST API - runSlashCommand to Typescript ( #3893 )
2022-03-15 22:14:50 -03:00
Alex Junior
b9967fda9f
Chore: Migrate REST API - saveAutoTranslate to Typescript ( #3892 )
2022-03-15 21:54:43 -03:00
Alex Junior
4666bdf9d5
Chore: Migrate REST API - sendEmailCode to Typescript ( #3905 )
2022-03-15 21:43:44 -03:00
Alex Junior
0023f0e195
Chore: Migrate REST API - sendEmailCode to Typescript ( #3891 )
2022-03-15 21:29:48 -03:00
Alex Junior
ccdbd9543c
Chore: Migrate REST API - getRoomInfo to Typescript ( #3823 )
...
* chore: add rest api return
* chore: add rest api return
2022-03-15 21:04:10 -03:00
Gleidson Daniel Silva
1aab65ef92
Chore: Migrate REST API - readThreads to Typescript ( #3866 )
...
* chore: migrate readThreads to typescript
* fix imports
2022-03-15 16:53:24 -03:00
Danish Ahmed Mirza
1d04e9379f
[FIX] Mention from suggestions concatenates to query string on autocomplete ( #3696 )
...
* [FIX] Mention suggestion concatenate to query string
* Add function to get regexp and its tests in separate files
* Update getRegexp.ts
* Update file names
* Try new regex
* One regex for all mention types
Co-authored-by: Gleidson Daniel Silva <gleidson10daniel@hotmail.com>
2022-03-15 16:33:43 -03:00
Reinaldo Neto
07094aabe6
Chore: Migrate REST API - getServerInfo to Typescript ( #3900 )
2022-03-15 14:33:29 -03:00
Reinaldo Neto
ee336a84a3
Chore: Migrate REST API - getDirectory to Typescript ( #3898 )
2022-03-15 13:47:40 -03:00
Reinaldo Neto
2cc4b9c1ba
Chore: Migrate REST API - getCommandPreview and executeCommandPreview to Typescript ( #3897 )
2022-03-15 11:41:23 -03:00
Alex Junior
8a1f81d707
Chore: Migrate REST API - getCommandPreview to Typescript ( #3894 )
2022-03-14 23:16:53 -03:00
Reinaldo Neto
6d543c28d9
Chore: Migrate REST API - createGroupChat to Typescript ( #3885 )
...
* Chore: Migrate REST API - createGroupChat to Typescript
* Update app/lib/rocketchat/services/restApi.ts
Co-authored-by: Gleidson Daniel Silva <gleidson10daniel@hotmail.com>
* minor tweak
Co-authored-by: Gleidson Daniel Silva <gleidson10daniel@hotmail.com>
2022-03-14 21:43:59 -03:00
Reinaldo Neto
de8a7f1ce0
Chore: Migrate REST API - addUsersToRoom to Typescript ( #3884 )
...
* Chore: Migrate REST API - addUsersToRoom to Typescript
* Update app/lib/rocketchat/services/restApi.ts
Co-authored-by: Gleidson Daniel Silva <gleidson10daniel@hotmail.com>
* minor tweak
Co-authored-by: Gleidson Daniel Silva <gleidson10daniel@hotmail.com>
2022-03-14 21:29:48 -03:00
Reinaldo Neto
db5c7d94aa
Chore: Migrate REST API - getRoomRoles to Typescript and fix getRoomMembers ( #3868 )
...
* Chore: Migrate REST API - getRoomRoles to Typescript and fix getRoomMembers
* change GetRoomRoles local
2022-03-14 21:11:34 -03:00
Reinaldo Neto
d18d91dd74
Chore: Migrate REST API - emitTyping to Typescript ( #3886 )
2022-03-14 12:55:32 -03:00
Reinaldo Neto
307ae1295f
Chore: Migrate REST API - e2eResetOwnKey to Typescript ( #3888 )
...
* Chore: Migrate REST API - e2eResetOwnKey to Typescript
* Update app/lib/rocketchat/services/restApi.ts
Co-authored-by: Gleidson Daniel Silva <gleidson10daniel@hotmail.com>
2022-03-14 11:56:49 -03:00
Reinaldo Neto
6ff2fc37d0
Chore: Migrate REST API - editMessage to Typescript ( #3887 )
...
* Chore: Migrate REST API - editMessage to Typescript
* minor tweak
2022-03-14 11:18:53 -03:00
Reinaldo Neto
7bf0de5825
Chore: Migrate REST API - getReadReceipts to Typescript ( #3877 )
2022-03-14 10:32:22 -03:00
Reinaldo Neto
cfb10ada60
Chore: Migrate REST API - editLivechat to Typescript ( #3878 )
2022-03-14 10:23:20 -03:00
Diego Mello
58c9e98e49
[FIX] Fix synchronization of removed subscriptions ( #3768 )
...
When a subscription is removed from the server via another client, when the
mobile app is relaunched the subscriptions were not being removed properly.
Changed the logic to use the subscriptionResult.remove array from the server
and the _id property to fix.
Co-authored-by: Christian King <cking@vonix.io>
2022-03-11 11:19:23 -03:00
Diego Mello
65c9aec2b4
[FIX] Issues after reconnecting ( #3815 )
2022-03-11 11:12:25 -03:00
Alex Junior
d73da2942b
Chore: Migrate REST API - getFiles to Typescript ( #3873 )
2022-03-10 12:29:33 -03:00
Alex Junior
b5f8f6f305
Chore: Migrate REST API - searchMessages to Typescript ( #3874 )
2022-03-10 12:17:49 -03:00
Alex Junior
69cf9b638e
Chore: Migrate REST API - getMessages to Typescript ( #3875 )
2022-03-10 12:00:50 -03:00
Reinaldo Neto
4dc43313ab
Chore: Migrate REST API - getUsernameSuggestion to Typescript ( #3872 )
2022-03-10 10:44:55 -03:00
Reinaldo Neto
61b8f3e40a
Chore: Migrate REST API - setAvatarFromService to Typescript ( #3871 )
2022-03-10 10:17:22 -03:00
Reinaldo Neto
c4124af73a
Chore: Migrate REST API - resetAvatar to Typescript ( #3870 )
2022-03-10 09:37:54 -03:00
Reinaldo Neto
5d28453201
Chore: Migrate REST API - getAvatarSuggestion to Typescript ( #3869 )
2022-03-10 09:25:25 -03:00