feature request: Support iPhone Duo layouts and folding transitions

Aperta
#7,843 1 commento 1 reazione 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
35/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
ios, react-native, typescript
Ambito
frontend, mobile

Direzione di ricerca

Start by reading the React Native app’s existing iPhone and iPad layout handling and the related issue #7832, which addresses an outer-display header gap. Then check how the app responds to window size changes and preserves conversation state; the suggested device workflow gives the validation steps. Done means both displays, folding transitions, rotation, Split View, keyboard, threads, attachments, and modals work without losing context or regressing existing iPhone and iPad layouts.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

🎉 feature type: feature
Feature Description

Please validate and support Rocket.Chat on Apple’s iPhone Duo, including its outer display, larger unfolded display, and transitions between them.

  • Adapt the layout to the current window size on both displays, including rotation and Split View.
  • On the wider unfolded display, show the room list and conversation side by side where space permits.
  • Preserve the current room, message draft, and reading position when folding, unfolding, rotating, or resizing.
  • Keep headers, safe areas, the keyboard, and the message composer correctly positioned, with no clipped or unreachable controls.
Motivation and Use Case

I would like to use Rocket.Chat comfortably on both displays and benefit from the extra space when the device is open. A typical workflow is reading a conversation on the outer display, unfolding to work in a larger view, and folding again without losing context or an unfinished message.

This is a compatibility and layout feature request, not a report of a reproduced crash or a claim that the app is entirely unsupported.

Implementation Ideas

Use the available window size to determine the layout and update it when the window changes. Reuse existing tablet layout behavior where appropriate.

Suggested validation:

  1. Open a conversation on the outer display and start a draft.
  2. Unfold, rotate, and fold the device again.
  3. Check that the room, draft, and reading position remain intact and the layout updates correctly.
  4. Repeat with the keyboard open and in Split View; also check threads, attachments, and modal screens.
  5. Check existing iPhone and iPad layouts for regressions.
Is this feature available in the API or web version?

Not sure

Rocket.Chat Server Version

No response

Rocket.Chat App Version

No response

Device Name

Apple iPhone Duo

OS Version

No response

Additional Context

Related: #7832 fixes a white gap above opaque headers on iPhone Duo’s outer display. This request covers broader layout and transition support rather than duplicating that fix.

I searched existing issues for “iPhone Duo”, “Duo”, “foldable”, “fold”, and “split view” and did not find a matching support request.

Apple references:

If this is already covered by existing work, please link the tracking issue or supported app version.

Lingua principale
TypeScript
Stelle
2.4k
Fork
1.5k
Merge medio
1g 15h
PR unite (30g)
29

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di RocketChat/Rocket.Chat.ReactNative

Tutte le issue di RocketChat/Rocket.Chat.ReactNative

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.