Commit Graph

861 Commits

Author SHA1 Message Date
Reinaldo Neto 0289ba716d
Chore: Migrate LivechatEditView to Typescript (#3499)
* Chore: Migrate LivechatEditView to Typescript

* refactor: minor tweak

* refactor: fix the interfaces for input

* refactor: fix lint erros

* minor tweak with new navigation types

* function

* iroom tweak

* livechateditview tweak

* TextInput tweak

* refactor: update new types and interfaces for use ISubscription

* refactor to default useState type

* change the component name in SearchBox

* changed state type

Co-authored-by: AlexAlexandre <alexalexandrejr@gmail.com>
Co-authored-by: Gerzon Z <gerzonc@icloud.com>
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2022-02-07 12:18:37 -03:00
Reinaldo Neto 6933278fd5
Chore: Migrate CannedResponsesListView to Typescript (#3553)
* Chore: Migrate CannedResponsesListView to TS

* Moved IcannedResponse to definitions and fixed the index

* Chore: Migrate CannedResponseDetail to TS

* minor tweaks

* refactor: update new types and interfaces for use ISubscription

* fix lint error and canned responses's dropdown

Co-authored-by: AlexAlexandre <alexalexandrejr@gmail.com>
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2022-02-04 19:15:01 -03:00
Reinaldo Neto b95cad71eb
Chore: Remove Non-null assertion operator in ThreadMessagesView (#3632)
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2022-02-04 17:47:05 -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
Gerzon Z 9caff40a2e Merge branch 'develop' into new.add-discusions-roomactionsview 2022-02-01 09:49:39 -04:00
Reinaldo Neto f88bdfb97c
Chore: Migrate Database to Typescript (#3580)
Co-authored-by: Gleidson Daniel Silva <gleidson10daniel@hotmail.com>
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2022-02-01 10:39:09 -03:00
Gerzon Z 67541baf95 Add missing DiscussionsView snapshot 2022-01-31 17:49:37 -04:00
Gerzon Z 89613bb85b Merge branch 'develop' into new.add-discusions-roomactionsview 2022-01-31 17:32:49 -04:00
Gerzon Z 350a20d3cd remove console.log 2022-01-31 17:21:26 -04:00
Gleidson Daniel Silva 2f7ff43ea0
[FIX] StoryShots not working for async rendered components (#3677) 2022-01-31 18:15:44 -03:00
Gerzon Z a093af38fe test 2022-01-31 10:27:16 -04:00
Gerzon Z 5a320a806c
Merge branch 'develop' into new.add-discusions-roomactionsview 2022-01-28 10:59:02 -04:00
Gleidson Daniel Silva 2b3f67f801
Merge branch 'develop' into chore/migration-ts-redux-sortPreferences 2022-01-26 13:33:04 -03:00
Gleidson Daniel Silva 52f379807b
Merge branch 'develop' into chore/migration-ts-redux-encryption 2022-01-26 11:27:12 -03:00
GleidsonDaniel cbe1af6f63 chore: add as string to fix type 2022-01-26 11:00:21 -03: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 40ffc01c3d
Merge branch 'develop' into chore/migration-ts-redux-invite-links 2022-01-26 09:52:22 -03:00
Gleidson Daniel Silva cfbb3c8d27
Merge branch 'develop' into chore/migration-ts-redux-sortPreferences 2022-01-26 09:52:12 -03:00
Gleidson Daniel Silva 56ea4393ba
Merge branch 'develop' into chore/migration-ts-redux-encryption 2022-01-26 09:52:06 -03:00
Gleidson Daniel Silva 46af969a2a
Merge branch 'develop' into chore/migration-ts-redux-rooms 2022-01-26 09:51:28 -03:00
Gerzon Z e0d7cbbaca Minor tweak 2022-01-24 15:20:25 -04:00
Gerzon Z 4f9460b8b2 Remove style.ts 2022-01-24 15:18:59 -04:00
Gerzon Z 5d84468561 Minor tweaks 2022-01-24 15:12:09 -04:00
Gerzon Z bce775d88d Fix navigation logic and update interfaces 2022-01-24 14:35:06 -04:00
Gerzon Z ce8a208e42 Update interfaces and minor tweaks to DiscussionsView screen and components 2022-01-24 13:40:39 -04:00
Gerzon Z 0a6e5d3fb0 Move onDiscussionpress logic on message, update SearchHeader and DiscussionDetails component, add useLayoutEffect at DiscussionsView 2022-01-24 11:51:31 -04:00
Diego Mello ddd0a84530 Send missing params to selectServerRequest 2022-01-20 14:45:40 -03:00
Diego Mello 6be5b7ed95
Merge branch 'develop' into new.add-discusions-roomactionsview 2022-01-20 10:06:40 -03:00
Reinaldo Neto e91bb90543
[FIX] Threads' pagination not working (#3631) 2022-01-19 17:54:12 -03:00
GleidsonDaniel 048012f6a9 chore: remove mapDispatchToProps and continue ts migration 2022-01-18 11:39:24 -03:00
GleidsonDaniel aaffc6e006 chore: implements IAplicationState on type 2022-01-18 11:38:29 -03:00
GleidsonDaniel 68a8bf942d chore: migrate redux module inviteUsers to typescript 2022-01-17 18:27:28 -03:00
Diego Mello e9ab1e5531
Merge branch 'develop' into chore/migration-ts-redux-sortPreferences 2022-01-17 18:06:23 -03:00
Diego Mello 49ac4c1f65
Merge branch 'develop' into chore/migration-ts-redux-encryption 2022-01-17 17:34:33 -03:00
Gerzon Z 79eeb5524d Remove unused import 2022-01-17 16:33:48 -04:00
Gerzon Z 23244e30b9 Fix lint 2022-01-17 16:19:48 -04:00
Gerzon Z 6c9a3f977e Minor tweaks 2022-01-17 16:15:58 -04:00
Gerzon Z 680476a9a7 Merge branch 'develop' into new.add-discusions-roomactionsview 2022-01-17 16:02:53 -04:00
Gerzon Z 89ae4304c4 add storybooks, update snapshots and DiscussionsView 2022-01-17 15:55:33 -04:00
Gerzon Z 2946c4724e
[FIX] TypeScript's errors raised by HOCs (#3535)
Co-authored-by: AlexAlexandre <alexalexandrejr@gmail.com>
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2022-01-17 13:10:39 -03:00
Gerzon Z 18da04ba08 update definitions 2022-01-17 10:18:32 -04:00
Gerzon Z e010d804d5 Merge branch 'develop' into new.add-discusions-roomactionsview 2022-01-17 10:12:19 -04:00
GleidsonDaniel 89b9e17481 chore: migrate redux module room to typescript 2022-01-14 19:06:55 -03:00
Gerzon Z dc70bf617b Add DiscussionDetails and Item for DiscussionsView; update ThreadDetails, BackgroundContainer and DiscussionsView 2022-01-14 13:38:08 -04:00
GleidsonDaniel e153f55f7d chore: fix IPreference interface and organize import 2022-01-13 18:45:55 -03:00
GleidsonDaniel 2c2635e250 chore: migrate redux module encryption to typescript 2022-01-13 15:37:14 -03:00
Diego Mello dbf4a847f0
[FIX] Lint not ignoring Markdown props (#3600) 2022-01-12 11:35:35 -03:00
Gerzon Z e68485bccd
[FIX] Message parser switch not updating field properly (#3576) 2022-01-12 11:05:30 -03:00