feature request: Support iPhone Duo layouts and folding transitions

オープン
#7,843 コメント 1 件 リアクション 1 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
35/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
ios, react-native, typescript
領域
frontend, mobile

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

🎉 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.

主要言語
TypeScript
スター
2.4k
フォーク
1.5k
平均マージ
1日 15時間
マージ済み PR(30日)
29

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

RocketChat/Rocket.Chat.ReactNative のほかの issue

RocketChat/Rocket.Chat.ReactNative の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。