Diego Mello
15e84b878f
Merge branch 'single-server' into single-server-4.32
2022-10-17 13:41:36 -03:00
Reinaldo Neto
531f3d0147
[IMPROVE] Add ignore user to user profile ( #4600 )
...
* button ignore and pased the param
* load room from database and check is is ignored
* move handleIgnore to lib/method/helpers
* Ignore and Unignore, also reactivity
* block and unblock user
* pass fromRid from actionView to InfoView too
* remove console.log
* unsubscribe subscriptionFrom
* block and unblock user from dm
* test to block user and ignore user
* minor tweak
* tweak data
* minor tweak
* add test before tapBack
* refactor names
2022-10-13 18:29:55 -03:00
Gleidson Daniel Silva
fe04faac64
Chore: Migrate SettingsView to hooks ( #4542 )
...
* migrate settings view to hooks
* temp - add non-null assertion
* fix options
* Update app/views/SettingsView/index.tsx
Co-authored-by: Reinaldo Neto <47038980+reinaldonetof@users.noreply.github.com>
* Update app/views/SettingsView/index.tsx
Co-authored-by: Reinaldo Neto <47038980+reinaldonetof@users.noreply.github.com>
* fix options
Co-authored-by: Reinaldo Neto <47038980+reinaldonetof@users.noreply.github.com>
2022-09-30 11:50:33 -03:00
Reinaldo Neto
27af3bf5eb
Chore: Hooks app/views/LanguageView ( #4537 )
...
* Chore: Hooks app/views/LanguageView
* minor tweak app selector
2022-09-28 09:12:48 -03:00
Reinaldo Neto
ed66246d0a
Chore: Hooks app/views/UserNotificationPreferenceView ( #4502 )
...
* Chore: Hooks app/views/UserNotificationPreferenceView
* added trycatch and userId
Co-authored-by: Gleidson Daniel Silva <gleidson10daniel@hotmail.com>
2022-09-28 09:12:48 -03:00
Reinaldo Neto
9d69c10bbd
Chore: Hooks app/views/LanguageView ( #4537 )
...
* Chore: Hooks app/views/LanguageView
* minor tweak app selector
2022-09-22 18:40:32 -03:00
Reinaldo Neto
b3a286329c
Chore: Hooks app/views/UserNotificationPreferenceView ( #4502 )
...
* Chore: Hooks app/views/UserNotificationPreferenceView
* added trycatch and userId
Co-authored-by: Gleidson Daniel Silva <gleidson10daniel@hotmail.com>
2022-09-22 18:31:23 -03:00
Diego Mello
6f64babbd6
Merge branch 'single-server' into single-server-4.30
...
# Conflicts:
# app/containers/UIKit/HeaderButtons.js
# app/views/RoomsListView/Header/Header.tsx
# ios/RocketChatRN.xcodeproj/project.pbxproj
# yarn.lock
2022-09-12 11:23:19 -03:00
Reinaldo Neto
c9ce52958c
Chore: Hooks app/views/ForgotPasswordView ( #4485 )
...
* Chore: Hooks app/views/ForgotPasswordView
* validating email and using hook forms
* using mode onCHange
* add return
* fix theme
Co-authored-by: Gleidson Daniel <gleidson10daniel@hotmail.com>
2022-09-06 14:44:31 -03:00
Reinaldo Neto
9cbffff248
[IMPROVE] Redesign create room flow ( #4381 )
...
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2022-08-26 16:16:45 -03:00
Gleidson Daniel Silva
cbc6892084
[NEW] Unify members section ( #4399 )
...
* create useUserPermissions hook
* create CheckRadioButton component
* fix return
* create MembersSection component
* apply MembersSection and header filter
* fix re-render and testID
* fix detox tests
* rename to RadioButton
* move the component closer to the screen
* remove useUserPermissions
* remove theme prop
* migrate to hooks
* fix team permissions
* remove theme prop from UserItem
* remove options prop
* fix Member
* remove commented test
* fixes
* fix for room not joined
* add room members events
* adds empty option
* add members filter and pagination
* clear RoomMembersView
* remove unused styles
* Update app/views/RoomMembersView/index.tsx
Co-authored-by: Diego Mello <diegolmello@gmail.com>
* wip
* Temp workaround for SearchBox background color
* Rename import
* Fix missing params for 5.0
* Fix e2e tests
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2022-08-26 10:21:25 -03:00
Reinaldo Neto
ded2f3792a
Chore: Hooks app/views/DefaultBrowserView ( #4424 )
...
* Chore: Hooks app/views/DefaultBrowserView
* fix type
* minor tweak
* item on new file
* minor tweaks
* minor tweak
2022-08-19 10:46:58 -03:00
Gleidson Daniel Silva
28043a2eb5
Chore: Migrate E2ESaveYourPasswordView to hooks ( #4432 )
2022-08-17 10:51:40 -03:00
Reinaldo Neto
0c8177e025
[FIX] Text composer is pushing modals outside the screen on Android's tablet ( #4393 )
...
* [FIX] Text composer is pushing modals outside the screen
* added isLandscape
* refactor useKeyboard
* refactor landscape
2022-08-11 15:50:34 -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
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
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
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
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
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
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
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
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
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
Diego Mello
a9214e73b5
Merge 4.28.0 into single-server ( #4258 )
2022-05-30 19:01:25 -03:00
Reinaldo Neto
b1ffffb04b
Chore: Migration to Hooks - QueueListView ( #4171 )
...
* Chore: Migration to Hooks - QueueListView
* minor tweaks
* minor tweaks
2022-05-23 14:33:58 -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
fe84090703
Chore: Evaluate ShareView - TypeScript ( #4087 )
2022-05-11 14:59:29 -03:00
Reinaldo Neto
5970d29ee7
Chore: Evaluate AdminPanelView - TypeScript ( #4162 )
2022-05-11 13:33:27 -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
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
1346154b65
Chore: Evaluate SidebarView - Typescript ( #4089 )
2022-05-06 22:19:27 -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
Reinaldo Neto
bd55fe44ba
Chore: Evaluate NewMessageView - TypeScript ( #4115 )
...
* Chore: Evaluate NewMessageView - TypeScript
* minor tweak
2022-05-02 23:43:30 -03:00
Reinaldo Neto
888bcae48e
Chore: Evaluate RoomMembersView - TypeScript ( #4116 )
...
* Chore: Evaluate RoomMembersView - TypeScript
* evaluate show action sheet
* fix tsubscriptionmodel
2022-05-02 21:48:08 -03:00
Alex Junior
b63f514df7
Chore: Evaluate NotificationPreferencesView - Typescript ( #4099 )
2022-05-02 15:24:17 -03:00
Reinaldo Neto
e5f140e231
Chore: Evaluate SelectListView - TypeScript ( #4119 )
...
* Chore: Evaluate SelectListView - TypeScript
* minor tweak
2022-05-02 09:40:19 -03:00
Reinaldo Neto
f04b15a432
Chore: Evaluate ForwardLivechatView - TypeScript ( #4126 )
...
* Chore: Evaluate ForwardLivechatView - TypeScript
* minor tweaks
2022-05-02 09:03:55 -03:00
Diego Mello
8f6100d450
Merge 4.27.0 into single-server ( #4138 )
2022-04-28 15:44:40 -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
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
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
Diego Mello
9d2175485c
Merge 4.26.1 into single-server ( #3981 )
2022-03-29 15:53:27 -03:00
Alex Junior
cbe2b23e27
Chore: Clean LoginServices - TypeScript ( #3935 )
2022-03-22 19:14:42 -03:00
Reinaldo Neto
cbfa7bf43a
Chore: Migrate RoomInfoView to Typescript ( #3778 )
...
* Chore: Migrate RoomInfoView to Typescript
* tweak in avatar
* tweak with SubscriptionType
* minor tweak package
* Chore: Migrate RoomInfoView to Typescript
* tweak in avatar
* tweak with SubscriptionType
* minor tweak package
* react.reactelement | null
* minor tweak
* minor tweak livechatvisitor
* remove console.log
* Tweaks
2022-03-03 18:46:53 -03:00
Diego Mello
6626510f50
Chore: Migrate RoomActionsView to Typescript ( #3750 )
2022-03-02 11:49:43 -03:00