mattermost-mobile/app/components/files
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
..
audio_file.tsx Implementing the Audio Playback/Download on the chat (#7900) 2025-02-19 11:17:30 +01:00
document_file.tsx Implementing the Audio Playback/Download on the chat (#7900) 2025-02-19 11:17:30 +01:00
file.tsx Implementing the Audio Playback/Download on the chat (#7900) 2025-02-19 11:17:30 +01:00
file_filter.tsx Upgrade Dependencies (#7299) 2023-04-21 12:16:54 -04:00
file_icon.tsx fix(MM-60645): missing bookmark emoji (#8518) 2025-01-27 11:01:08 -07:00
file_info.tsx Surround text on file info for searches (#8391) 2024-12-04 07:57:23 +02:00
file_options_icon.tsx [Gekidou MM-45790] Create File Options Menu for Tablet View (#6531) 2022-10-11 08:19:13 -05:00
files.test.tsx Fix edit attachments (#8468) 2025-01-17 12:41:14 +01:00
files.tsx Fix edit attachments (#8468) 2025-01-17 12:41:14 +01:00
image_file.tsx Update dependencies and upgrade to RN 0.76.5 (#8421) 2025-01-16 07:11:32 -07:00
image_file_overlay.tsx [Gekidou] Get theme from useTheme (#6485) 2022-07-28 13:08:38 +02:00
index.ts MM-54866 - Calls: Transcription support (#7703) 2023-12-21 16:20:21 -05:00
video_file.tsx Upgrade RN as well as update or replace other dependencies (#8011) 2024-06-19 09:33:45 +08:00