Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

[Bug]: Mobile terminal paste button is hidden off-screen in the scrolling toolbar

Đang mở Phù hợp với người mới
#24,694 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
2/5
Thời gian dự kiến
1-3 giờ
Mức phù hợp với người mới
78/100
Loại issue
Lỗi
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
react-native, typescript
Lĩnh vực
mobile

Hướng nghiên cứu

Bắt đầu với apps/mobile/src/features/terminal/ThreadTerminalRouteScreen.tsx và xem cách bố trí thanh công cụ phụ kiện cùng ComposerToolbarButton. Kiểm tra vị trí của nút đóng bàn phím hiện có, sau đó cân nhắc cách giữ cho thao tác dán luôn hiển thị trên màn hình có chiều rộng bằng điện thoại. Công việc hoàn tất khi người dùng có thể tìm và dùng Paste mà không cần cuộn thanh công cụ.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

Before submitting
  • I searched existing issues and did not find a duplicate.
  • I included enough detail to reproduce or investigate the problem.
Area

apps/mobile

Steps to reproduce
  1. Open a thread's terminal in the mobile app on a phone.
  2. Tap the terminal so the keyboard and the terminal accessory toolbar appear.
  3. Look for a way to paste the phone's clipboard.
Expected behavior

Paste is visible without scrolling. Pasting a copied command is one of the most common things to do in a mobile terminal.

Actual behavior

paste is the 10th button in the horizontally scrolling accessory toolbar (↑ ↓ ← → esc ctrl alt tab paste clear ~ | / -). On a phone-width screen it sits past the visible area, so it is easy to never find. Nothing makes it obvious that the toolbar scrolls: the right-edge fade is subtle, and the visible buttons fill the row, so it reads as a complete set of keys. I used the terminal for a while without realizing there were more buttons past the edge. Long-pressing the terminal does not offer Paste either (the iOS terminal view has no edit menu), so it looks like pasting is not possible at all.

#16299 / #21398 fixed the same kind of problem for the arrow keys by moving them to the front, which pushed paste further right.

Impact

Minor bug or occasional failure

Version or commit

main @ 24c80f34a1

Environment

iOS, T3 Code mobile app

Workaround

Scroll the accessory toolbar to the right to find paste.

Possible fix

Pin paste as an icon button outside the scroller, next to the existing "Dismiss keyboard" button (ComposerToolbarButton with icon, e.g. doc.on.clipboard / content_paste) in apps/mobile/src/features/terminal/ThreadTerminalRouteScreen.tsx. Happy to send a PR if that direction sounds right.

Ngôn ngữ chính
TypeScript
Star
24.8k
Fork
6.4k
Merge trung bình
8 giờ 4 phút
Pull request đã merge (30 ngày)
199

Chuẩn bị môi trường

Mở trong Codespaces

Khởi chạy dev container của dự án ngay trên trình duyệt, bằng tài khoản GitHub của bạn.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của pingdotgg/t3code

Tất cả issue của pingdotgg/t3code

Issue tương tự

Thêm issue về TypeScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.