Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

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

オープン
#83 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
18/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
静か
技術スタック
zig
領域
desktop

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

@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.
主要言語
Zig
スター
1.5k
フォーク
40
平均マージ
5時間 35分
マージ済み PR(30日)
151

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

fizzyedit/fizzy のほかの issue

fizzyedit/fizzy の issue をすべて見る

似ている issue

Desktop Dev の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。