[Bug]: Mobile terminal paste button is hidden off-screen in the scrolling toolbar
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
- Open a thread's terminal in the mobile app on a phone.
- Tap the terminal so the keyboard and the terminal accessory toolbar appear.
- 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
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.
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của pingdotgg/t3code
-
[Bug]: Device screenshot fails with 500 on iPhone Duo (Xcode 27.2): serve-sim calls simctl without --displayCó thể đã có người làm Có pull request liên kết đang mở hoặc đã được merge. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 66/100
pingdotgg/t3code#24900 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
pingdotgg/t3code#24800 · 2 bình luận · 1 reaction ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[Bug]: Desktop startup briefly warns about Codex provider status before its initial check completesĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của pingdotgg/t3code
Issue tương tự
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 70/100
microsoft/playwright#43640 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
grasshopper-protocol/grsshppr#172 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug help wanted
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Tencent/teamai-cli#1397 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
DouyinFE/semi-design#3641 ·
Maintainer thường phản hồi trong vòng 3 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 83/100
Maintainer thường phản hồi trong vòng 1 ngày