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

Add fixtures for the erase modes we have no coverage of (clean-screen, area erase)

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

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

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

評価

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

調査の方向性

Start with tests/input/README.md and compare the existing erase.note/erase.pdf and stroke-isolation.note/.pdf fixture patterns. Capture area erase, clean screen, and the lasso select-and-move versus lasso erase pair with untouched controls, recording device and firmware. Done means adding the new .note fixtures and matching Supernote PDF exports for the modes needed by #70 and #72.

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

説明

Split out from #69 (Part 1.4 of plans/vector-format-spec.md).

flutter_note_lib.dll's redraw path names the trail categories the device recognises. Comparing that list against our fixtures shows two we have never captured:

Device category Our coverage
ERASE_LINE_COLOR_VALUE (the color == 255 line eraser) yes — erase.note, horizontal_1270.note
region selection / ERASER select yes — nomad-3.26.40-link-tag-3p.note p3
this is five star yes — fiveStarsSignal
this is normal trail yes
TRAIL_ERASE_AREA (area erase as a category distinct from the line eraser) none
CLEAN SCREEN (whole-page erase) none

Why it matters

These are the fixtures #70 and #72 need. The erase-vs-select discriminator can't be isolated by diffing records if we only have one side of the comparison, and m_trailStatus's codes can't be mapped to meanings without a note that exercises each mode deliberately.

There's also a plain correctness question: we don't know what vectorInk currently does with a whole-page erase. erase-no-white-pen.note covers "page whose ink layers are empty" and renders nothing, which may already be the same statement at page scale — but that was reached by a different route and hasn't been checked against a real CLEAN SCREEN record.

What to capture

For each mode, ideally on the same page as untouched control strokes, plus Supernote's own PDF export as ground truth (the pattern erase.note/erase.pdf and stroke-isolation.note/.pdf already follow):

  1. Area erase — the rectangular/region erase tool, over some strokes and partially over others.
  2. Clean screen — write content, then whole-page erase. Worth capturing both as the only page and as one page among several.
  3. Lasso select-and-move vs lasso erase of visually identical content, as the direct differential pair for #70.

Note per tests/input/README.md conventions: record which device and firmware, since the record tail already varies four ways across generations.

主要言語
TypeScript
スター
42
フォーク
9
平均マージ
30分
マージ済み PR(30日)
2

環境構築

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

はじめの一歩

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

philips/supernote-typescript のほかの issue

philips/supernote-typescript の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

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

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