Commit Graph

167 Commits

Author SHA1 Message Date
Diego Mello 8c47187f70
[NEW] Presence Cap (#4900) 2023-02-14 10:47:56 -03:00
Diego Mello 5387d31a68
[FIX] Messages not loading on some edge cases (#4801) 2023-01-13 16:32:52 -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
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
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
Alex Junior 8ca73e273a
Chore: Evaluate emoji picker - TypeScript (#4069) 2022-05-06 22:06:08 -03:00
Reinaldo Neto 82bca54575
Chore: Evaluate WorkspaceView - TypeScript (#4077) 2022-05-02 22:27:33 -03:00
Alex Junior 43e9964b7b
Chore: Evaluate Create Channel - TypeScript (#4144) 2022-05-02 15:11:41 -03: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
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 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
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
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
Diego Mello 65c9aec2b4
[FIX] Issues after reconnecting (#3815) 2022-03-11 11:12:25 -03:00
Diego Mello 6626510f50
Chore: Migrate RoomActionsView to Typescript (#3750) 2022-03-02 11:49:43 -03:00
Diego Mello 6b3730ce43
Chore: Migrate RoomView to Typescript (#3754) 2022-03-02 11:18:01 -03:00
Gerzon Z c5cc192dc9
Chore: Migrate methods/enterpriseModules to TS (#3706)
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2022-02-22 09:07:54 -03:00
Gleidson Daniel Silva 219462ba3d
Chore: Migrate redux module login to typescript (#3647)
* chore: migrate redux module login to typescript

chore: update redux module login tests

* update workers

* wip

* fix type

* remove partial

* add more status

* migrate the rest of the stuff to typescript

* fix tests and types

* fix types and tests
2022-02-18 10:53:36 -03:00
Gleidson Daniel Silva d73886bd60
Chore: Migrate redux module room to typescript (#3636)
* chore: migrate redux module room to typescript and remove dispatch on dependencies

* chore: add tests to redux module room

* chore: create ERoomType and use on implemention

* chore: update enum name

* fix test id
2022-02-18 10:46:19 -03:00
Diego Mello a58b27e4f1
Chore: Migrate getPermissions to Typescript (#3720)
* Migrating...

* Fix IPermission

* Playing with types

* Remove `as const`

* Fix lint

* Fix test

* Apply sdk

* Fix lint and autocomplete
2022-02-17 10:06:31 -03:00
Gerzon Z 5e60f58bb3
Chore: Migrate redux actions/enterpriseModules to TS (#3698)
* migrate enterpriseModules to TS

* update test file
2022-02-16 18:10:09 -04:00
Gleidson Daniel Silva 977cfd2863
[FIX] Inject Redux store to prevent/remove require cycles (#3691)
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2022-02-09 18:16:20 -03:00
Diego Mello ab9d568528
[NEW] Stream to get individual presence updates (#3606)
Co-authored-by: Gerzon Z <gerzonzcanario@gmail.com>
2022-02-09 17:44:53 -03:00
Gleidson Daniel Silva d7c32b71c3
Chore: Migrate redux module createDiscussion to typescript (#3604)
* chore: migrate createDiscussion to ts and add tests

* chore: add TActionCreateDiscussion to TApplicationActions

* fix types

* update types

* fix types

Co-authored-by: Diego Mello <diegolmello@gmail.com>
2022-02-02 15:51:18 -03:00
Gleidson Daniel Silva 6fa35cd748
Chore: Migrate redux module app to typescript (#3598)
* chore: migrate activeUsers reducer and action to TS

* chore: init types folder and set redux and BaseScreen interface

* chore: remove mapDispatchToProps to use dispatch prop and clear some types

* chore: type selectedUsers action and reducer and improvement in the code of other files

* chore: move IUser to base types

* chore: move state props to ISelectedUsersViewProps

* chore: create mocketStore

* chore: remove applyAppStateMiddleware

* test: create activeUser and selectedUser tests

* test: add more selectedUsers tests

* chore: fix action type

* chore: move types to definition folder and fix imports

* chore: remove unused const

* chore: migrate redux tests to reducer folder and add eslint jest plugin

* chore: exprot initial state and then import on tests

* chore: move interfaces to reducer and import on screen

* chore: set eslint-plugin-jest version to 24.7.0

* chore: fix IUser import

* chore: update interfaces and types names

* chore: update definitions

* chore: update IBaseScreen definitions

* chore: init reducer/app migration to ts

* chore: add tests and migrate RootEnum

* wip: migrate fixed consts to RootEnum

* chore: remove redux action inferences

* fix types

Co-authored-by: Diego Mello <diegolmello@gmail.com>
2022-02-02 15:27:10 -03:00
Gleidson Daniel Silva 7ad900a515
Chore: Migrate redux module createChannel to typescript (#3602)
* chore: migrate createChannel to ts and add tests

* chore: fix naming

* chore: add more types and remove mapDispatchToProps from components

* remove todo

* update tests

* chore: migrate interface to reducer and fix errors on return

* chore: insert IApplicationState to mapStateToProps state type

* Remove spread

* fix type

* fix import and state type

Co-authored-by: Diego Mello <diegolmello@gmail.com>
2022-02-02 15:02:02 -03:00
Gleidson Daniel Silva c442a8473d
Chore: Migrate redux module share to typescript (#3612)
* chore: migrate redux module share to typescript

* chore: fix types

* chore: update types

* chore: migrate redux module share to typescript

* remove double import

* chore: fix import
2022-02-02 14:46:05 -03:00
Gleidson Daniel Silva 03459147ed
Chore: Migrate redux module permissions to typescript (#3630) 2022-02-02 14:01:31 -03:00
Gerzon Z 173cff0ddf Merge branch 'develop' into chore.migrate-redux-server-to-ts 2022-01-27 09:25:49 -04:00
Gleidson Daniel Silva 8b29e27494
Merge branch 'develop' into chore/migration-ts-redux-connect-v2 2022-01-26 16:55:47 -03:00
Gerzon Z ec6f9fa0df Merge branch 'develop' into chore.migrate-redux-server-to-ts 2022-01-26 14:34:08 -04:00
Gleidson Daniel Silva f23850beea
Merge branch 'develop' into chore/migration-ts-redux-users-typing 2022-01-26 13:44:06 -03:00
Gleidson Daniel Silva 2b3f67f801
Merge branch 'develop' into chore/migration-ts-redux-sortPreferences 2022-01-26 13:33:04 -03:00
Gerzon Z 2889a1cc0f Merge branch 'develop' into chore.migrate-redux-server-to-ts 2022-01-26 11:53:43 -04:00
Gleidson Daniel Silva f15bc0f219
Merge branch 'develop' into origin/chore/migration-ts-redux-customEmoji 2022-01-26 11:35:53 -03:00
Gleidson Daniel Silva 52f379807b
Merge branch 'develop' into chore/migration-ts-redux-encryption 2022-01-26 11:27:12 -03:00
Gerzon Z 9db97aa033 Merge branch 'develop' into chore.migrate-redux-server-to-ts 2022-01-26 10:16:06 -04:00
Gleidson Daniel Silva cbca46ab55
Merge branch 'develop' into chore/migration-ts-redux-invite-links 2022-01-26 10:42:05 -03:00
Gleidson Daniel Silva b72d469079
Merge branch 'develop' into chore/migration-ts-redux-roles 2022-01-26 10:31:13 -03:00
Gleidson Daniel Silva 2b22463a55
Merge branch 'develop' into chore/migration-ts-redux-rooms 2022-01-26 10:16:42 -03:00
Gerzon Z 757b2c739b update action definition 2022-01-20 17:07:11 -04:00
Gerzon Z 2bcf2ef495 update interface 2022-01-20 17:00:04 -04:00
GleidsonDaniel 4fad0cafad chore: update settings value types 2022-01-20 14:41:04 -03:00
Gerzon Z 89c844d798 update tests 2022-01-20 11:06:12 -04:00
Gerzon Z 64780dee6f add tests 2022-01-19 12:30:45 -04:00
Gerzon Z a75d372026 Migrate redux server action/reducer to ts 2022-01-18 11:59:43 -04:00
GleidsonDaniel b0c45bad90 chore: fix types and apply IAplicationState to types 2022-01-18 12:04:40 -03:00
GleidsonDaniel 953de7f521 chore: fix any interface and change null to empty string 2022-01-18 09:49:44 -03:00
GleidsonDaniel 68a8bf942d chore: migrate redux module inviteUsers to typescript 2022-01-17 18:27:28 -03:00
GleidsonDaniel 8d22b84253 chore: migrate redux module roles to typescript 2022-01-17 15:16:24 -03:00