Commit Graph

26 Commits

Author SHA1 Message Date
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
Diego Mello 988c6931ec
Chore: Bump patches (#4679) 2022-11-16 10:26:37 -03:00
Gleidson Daniel Silva e146cbae9f
Chore: Create useDebounce hook (#4470)
* create useDebounce hook

* fix types

* apply useDebounce hook

* migrate to use-debounce lib

* remove useless useDebounce
2022-09-16 12:19:07 -03:00
Diego Mello e723990e82
Chore: Update Storybook libs to v6 (#4439) 2022-08-19 16:53:40 -03:00
Gleidson Daniel Silva 585e5a0592
Chore: Migrate Touch to hooks (#4422)
* migrate to hooks and fix types

* fix import and remove theme prop

* update tests

* fix touch file name

* wip

* rename

* change to touch

* remove button and change to touch
2022-08-17 10:32:21 -03:00
Gleidson Daniel Silva 2b08b683d7
Chore: Upgrade React Native to 0.68.2 (#4316)
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2022-08-08 18:02:08 -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
Alex Junior 614d9afe65
Chore: Evaluate helpers and utils - Typescript (#4146) 2022-06-06 11:17:51 -03:00
Alex Junior 6220375f7b
Chore: upgrade react navigation to 6.0.10 version (#4120) 2022-06-01 16:46:37 -03:00
Danish Ahmed Mirza 6384d60efc
Chore: Migrate containers/Button to Typescript and Hooks (#4071) 2022-05-20 13:37:57 -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 fe1b8b75bd
Chore: Evaluate CannedResponsesListView - TypeScript (#4149) 2022-05-02 21:30:20 -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
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 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
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
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
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
Diego Mello 6626510f50
Chore: Migrate RoomActionsView to Typescript (#3750) 2022-03-02 11:49:43 -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 1ffa592201
Chore: dehydrate small server requests away from rocketchat.js (#3740) 2022-02-15 15:50:55 -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
Gleidson Daniel Silva 2f7ff43ea0
[FIX] StoryShots not working for async rendered components (#3677) 2022-01-31 18:15:44 -03:00
Reinaldo Neto 80d14037be
[FIX] Canned Responses minor fixes (#3400)
* fix onChangeText usedCanned on tablet

* removed refreshControl

Co-authored-by: Diego Mello <diegolmello@gmail.com>
2021-09-28 16:25:20 -03:00
Reinaldo Neto a52199a49c
[NEW] Canned responses (#3355)
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2021-09-22 14:29:26 -03:00