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

Source Editor: Add a scroll/don't extend past end of page

Đang mở
#209 1 bình luận 1 reaction 0 người được giao Xem trên GitHub

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

Đánh giá

Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
25/100
Loại issue
Tính năng
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Ít trao đổi
Công nghệ
javascript
Lĩnh vực
frontend

Hướng nghiên cứu

Start by reading the linked ProfileView.ts example and inspecting how the source editor card is placed in the folder-pane. Clarify with maintainers whether the desired behavior is scrolling or fitting the visible window, then define the expected behavior for documents opened at different positions. Done means the agreed interaction is implemented and its layout behavior is verified.

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

Mô tả

enhancement

I opened this since the original ticket is complete for the source editor card. Also, I wanted to discuss when we should add this.

Here are my thoughts:
Currently the new source editor card sits in the old folder-pane. This means when you select a document in the middle of the screen or further down it opens at the bottom, it's very small so I think it would look funny right now to add the scroll or to make it only show the portion that fits in the screen. Here is how it looks.

Image

Also, I thought I'd do a bit of research and I noticed that for github there is no scroll on the file itself only on the main window. After seeing this I wonder if we want to add the scroll and make it fit in the window after all.
https://github.com/SolidOS/profile-pane/blob/main/src/ProfileView.ts

Wanted to get your thoughts.

Ngôn ngữ chính
TypeScript
Star
3
Fork
3
Merge trung bình
13 phút
Pull request đã merge (30 ngày)
1

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

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

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 SolidOS/source-pane

Tất cả issue của SolidOS/source-pane

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.