Commit Graph

837 Commits

Author SHA1 Message Date
Reinaldo Neto 5625d5311b moved audio from message/component/audio to message/Audio 2023-10-05 00:06:15 -03:00
Reinaldo Neto 24ccc33e05 fix colors name 2023-10-04 17:57:18 -03:00
Reinaldo Neto 037a74fb56 remove loading 2023-10-04 15:12:55 -03:00
Reinaldo Neto 2b379ee281 refactor audio component 2023-10-03 19:05:24 -03:00
Reinaldo Neto 8b053f630e moved the player from messageAudio to audioPlayer 2023-10-03 17:23:52 -03:00
Reinaldo Neto 9094b73456 Merge branch 'develop' into feat.new-audio-player 2023-09-22 14:51:53 -03:00
Diego Mello 7278b36763
fix: Remove react-native-keycommands (#5220) 2023-09-21 16:05:36 -03:00
Reinaldo Neto 9854f1626d
Merge branch 'develop' into feat.new-audio-player 2023-09-21 14:04:40 -03:00
Diego Mello 6a610a956f
feat: Remove landscape support from smartphones (#5203) 2023-09-08 10:51:12 -03:00
Diego Mello 79bc539773
feat: Dynamic action sheet height (#5202) 2023-09-08 10:47:42 -03:00
Reinaldo Neto b8a3615f7e
regression: the value of the uikit's block uikit could be undefined (#5195)
* regression: the value of the uikit's block uikit could be undefined

* update the test and add regression test

* update tests

---------

Co-authored-by: Gleidson Daniel Silva <gleidson10daniel@hotmail.com>
2023-09-05 13:52:51 -03:00
Diego Mello 024088dca6
feat: Refactor Status to make it handle user presence requests (#5148) 2023-08-29 16:15:26 -03:00
Gleidson Daniel Silva 7e7d42780f
fix: show the thread when it has zero messages (#5182)
* fix tcount logic

* add tests

* update timeout

* 🙄

* update snapshot

---------

Co-authored-by: Reinaldo Neto <47038980+reinaldonetof@users.noreply.github.com>
2023-08-29 13:50:42 -03:00
Reinaldo Neto 8cab77f94e change the class' name and add the method pauseCurrentAudio 2023-08-24 17:54:27 -03:00
Reinaldo Neto 0738f60f8e refactor colors to be the same as figmas name 2023-08-23 16:03:20 -03:00
Reinaldo Neto 67b3200a02 fix unloadAll, add hit slop to slider, show the duration on the first render 2023-08-23 11:57:11 -03:00
Reinaldo Neto fe18a1a3fa Merge branch 'develop' into feat.new-audio-player 2023-08-23 11:41:37 -03:00
Diego Mello 529891fcc0
regression: Rollback to React Native 0.69.8 (#5162) 2023-08-18 14:48:33 -03:00
Reinaldo Neto f5da42aae4
regression: preview format text for edge cases (#5172) 2023-08-17 16:44:41 -03:00
Reinaldo Neto a026f2beaf remove the PAUSE_AUDIO 2023-08-16 18:30:25 -03:00
Reinaldo Neto 14625821d6 fix rate state 2023-08-16 18:16:19 -03:00
Reinaldo Neto e50e59d6e7 remove audio copy 2023-08-16 17:10:46 -03:00
Reinaldo Neto 927225c0bb change the way we treat the audio 2023-08-16 16:52:56 -03:00
Gleidson Daniel Silva f78f6f33ff
fix: add fallback to unsupported MathML tags in MathJax (#5127)
* add react-native-katex

* use default message height
2023-08-16 09:02:53 -03:00
Gleidson Daniel Silva acbcac29c8
fix: fix bugs related to auto-translate and add tests (#5144)
* fix re-render on autoTranslateRoom sub update

* create autoTranslate tests

* create getMessageFromAttachment

* fix autoTranslate null value

* add translateLanguage to context

* fix type

* fix shouldComponentUpdate

* add autoTranslate and autoTranslateLanguage to subscription

* use getMessageFromAttachment instead att.description

* remove dequal

* add tryCatch

* 🙏
2023-08-14 17:22:46 -03:00
Reinaldo Neto 0c8b2f565e
regression: attachment view is changing the color of status bar (#5167) 2023-08-14 15:11:45 -03:00
Reinaldo Neto 7900fad9ac fix play 2 audios and play/pause properly 2023-08-11 17:39:16 -03:00
Reinaldo Neto defd97c3ce fix time margin horizontal 2023-08-11 13:13:43 -03:00
Reinaldo Neto 9066432ca2 removed the sound manipulation from Slider to manipulate only in the index 2023-08-10 17:36:26 -03:00
Reinaldo Neto 9c00ce08f4 layout fixed 2023-08-10 17:01:37 -03:00
Reinaldo Neto bf77b6ccc3 added the audio rate 2023-08-10 15:55:40 -03:00
Reinaldo Neto 7e65c9fd71 loading animated 2023-08-10 13:10:03 -03:00
Reinaldo Neto 55afcafd22 can play multiple audios, pausing the previous to execute the new one 2023-08-09 19:35:20 -03:00
Reinaldo Neto cd916644e8 start the tweaks on layout 2023-08-09 18:02:36 -03:00
Reinaldo Neto 40b416fffd update the icons with play-shaped-filled, pause-shape-filled, loading 2023-08-09 17:30:33 -03:00
Gleidson Daniel Silva cbbea73374
feat: add new video conf block - Issue (#5150)
* improve build-icon-set script

* update mappedIcons with new icons, and orderBy name

* add new icons fonts

* add phone-issue icon

* create VideoConferenceIssue block

* verify error and return issue block
2023-08-09 16:15:10 -03:00
Reinaldo Neto dfa368821a play/pause, track is working and onEnd 2023-08-09 15:51:45 -03:00
Reinaldo Neto 5bb14cb1e3 play/pause button, currentTime equal the sound, can change the slider and reflect to the sound 2023-08-08 18:24:46 -03:00
Reinaldo Neto f344c9e97f created the slider with text 2023-08-07 20:57:15 -03:00
Reinaldo Neto 186ab338e4 Merge branch 'develop' into feat.new-audio-player 2023-08-07 14:48:45 -03:00
Reinaldo Neto 425522a63e separate audio to a folder inside components and minor tweak attachment 2023-08-07 14:42:41 -03:00
Reinaldo Neto c9f4ca1197
feat: add media auto-download (#5076)
* feat: media auto-download view

* media auto download view completed and saving the settings in mmkv

* audio download preference

* audio auto download when the user who sent the audio is the same logged on mobile

* creation of isAutoDownloadEnabled, evaluate hist hook, Image Full Size preload done

* minor tweak audio show play button after download

* refactor audioFile to handleMediaDownload and fixed the audio download

* desestructured params to download too

* image download and autoDownload, algo fix the formatAttachmentUrl to show the image from local

* add the possibility to cancel image download and clear local images

* refactor blur component

* video download and auto download, also keeped the behavior to download unsuportted videos to the gallery

* add the possibility to start downloading a video, then exit the room, back again to room and cancel the video previously downloading

* remove the custom hook for autoDownload

* remove blurcomponent, fix the blur style in image.tsx, minor tweak video function name

* send messageId to video

* introducing the reducer to keep the downloads in progress

* create a media download selector

* remove all the redux stuff and do the same as file upload

* video download behavior

* done for image and audio

* fix the try catch download media

* clean up

* image container uiKit

* fix lint

* change rn-fetch-blob to expo-filesystem

* add pt-br

* pass the correct message id when there is an attachment on reply

* refactor some changes requested

* fix audio and move the netInfo from autoDownloadPreference to redux

* variable isAutoDownloadEnable name and handleMediaDownload getExtension

* message/Image refactored, change the component to show the image from FastImage to Image

* refactor handleMediaDownload and deleteMedia

* minor tweak

* refactor audio

* refactor video

* fix the type on the messagesView(the view of files)

* minor tweak

* fix the name of searchMediaFIleAsync's result

* minor tweak, add the default behavior, add the OFF as label

* minor tweaks

* verify if the media auto download exists on settings view

* fix media auto download view layout and minor tweak wifi

* avoid auto download from reply

* minor tweak at comment

* tweak list.section

* change the name to netInfoState and Local_document_directory

* remove mediaType and refactor audio and image

* separate blurview

* thumbnail video and video behavior

* add Audio to i18n and minor tweak

* set the blur as always dark and add the possibility to overlay

* don't need to controle the filepath in the view

* fix the loading in image and video at begin

* save the file with a similar filename as expected

* removed the necessity of messageId or id

* minor tweak

* switch useLayoutEffect to useEffect

* avoid onpress do some edge case because of cached at video

* minor tweak

* tweak at audio comment extension

* minor tweak type userpreferences

* remove test id from mediaAutoDownloadView

* change action's name to SET_NET_INFO_STATE

* caching and deleting video's thumbnails

* remove generate thumbnail

* minor tweak in image

* update camera-roll and save the file from local url

* remove local_cache_directory and deleteThumbnail

* update blur to fix error on android

* fix blur is hiding the file description

* avoid download unsupported video

* return void when it is loading the audio
2023-08-07 11:02:30 -03:00
Reinaldo Neto c469d0f8e9 fix togglePlayPause 2023-08-04 18:39:23 -03:00
Reinaldo Neto 278ed91f9a
feat: forward message (#5110)
* feat: share message

* index, selectPersonOrChannel, types

* share a message using the chat.postMessage and refactor the interfaces

* minor tweak

* removed rid in from select person or channel

* change title

* add pt-br translation

* compareServerVersion GTE 6.2.0

* test for sharemessage

* view to masterDetail

* fix podfile

* change from forward message to share message

* change from share to forward

* refactor the forward message view, tweak on some styles and add the cleanUpMessage

* minor tweak

* refactor to add MessagePreview and use the same message/index

* fix e2e test

* add the capability to filter the subscsription if the room is read only or not

* minor tweak

* fix disable the send button and add message has been shared

* add try catch and toast or alert

* fix interface
2023-08-04 11:09:36 -03:00
Reinaldo Neto 77a81d577e
fix: selected items on a multiselect change when do a new search (#5145)
* fix: selected items on a multiselect change when do a new search

* fix livechateditview

* minor tweak at const

* update uikit storyshot and uikit handle the multiStaticSelect

* add e2e test

* minor tweak
2023-08-03 16:37:14 -03:00
Reinaldo Neto 29b61e0ef3 first commit 2023-08-02 16:50:20 -03:00
Reinaldo Neto 9ee26916b5
chore: conditional to setBackgroundColor only for Android (#5147) 2023-07-25 10:21:55 -03:00
Reinaldo Neto 3e75699b0b minor tweak in image 2023-07-24 20:31:26 -03:00
Reinaldo Neto 7e81d41eec remove generate thumbnail 2023-07-24 17:46:49 -03:00
Reinaldo Neto 71ec9698c9 caching and deleting video's thumbnails 2023-07-20 16:37:49 -03:00