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

[Feature]: Remember the right panel’s maximised size when closing and reopening it

Đã đóng
#24,452 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
64/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
typescript
Lĩnh vực
frontend

Hướng nghiên cứu

Yêu cầu không nêu tên tệp hay bài kiểm thử. Hãy bắt đầu bằng cách theo dõi trạng thái phóng to, đóng và mở lại của bảng bên phải trong frontend. Sau đó, kiểm tra cách hành vi điều hướng hiện có duy trì trạng thái phóng to. Công việc hoàn tất khi việc đóng rồi mở lại trong cùng một thread khôi phục lựa chọn kích thước gần nhất, bao gồm kích thước bình thường sau khi khôi phục rõ ràng.

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

Mô tả

Request

Remember whether the right panel is maximised when it is closed, and restore that size when it is reopened in the same thread.

Current behaviour

  1. Open the right panel.
  2. Click Maximize panel.
  3. Close the right panel.
  4. Reopen it.

The panel opens at its normal width, so the user has to maximise it again on every open/close cycle.

Expected behaviour

Reopening the panel should restore the user's last size choice. If it was maximised when closed, reopen it maximised. If the user explicitly restores it to normal size before closing, reopen it at normal size.

This makes it easier to move between the conversation and a full-width file, diff, or browser view without repeatedly resetting the layout.

Related discussion and scope

This supports the existing request in https://github.com/pingdotgg/t3code/discussions/16893.

PR https://github.com/pingdotgg/t3code/pull/17327 already preserves maximisation when navigating to another thread or Settings, but explicitly leaves the reset-on-close behaviour unchanged. This request covers that remaining close/reopen case within the same thread.

No new default width or shared sizing across threads is requested.

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

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.