20.2: Optimize panel over ExportOptions with a live preview

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

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

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

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
42/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
rust
領域
design, desktop

調査の方向性

Start by reading the existing ExportOptions type and the shell command registry and menu tree, which the issue identifies as integration points. Then trace the in-memory encode path to determine how it can produce a preview size without writing to disk. Done means the panel opens with current options, changes update both the model and preview, unchanged options preserve the preview value, and the inert menu row test remains within its cap.

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

説明

enhancement

Phase 20.2 of the daily-driver expansion: FireCraft has no Optimize panel, so a user cannot tune an export for size and quality before shipping it.

Work

  • A CS6-shaped Optimize panel sitting on top of the existing ExportOptions type (reuse it; do not duplicate it).
  • Controls for the format (GIF / JPEG / PNG / WebP), quality, dithering, palette size and matte colour, as the CS6 Optimize panel exposes them.
  • A live preview that reports the resulting output size as the options change, computed over the in-memory encode path rather than a write to disk.
  • Reachable from the shell command registry and from the menu tree.

Acceptance

  • The panel opens with the document's current export options.
  • Changing an option updates the model and the live preview value.
  • An unchanged option yields an unchanged preview value.
  • No inert menu rows are added (the inert_count_never_rises test caps them at 8).

Tracking: task #200.

主要言語
Rust
スター
11
フォーク
1
平均マージ
9時間 48分
マージ済み PR(30日)
13

環境構築

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

はじめの一歩

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

aliasfoxkde/FireCraft のほかの issue

aliasfoxkde/FireCraft の issue をすべて見る

似ている issue

Rust の issue をもっと見る

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

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