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

Modifying row/col size and being able to move/insert/remove cols/rows

Đang mở
#83 1 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ó
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
18/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Ít trao đổi
Công nghệ
zig
Lĩnh vực
desktop

Hướng nghiên cứu

The payload only describes the work at a high level: file grid storage (row height, column width, row and column counts), animations stored as lists of indexes, and the History system. It names no source files or tests, so locate the grid and animation code yourself before starting. The one open item is the ruler right-click menu for inserting or deleting rows and columns from the middle of the image; the other items are marked done. Done means that menu works and the animation and History updates are covered. Settle the open design questions with the maintainer first.

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

Mô tả

@ZackeryRSmith

This was a request to be able to modify the canvas scale, which would mean changing the column width and row height of a file. Currently, files are ensured to be exactly divisible by rows/cols, because files don't store overall width or height. Instead, everything is calculated off of row height and col width, and number of each.

Currently, adding and removing columns can only be done from the bottom right, and rows or columns cannot be inserted or removed from the inner portion of the file.

https://github.com/user-attachments/assets/44be4fd2-5a2b-4ac8-8fab-bcaa0c911a9a

My thoughts would be that since the animations are now a list of indexes rather than a start and length, we can easily handle resizing the grid gracefully, either reassigning the sprite indexes if possible, or simply removing them if they no longer exist.

The trickier part comes with resizing the cell size, and if we want to scale the cell contents if they exist as well. I believe that we do, but we would need to include an option to leave the contents unscaled and centered for if you simply wanted to increase the space around your sprites without resizing them.

So I believe the action items for this one are as follows:

  • Create rulers for the canvas. Top ruler will be A-Z and left ruler will be the rows numerically.
  • Use the above rulers to offer right click menus similar to excel to allow inserting or deleting rows from the center of the image.
  • Allow a menu option to resize the grid cell size of the current file, and if the contents should be scaled as well or not.
  • Ensure that animations are correctly updated to reflect the new grid and finally work that into the History system.
Ngôn ngữ chính
Zig
Star
1.5k
Fork
40
Merge trung bình
5 giờ 35 phút
Pull request đã merge (30 ngày)
151

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 fizzyedit/fizzy

Tất cả issue của fizzyedit/fizzy

Issue tương tự

Thêm issue về Desktop Dev

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.