* [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>
* 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>
* 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>
* 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>
* 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>
* 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>
* 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>
* 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>
* 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>
* 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>
* [IMPROVE] Option to show mentions badge
* fix the local database and mergeSubscriptions, missing the state in notificationPrefView
* finished the hideMentions
* fix the string version
* [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>