mattermost-mobile/app
Lucas Reis 8e854a8bdd
Implementing the Audio Playback/Download on the chat (#7900)
* feat: added new check for isAudio and added the supported mime types

* feat: adding the progress and audio on the audio file message

* feat: finishing the layout of the audio_file

* feat: play and pause audio

* feat: update the progress bar when audio is playing

* feat: update the timeframe of the audio

* feat: update with the new design

* feat: adding download and preview

* feat: creates a hook for the file download and preview

* feat: adding useCallback to make the return stable

* fix: iOS issue when playing in loop

* feat: adding localization for the error

* fix: removing code tha was inserted for debug

* feat: add a new line on the en.json

* fix: fixing types

* feat: adding the onSeek method inside the progress bar

* feat: changing progress value to animated value

* feat: changing to GestureDetector and making the seek method work

* feat: adding a touchable without feedback to prevent the audio to triggering other page

* feat: adding the drag on the seek method

* feat: making the download button more gray

* fix: fix tests

* fix: prevent onProgress from clearing the seconds when the audio is paused

* feat: clamping the position of the cursor to never be dragged offscreen

* feat: enhancing the experience of dragging the cursor on the progress bar

* feat: differentiate between the throttles

* feat: remvoing the aac audio files support

* feat: pausing if the focus has changed

* feat: render differently the audio file when in the files list

* refactor: optimize audio file component by using useCallback for event handlers

* refactor: extract stopPropagation function for better readability in AudioFile component

* feat: implement custom useThrottled hook and replace lodash throttle in AudioFile component

* refactor: update useThrottled hook to accept a generic callback type

* fix: loading of uri of audio files after merge

* feat: add audioFile style to enhance layout for audio files

* fix: tests
2025-02-19 11:17:30 +01:00
..
actions Fix MM-61975 (#8459) 2025-02-17 13:45:12 +01:00
client Fix MM-61975 (#8459) 2025-02-17 13:45:12 +01:00
components Implementing the Audio Playback/Download on the chat (#7900) 2025-02-19 11:17:30 +01:00
constants Fix Android keyboard gap using navigation events (#8565) 2025-02-06 11:18:05 +01:00
context Add the Component Library to the app (#8319) 2025-02-04 13:32:55 +01:00
database Check file id instead of metadata for file removal (#8549) 2025-02-03 15:02:28 +01:00
helpers Network metrics (#8390) 2024-12-17 19:51:26 +08:00
hooks Implementing the Audio Playback/Download on the chat (#7900) 2025-02-19 11:17:30 +01:00
i18n MM-59761 Add tests for i18n functionality (#8510) 2025-01-31 09:30:42 -05:00
init test: Add tests for launch.ts initialization logic (#8547) 2025-02-03 08:22:16 -05:00
managers Fix MM-61975 (#8459) 2025-02-17 13:45:12 +01:00
products/calls [MM-59773] Add unit tests for Calls (#8480) 2025-01-21 12:02:03 -06:00
queries test: Add entry query function tests (#8534) 2025-01-31 08:22:11 -05:00
screens Fix MM-61975 (#8459) 2025-02-17 13:45:12 +01:00
store test: Add tests for NavigationStore (#8541) 2025-02-03 08:56:16 -05:00
utils Implementing the Audio Playback/Download on the chat (#7900) 2025-02-19 11:17:30 +01:00