Reinaldo Neto
3ac10ee860
Chore: Hooks app/views/SelectServerView ( #4445 )
...
* Chore: Hooks app/views/SelectServerView
* refactor row_height
* minor tweak
2022-08-18 19:09:25 -03:00
Gleidson Daniel Silva
28043a2eb5
Chore: Migrate E2ESaveYourPasswordView to hooks ( #4432 )
2022-08-17 10:51: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
Reinaldo Neto
999e8ab660
Regression: Room header not showing room type when not joined ( #4427 )
2022-08-11 15:29:24 -03:00
Reinaldo Neto
2a522158ad
Chore: Ignore icons on Prettier ( #4426 )
2022-08-11 15:16:04 -03:00
Gleidson Daniel Silva
69349dee6e
Chore: Migrate E2EEnterYourPasswordView to hooks ( #4423 )
...
* migrate E2EEnterYourPasswordView to hooks
* remove navigation options
* minor tweak
Co-authored-by: Reinaldo Neto <reinaldonetof@hotmail.com>
2022-08-11 11:59:40 -03:00
Gleidson Daniel Silva
92111afa6a
Chore: Migrate E2EHowItWorksView to hooks ( #4416 )
...
* remove navigation obligatory
* remove the obliglatory to use theme with the withTheme HOC
* migrate E2EHowItWorksView to hooks
* remove navigate options
* adds non-null assertion because theme is injected
2022-08-11 11:50:03 -03:00
Gleidson Daniel Silva
a101d319e5
Chore: Migrate WithoutServerView to hooks ( #4415 )
...
* migrate WithoutServerView to hooks
* remove navigation options
* minor tweak
Co-authored-by: Reinaldo Neto <47038980+reinaldonetof@users.noreply.github.com>
Co-authored-by: Reinaldo Neto <reinaldonetof@hotmail.com>
2022-08-11 11:41:18 -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
Reinaldo Neto
e38aedcbff
[IMPROVE] Add emoji picker to iOS ( #4366 )
...
* [IMPROVE] Add emoji picker to iOS
* clean left and right buttons
* fix the redux in emojipicker
* fix behavior when emoji keyboard is openning
* added isIOS
* fix show reactions when emoji is open
* minor tweak
* add provider
* fix baseurl
* minor tweak
* create closeEmojiAndAction and added to record
* fix actionsheet for omnichannel
* fix action sheet
* fix close emoji when navigate to other screen
* added iactionsheetprovider to roomview
* clean variables
* fix theme
* close the emojikeyboard when click on message
* apoint package.json to new pr
* fix branch
* fix package.json
2022-08-08 15:38:01 -03:00
Danish Ahmed Mirza
a4f171a12d
[NEW] Redesign reactions list ( #4346 )
2022-08-03 13:32:16 -03:00
Gleidson Daniel Silva
2c32be6e51
[FIX] Fix display order render on RoomListView ( #4392 )
2022-08-01 13:42:10 -03:00
Gleidson Daniel Silva
41dbbf4d4b
Chore: Migrate NotificationPreferencesView to hooks ( #4327 )
...
* add none option
* create showErrorAlertWithEMessage function
* migrate NotificationPreferencesView to hooks and improves overall
* change icon to right
* fix navigation options
* remove none
* fix types
* remove memo
* cleaning
* switching to destructuring
* add observe for hideUnreadStatus
* fix desktop options
* remove unused options
Co-authored-by: Reinaldo Neto <47038980+reinaldonetof@users.noreply.github.com>
2022-08-01 13:35:05 -03:00
Gleidson Daniel Silva
a965465af3
[FIX] Add support to non ascii url characters on ios devices ( #4364 )
...
* add support to non ascii url caracters on ios
* rename module and add tests
* remove last slice
2022-07-28 10:36:40 -03:00
Diego Mello
3650a3fe94
Merge branch 'single-server' into single-server-4.29
...
# Conflicts:
# android/app/build.gradle
# android/app/src/main/assets/fonts/custom.ttf
# app.json
# app/AppContainer.tsx
# app/actions/actionsTypes.ts
# app/actions/login.ts
# app/actions/room.ts
# app/containers/ActionSheet/ActionSheet.tsx
# app/containers/ActionSheet/BottomSheetContent.tsx
# app/containers/ActionSheet/Button.ts
# app/containers/ActionSheet/Handle.tsx
# app/containers/ActionSheet/Provider.tsx
# app/containers/ActionSheet/styles.ts
# app/containers/AppVersion.tsx
# app/containers/Avatar/Avatar.tsx
# app/containers/Avatar/index.tsx
# app/containers/Avatar/interfaces.ts
# app/containers/CustomIcon/index.tsx
# app/containers/CustomIcon/mappedIcons.js
# app/containers/CustomIcon/selection.json
# app/containers/DirectoryItem/index.tsx
# app/containers/EmojiPicker/CustomEmoji.tsx
# app/containers/EmojiPicker/EmojiCategory.tsx
# app/containers/EmojiPicker/index.tsx
# app/containers/FormContainer.tsx
# app/containers/HeaderButton/Common.tsx
# app/containers/HeaderButton/HeaderButtonItem.tsx
# app/containers/HeaderButton/HeaderButtonItemBadge.tsx
# app/containers/ImageViewer/index.ts
# app/containers/ImageViewer/types.ts
# app/containers/InAppNotification/NotifierComponent.tsx
# app/containers/InAppNotification/index.tsx
# app/containers/KeyboardView.tsx
# app/containers/List/ListContainer.tsx
# app/containers/List/ListItem.tsx
# app/containers/MessageActions/Header.tsx
# app/containers/MessageActions/index.tsx
# app/containers/MessageBox/CommandsPreview/Item.tsx
# app/containers/MessageBox/Mentions/MentionEmoji.tsx
# app/containers/MessageBox/RecordAudio.tsx
# app/containers/MessageBox/forceJpgExtension.ts
# app/containers/MessageBox/index.tsx
# app/containers/MessageBox/styles.ts
# app/containers/MessageErrorActions.tsx
# app/containers/Passcode/Base/Button.tsx
# app/containers/Passcode/Base/Locked.tsx
# app/containers/Passcode/PasscodeEnter.tsx
# app/containers/RoomHeader/RoomHeader.stories.js
# app/containers/RoomHeader/RoomHeader.tsx
# app/containers/RoomHeader/__snapshots__/RoomHeader.stories.storyshot
# app/containers/RoomHeader/index.tsx
# app/containers/RoomItem/Actions.tsx
# app/containers/RoomItem/LastMessage.tsx
# app/containers/RoomItem/RoomItem.tsx
# app/containers/RoomItem/Title.tsx
# app/containers/RoomItem/Touchable.tsx
# app/containers/RoomItem/UpdatedAt.tsx
# app/containers/RoomItem/Wrapper.tsx
# app/containers/RoomItem/index.tsx
# app/containers/RoomItem/interfaces.ts
# app/containers/RoomItem/styles.ts
# app/containers/SearchHeader.tsx
# app/containers/ServerItem/index.tsx
# app/containers/TextInput/FormTextInput.tsx
# app/containers/TextInput/TextInput.stories.js
# app/containers/Toast.tsx
# app/containers/TwoFactor/index.tsx
# app/containers/UIKit/DatePicker.tsx
# app/containers/UIKit/Image.tsx
# app/containers/UIKit/MultiSelect/Chips.tsx
# app/containers/UIKit/MultiSelect/Input.tsx
# app/containers/UIKit/MultiSelect/Items.tsx
# app/containers/UIKit/MultiSelect/index.tsx
# app/containers/UIKit/MultiSelect/styles.ts
# app/containers/UIKit/Select.tsx
# app/containers/UIKit/index.tsx
# app/containers/UIKit/utils.ts
# app/containers/UnreadBadge/index.tsx
# app/containers/UserItem.tsx
# app/containers/markdown/AtMention.tsx
# app/containers/markdown/Emoji.tsx
# app/containers/markdown/Hashtag.tsx
# app/containers/markdown/Link.tsx
# app/containers/markdown/Preview.tsx
# app/containers/markdown/index.tsx
# app/containers/markdown/new/BigEmoji.tsx
# app/containers/markdown/new/Emoji.tsx
# app/containers/markdown/new/Image.tsx
# app/containers/markdown/new/Inline.tsx
# app/containers/markdown/new/Link.tsx
# app/containers/message/Attachments.tsx
# app/containers/message/Audio.tsx
# app/containers/message/Components/CollapsibleQuote/__snapshots__/CollapsibleQuote.stories.storyshot
# app/containers/message/Discussion.tsx
# app/containers/message/Emoji.tsx
# app/containers/message/Image.tsx
# app/containers/message/Message.tsx
# app/containers/message/Reply.tsx
# app/containers/message/Urls.tsx
# app/containers/message/Video.tsx
# app/containers/message/index.tsx
# app/containers/message/interfaces.ts
# app/containers/message/styles.ts
# app/definitions/IEmoji.ts
# app/definitions/IRoom.ts
# app/definitions/ISubscription.ts
# app/definitions/rest/v1/users.ts
# app/definitions/rest/v1/videoConference.ts
# app/ee/omnichannel/containers/OmnichannelHeader/index.tsx
# app/ee/omnichannel/lib/index.ts
# app/ee/omnichannel/lib/subscriptions/inquiry.ts
# app/ee/omnichannel/sagas/inquiry.js
# app/ee/omnichannel/views/QueueListView.tsx
# app/externalModules.d.ts
# app/i18n/index.ts
# app/i18n/locales/ar.json
# app/i18n/locales/de.json
# app/i18n/locales/en.json
# app/i18n/locales/es-ES.json
# app/i18n/locales/fr.json
# app/i18n/locales/it.json
# app/i18n/locales/ja.json
# app/i18n/locales/nl.json
# app/i18n/locales/pt-BR.json
# app/i18n/locales/ru.json
# app/i18n/locales/tr.json
# app/i18n/locales/zh-CN.json
# app/i18n/locales/zh-TW.json
# app/index.tsx
# app/lib/constants/colors.ts
# app/lib/constants/defaultSettings.ts
# app/lib/constants/links.ts
# app/lib/database/index.ts
# app/lib/database/model/migrations.js
# app/lib/database/schema/app.js
# app/lib/encryption/encryption.ts
# app/lib/encryption/room.ts
# app/lib/encryption/utils.ts
# app/lib/hooks/index.ts
# app/lib/methods/actions.ts
# app/lib/methods/callJitsi.ts
# app/lib/methods/enterpriseModules.ts
# app/lib/methods/getCustomEmojis.ts
# app/lib/methods/getPermalinks.ts
# app/lib/methods/getPermissions.ts
# app/lib/methods/getRoles.ts
# app/lib/methods/getSettings.ts
# app/lib/methods/getSlashCommands.ts
# app/lib/methods/getThreadName.ts
# app/lib/methods/getUsersPresence.ts
# app/lib/methods/helpers/mergeSubscriptionsRooms.ts
# app/lib/methods/helpers/showToast.ts
# app/lib/methods/index.ts
# app/lib/methods/loadMessagesForRoom.ts
# app/lib/methods/loadMissedMessages.ts
# app/lib/methods/loadNextMessages.ts
# app/lib/methods/loadSurroundingMessages.ts
# app/lib/methods/loadThreadMessages.ts
# app/lib/methods/logout.ts
# app/lib/methods/readMessages.ts
# app/lib/methods/search.ts
# app/lib/methods/sendFileMessage.ts
# app/lib/methods/sendMessage.ts
# app/lib/methods/setUser.ts
# app/lib/methods/shareExtension.ts
# app/lib/methods/subscribeRooms.ts
# app/lib/methods/subscriptions/room.ts
# app/lib/methods/subscriptions/rooms.ts
# app/lib/navigation/appNavigation.ts
# app/lib/navigation/shareNavigation.ts
# app/lib/notifications/push.ts
# app/lib/services/connect.ts
# app/lib/services/restApi.ts
# app/lib/services/sdk.ts
# app/presentation/ImageViewer/index.js
# app/presentation/ImageViewer/index.ts
# app/presentation/ImageViewer/types.js
# app/presentation/ImageViewer/types.ts
# app/reducers/login.ts
# app/reducers/room.test.ts
# app/sagas/createChannel.js
# app/sagas/createDiscussion.js
# app/sagas/deepLinking.js
# app/sagas/encryption.js
# app/sagas/init.js
# app/sagas/inviteLinks.js
# app/sagas/login.js
# app/sagas/messages.js
# app/sagas/room.js
# app/sagas/selectServer.js
# app/sagas/state.js
# app/share.tsx
# app/stacks/InsideStack.tsx
# app/stacks/MasterDetailStack/index.tsx
# app/stacks/MasterDetailStack/types.ts
# app/stacks/OutsideStack.tsx
# app/stacks/types.ts
# app/views/AddExistingChannelView.tsx
# app/views/AttachmentView.tsx
# app/views/AuthenticationWebView.tsx
# app/views/AutoTranslateView/index.tsx
# app/views/CannedResponseDetail.tsx
# app/views/CannedResponsesListView/Dropdown/DropdownItem.tsx
# app/views/CannedResponsesListView/index.tsx
# app/views/ChangePasscodeView.tsx
# app/views/CreateChannelView.tsx
# app/views/CreateDiscussionView/SelectChannel.tsx
# app/views/CreateDiscussionView/SelectUsers.tsx
# app/views/CreateDiscussionView/index.tsx
# app/views/CreateDiscussionView/interfaces.ts
# app/views/DefaultBrowserView.tsx
# app/views/DirectoryView/Options.tsx
# app/views/DirectoryView/index.tsx
# app/views/DiscussionsView/Item.tsx
# app/views/DiscussionsView/__snapshots__/Item.stories.storyshot
# app/views/DiscussionsView/index.tsx
# app/views/DisplayPrefsView.tsx
# app/views/E2EEncryptionSecurityView.tsx
# app/views/E2EEnterYourPasswordView.tsx
# app/views/E2ESaveYourPasswordView.tsx
# app/views/ForgotPasswordView.tsx
# app/views/ForwardLivechatView.tsx
# app/views/InviteUsersEditView/index.tsx
# app/views/InviteUsersView/index.tsx
# app/views/JitsiMeetView.tsx
# app/views/LanguageView/index.tsx
# app/views/LegalView.tsx
# app/views/LivechatEditView.tsx
# app/views/LoginView.tsx
# app/views/MarkdownTableView.tsx
# app/views/MessagesView/index.tsx
# app/views/ModalBlockView.tsx
# app/views/NewMessageView.tsx
# app/views/NewServerView/ServerInput/Item.tsx
# app/views/NewServerView/ServerInput/index.tsx
# app/views/NewServerView/index.tsx
# app/views/NotificationPreferencesView/index.tsx
# app/views/PickerView.tsx
# app/views/ProfileView/index.tsx
# app/views/RegisterView.tsx
# app/views/RoomActionsView/index.tsx
# app/views/RoomInfoEditView/index.tsx
# app/views/RoomInfoView/index.tsx
# app/views/RoomMembersView/index.tsx
# app/views/RoomView/JoinCode.tsx
# app/views/RoomView/LeftButtons.tsx
# app/views/RoomView/List/List.tsx
# app/views/RoomView/List/NavBottomFAB.tsx
# app/views/RoomView/List/index.tsx
# app/views/RoomView/LoadMore/__snapshots__/LoadMore.stories.storyshot
# app/views/RoomView/LoadMore/index.tsx
# app/views/RoomView/ReactionPicker.tsx
# app/views/RoomView/RightButtons.tsx
# app/views/RoomView/UploadProgress.tsx
# app/views/RoomView/index.tsx
# app/views/RoomsListView/Header/Header.tsx
# app/views/RoomsListView/Header/index.tsx
# app/views/RoomsListView/ServerDropdown.tsx
# app/views/RoomsListView/index.tsx
# app/views/ScreenLockConfigView.tsx
# app/views/ScreenLockedView.tsx
# app/views/SearchMessagesView/index.tsx
# app/views/SecurityPrivacyView.tsx
# app/views/SelectListView.tsx
# app/views/SelectedUsersView.tsx
# app/views/SendEmailConfirmationView.tsx
# app/views/SetUsernameView.tsx
# app/views/SettingsView/index.tsx
# app/views/ShareListView/Header/Header.ios.tsx
# app/views/ShareListView/Header/Header.tsx
# app/views/ShareListView/index.tsx
# app/views/ShareListView/styles.ts
# app/views/ShareView/Header.tsx
# app/views/ShareView/Preview.tsx
# app/views/ShareView/Thumbs.tsx
# app/views/ShareView/index.tsx
# app/views/ShareView/utils.ts
# app/views/SidebarView/SidebarItem.tsx
# app/views/SidebarView/index.tsx
# app/views/StatusView/index.tsx
# app/views/TeamChannelsView.tsx
# app/views/ThemeView.tsx
# app/views/ThreadMessagesView/Dropdown/DropdownItem.tsx
# app/views/ThreadMessagesView/Dropdown/index.tsx
# app/views/ThreadMessagesView/Item.tsx
# app/views/ThreadMessagesView/__snapshots__/Item.stories.storyshot
# app/views/ThreadMessagesView/index.tsx
# app/views/UserPreferencesView/index.tsx
# app/views/WorkspaceView/ServerAvatar.tsx
# docs/icons.md
# e2e/tests/assorted/03-profile.spec.js
# e2e/tests/assorted/06-status.spec.js
# e2e/tests/room/03-roomactions.spec.js
# e2e/tests/room/08-roominfo.spec.js
# ios/Gemfile.lock
# ios/Podfile.lock
# ios/RocketChatRN.xcodeproj/project.pbxproj
# ios/RocketChatRN/Info.plist
# ios/ShareRocketChatRN/Info.plist
# ios/custom.ttf
# jest.setup.js
# package.json
# storybook/stories/HeaderButtons.js
# storybook/stories/Markdown.tsx
# storybook/stories/NewMarkdown.js
# storybook/stories/RoomItem.js
# storybook/stories/__snapshots__/Avatar.storyshot
# storybook/stories/__snapshots__/HeaderButtons.storyshot
# storybook/stories/__snapshots__/List.storyshot
# storybook/stories/__snapshots__/Markdown.storyshot
# storybook/stories/__snapshots__/Message.storyshot
# storybook/stories/__snapshots__/NewMarkdown.storyshot
# storybook/stories/__snapshots__/RoomItem.storyshot
# storybook/stories/__snapshots__/ServerItem.storyshot
# storybook/stories/index.js
# yarn.lock
2022-07-18 14:48:17 -03:00
Reinaldo Neto
2f51224f3f
[FIX] Rename done to save on Status View ( #4363 )
2022-07-15 17:44:24 -03:00
Reinaldo Neto
5a7f77a159
[FIX] User status update with hooks ( #4362 )
...
* [FIX] User status update with hooks
* add log
* fix dispatch
Co-authored-by: GleidsonDaniel <gleidson10daniel@hotmail.com>
2022-07-15 17:18:36 -03:00
Reinaldo Neto
fe7722ca10
[IMPROVE] Support for tag request close when is obligatory to close Omnichannel's Channel ( #4353 )
...
* [IMPROVE] Support for tag request close
* clean up
* refactor isObrigatory and value
* fix obligatory
* removed onSubmitEditing
* create closelivechatview
* Refactor Close Omnichannel from ActionSheet to a new Screen
* Fix navigation
* fix screen title
* back to before actionsheetwithinput
* added string in pt-br
* refactor canSubmit
* fix the method closeRoom
* comment of server's version
* some tweaks
* Update app/lib/services/restApi.ts
Co-authored-by: Gleidson Daniel Silva <gleidson10daniel@hotmail.com>
2022-07-15 17:06:27 -03:00
Danish Ahmed Mirza
dd48402214
[IMPROVE] Migrate UIKit/MultiSelect to ActionSheet ( #4255 )
...
* Migrate UIKit/MultiSelect to ActionSheet
* Fix no options initially on CreateDiscussion view
* Change backgroundColor and use colors from useTheme
* Define missing types
* onSearch function for the ActionSheet
* Add onClose function to the ActionSheet and use colors from useTheme
* fix theme and bottomSheet
* fix actionSheet
* fix style
Co-authored-by: GleidsonDaniel <gleidson10daniel@hotmail.com>
2022-07-13 16:31:58 -03:00
Diego Mello
785ae0325b
Chore: Update icon set ( #4355 )
2022-07-13 14:09:15 -03:00
Gleidson Daniel Silva
cc6a403bf7
[FIX] Room header not updating when room type changes ( #4330 )
2022-07-06 17:08:50 -03:00
Gleidson Daniel Silva
e39919094e
[FIX] User status update ( #4333 )
2022-07-06 17:05:13 -03:00
Diego Mello
37db9b208d
[IMPROVE] Make message parser default ( #4339 )
2022-07-06 12:43:50 -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
f5167a2c94
Revert "[FIX] Form re-rendering on RoomInfoEditView when app receives newer data from stream ( #4220 )" ( #4340 )
...
This reverts commit d47320733a
.
2022-07-04 18:05:58 -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
8563453735
[FIX] Announcement field triggers password suggestion ( #4305 )
...
Co-authored-by: Gleidson Daniel Silva <gleidson10daniel@hotmail.com>
2022-06-23 17:10:48 -03:00
Gleidson Daniel Silva
303d127949
[FIX] Change password not working on some cases ( #4312 )
...
* create iTotp enum
* migrate change user profile to method
* Fix minor i18n issues
* Use saveUserProfileMethod from Services
* Catch cancel event from TwoFactor modal
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2022-06-23 16:59:57 -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
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
Danish Ahmed Mirza
a5a45f533b
[FIX] Rooms are losing the time after search ( #3722 )
...
Co-authored-by: Reinaldo Neto <reinaldonetof@hotmail.com>
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2022-06-21 16:35:51 -03:00
Reinaldo Neto
28ee43f817
[FIX] Avatar pixel size ( #4285 )
...
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2022-06-21 16:23:55 -03:00
Gleidson Daniel Silva
6b15ace933
[FIX] In some discussions you haven't joined yet, messages are not being loaded. ( #4269 )
...
* fix discussions not loadings
* Adds one more layer of verification to get the correct room type
2022-06-14 13:12:44 -03:00
Reinaldo Neto
fa90e4d456
Chore: Hooks - create usePermissions ( #4190 )
...
* Chore: Hooks - create custom hook usePermissions
* minor tweak
* Change usage of usePermissiosn on LivechatEditView
* Create getPermissionsSelector
* Simplify selector
* Simplify userRoles
* First render with permissions array length of false
* Move roles state closer to each other
* useSubscription (not working, but looking cool)
* at least it's working now
* working
* cleanup
* solve ts return
* Change it to useSubscriptionRoles only and check for diff on the state
* Remove IAppState
* Minor tweak to work properly useSubscriptionRoles
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2022-06-13 17:36:54 -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
Reinaldo Neto
a21c797886
[FIX] Searching for users when creating Discussions ( #4267 )
2022-06-13 10:15:22 -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
Diego Mello
d47320733a
[FIX] Form re-rendering on RoomInfoEditView when app receives newer data from stream ( #4220 )
2022-06-09 10:01:58 -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
Alex Junior
6220375f7b
Chore: upgrade react navigation to 6.0.10 version ( #4120 )
2022-06-01 16:46:37 -03:00
Reinaldo Neto
496d3f2ceb
[FIX] Search Message stops showing the correct result ( #4253 )
2022-05-31 14:37:42 -03:00
Gerzon Z
11c8510398
[FIX] User status update ( #3961 )
...
* update: `setCustomStatus` function
* update: `StatusView`'s `setCustomStatus`
* update: `setCustomStatus` function
* update: `StatusView`'s `setCustomStatus`
* refactor: `submit` function
remove: setCustomStatus
update: logEvent
* remove: failed request logic
* fix detox test
Co-authored-by: Reinaldo Neto <reinaldonetof@hotmail.com>
2022-05-31 13:50:10 -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
Diego Mello
a9214e73b5
Merge 4.28.0 into single-server ( #4258 )
2022-05-30 19:01:25 -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
Alex Junior
3265a8395d
Regression: Fix load starred, mentions, pinned and files messages ( #4214 )
2022-05-27 14:22:47 -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
Reinaldo Neto
41721757d0
Chore: Evaluate SearchMessagesView - TypeScript ( #4122 )
...
* Chore: Evaluate SearchMessagesView - TypeScript
* minor tweaks
* Update app/views/SearchMessagesView/index.tsx
Co-authored-by: Gleidson Daniel Silva <gleidson10daniel@hotmail.com>
Co-authored-by: Gleidson Daniel Silva <gleidson10daniel@hotmail.com>
2022-05-23 14:46:30 -03:00
Gleidson Daniel Silva
aa3f963af6
[FIX] Fix delete room on team's channel list ( #4191 )
...
* fix delete room
* update pods
2022-05-23 14:16:17 -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
469c04e90a
Chore: Evaluate e2e screens - TypeScript ( #4142 )
2022-05-19 23:42:55 -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
Reinaldo Neto
1a52c7dc57
Chore: Evaluate AddChannelTeamView - TypeScript ( #4170 )
2022-05-17 10:39:21 -03:00
Reinaldo Neto
f5051e189d
Chore: Evaluate ModalBlockView - TypeScript ( #4124 )
2022-05-17 10:22:41 -03:00
Gleidson Daniel Silva
be19da54a3
Chore: Evaluate StatusView - TypeScript ++hooks ( #4075 )
...
* move statusview to your specific folder
* create showToast helper
* migrate StatusView to hooks
* fix type
* add peer deep to useEffect
* fix lint
* fix error message
2022-05-17 09:42:31 -03:00
Gerzon Z
f9394b66e3
Chore: evaluate `RoomsListView` ( #4147 )
2022-05-16 15:14:04 -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
Gerzon Z
311b346347
Chore: evaluate `InviteUsersView` ( #4100 )
2022-05-13 10:02:01 -03:00
Gerzon Z
4d4a5cffd9
Chore: evaluate `MarkdownTableView` ( #4104 )
2022-05-13 09:57:19 -03:00
Reinaldo Neto
81c6ffce40
Chore: Evaluate RoomInfoView - TypeScript ( #4107 )
...
* Chore: Evaluate RoomInfoView - TypeScript
* refactor interfaces
2022-05-11 15:20:59 -03:00
Reinaldo Neto
fe84090703
Chore: Evaluate ShareView - TypeScript ( #4087 )
2022-05-11 14:59:29 -03:00
Reinaldo Neto
59be3b68b8
Chore: Evaluate AddExistingChannelView - TypeScript ( #4169 )
2022-05-11 14:38:49 -03:00
Reinaldo Neto
fb11932d0b
Chore: Evaluate AuthenticationWebView - TypeScript ( #4158 )
2022-05-11 13:59:57 -03:00
Reinaldo Neto
390516a5b4
Chore: Evaluate AttachmentView - TypeScript ( #4161 )
2022-05-11 13:42:03 -03:00
Reinaldo Neto
5970d29ee7
Chore: Evaluate AdminPanelView - TypeScript ( #4162 )
2022-05-11 13:33:27 -03:00
Alex Junior
1d452ed9e6
Chore: Evaluate MessagesView - TypeScript ( #4113 )
2022-05-10 23:22:17 -03:00
Gerzon Z
e233058e22
Chore: evaluate `RoomInfoEditView` ( #4095 )
...
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2022-05-10 18:26:06 -03:00
Gerzon Z
c9fd7973f0
Chore: evaluate `LegalView` ( #4097 )
...
* chore: evaluate LegalView
* remove: `options` from `LegalView` on OutsideStack
* remove: `mapStateToProps` in favor of `useSelector`
2022-05-10 18:19:57 -03:00
Gerzon Z
9320d1e05e
Chore: evaluate SettingsView ( #4090 )
...
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2022-05-10 18:19:06 -03:00
Alex Junior
e0bfdee70c
[IMPROVE] Create edited component for edited messages ( #4048 )
2022-05-10 14:40:08 -03:00
Gerzon Z
6623044344
Chore: Evaluate `TeamChannelsView` ( #4088 )
...
* update: `TeamChannelsView`'s interfaces
* update: `TeamChannelsView`'s route params and types
* update: `teamChannels` type
Co-authored-by: GleidsonDaniel <gleidson10daniel@hotmail.com>
2022-05-09 10:21:09 -03:00
Alex Junior
abbb97cd84
Chore: Evaluate ThreadMessagesView - TypeScript ( #4084 )
2022-05-06 23:34:58 -03:00
Alex Junior
55d66c85db
Chore: Evaluate ProfileView - Typescript ( #4091 )
2022-05-06 23:11:07 -03:00
Alex Junior
1346154b65
Chore: Evaluate SidebarView - Typescript ( #4089 )
2022-05-06 22:19:27 -03:00
Alex Junior
8ca73e273a
Chore: Evaluate emoji picker - TypeScript ( #4069 )
2022-05-06 22:06:08 -03:00
Gerzon Z
88b4a3f672
Chore: evaluate `ThemeView` ( #4086 )
...
* chore: evaluate `ThemeView`
* update: `IThemeViewProps` to extend `IBaseScreen`
* update: `ThemeView` interface
* update: dependency array
* update: use `useLayoutEffect` instead
2022-05-05 11:24:36 -04:00
Gleidson Daniel Silva
305f360b40
[FEAT]: Request current passcode before enter "Screen lock" screen ( #4052 )
...
* move auth to handleLocalAuthentication function
* add support to close ScreenLockedView
* create useServer hook
* add check to verify if you have a password before entering the screen
* fix import
2022-05-03 17:29:00 -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
Samay Kothari
9d0b659097
[FIX] Messages showing URL preview on Room Actions ( #4065 )
...
* using database query instead of Rocketchat search api to get message search results
* getting search data from server then converting it into the format as required for message rendering
* fixing some redundant changes
* remove ts-ignore
* removing redundant statements
* url preview is visible when we see messages in pinned, mentions and starred messages
Co-authored-by: Gerzon Z <gerzonzcanario@gmail.com>
2022-05-03 15:52:56 -04:00
Gerzon Z
b006fc4358
Chore: evaluate `JitsiMeetView` ( #4103 )
2022-05-03 14:17:00 -04:00
Gerzon Z
d720b5aca9
Chore: evaluate `ForgotPasswordView` ( #4106 )
2022-05-03 12:33:35 -04:00
Gerzon Z
d277788dc4
Chore: evaluate `AuthLoadingView` ( #4102 )
...
* chore: evaluate `AuthLoadingView`
* remove: `mapStateToProps`, `connect` and interface
2022-05-03 12:25:18 -04:00
Gerzon Z
0dc34f1eca
Chore: evaluate `DefaultBrowserView` ( #4105 )
2022-05-03 12:12:43 -04:00
Gerzon Z
784b016736
chore: evaluate `LoginView` ( #4098 )
2022-05-03 12:05:01 -04:00
Gerzon Z
99409d1af4
chore: evaluate `NewServerView` ( #4101 )
2022-05-03 11:48:02 -04:00