feat: Add option to choose image/video quality like WhatsApp

Open
#6,316 2 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
42/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
react-native, typescript
Domain
mobile

Research direction

Start at the ShareView header and the integration with expo-image-picker, focusing on its quality and videoQuality options. Add an SD/HD toggle with SD as the default, apply the selected quality to every file in one upload, and reset to SD for later uploads; verify the behavior with both images and videos.

Written by the indexing model from the issue text.

Description

🎉 feature

We would have to implement quality and videoQuality from expo-image-picker https://docs.expo.dev/versions/latest/sdk/imagepicker/#imagepickeroptions

To be done
  • Add a button on ShareView header to toggle between SD/HD. It can be just a text for now.
  • We’ll have to play with the values, but a compression of 0.5 might be enough
  • Default SD
  • The option needs to be considered on all files sent on the same upload, but fallback to SD afterwards for future uploads
Dominant language
TypeScript
Stars
2.4k
Forks
1.5k
Avg merge
1d 15h
Merged PRs (30d)
29

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from RocketChat/Rocket.Chat.ReactNative

All issues in RocketChat/Rocket.Chat.ReactNative

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.