Show the menus on the alternate screen
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 48/100
- issue の種類
- 機能追加
- 明瞭さ
- 明確に書かれている
- 活発さ
- 活発
- 技術スタック
- javascript, node.js
- 領域
- cli
調査の方向性
Start by reading the existing menu resize handling and the approach tried in #59, then trace how scripts run and how normal exits, Ctrl+C, and errors are handled. Check the tests and README alongside the touched lib/ files. Done means the alternate screen handles resizing and script output as specified, tests and coverage meet the stated requirements, documentation is updated, and the roadmap item is ticked.
索引モデルが issue の本文から書いたものです。
説明
Roadmap: A polished interface
Show the menus on the terminal's alternate screen (\x1b[?1049h), as less and vim do, and leave it before a script runs and on every exit path (normal exit, Ctrl+C, errors). Resizing the window can then redraw the whole screen, header included.
Today only the list redraws itself on resize. The header above it is drawn once per screen, so a terminal made narrower rewraps it into pieces. Clearing and redrawing the screen on resize was tried in #59 and dropped: clearing only reaches the visible part of the window, so each redraw left a duplicate header in the scrollback.
The list's page size should also count the lines drawn above it, so the screen never grows taller than the window.
Done when
- Resizing the window while a menu is open never leaves broken lines or duplicate headers, in Windows Terminal, the classic console, macOS Terminal, iTerm2 and a Linux terminal
- Script output stays in the normal screen, so it remains visible after returning to the menu
- Tests cover the change, and coverage stays at or above 90% of lines
- The README describes the change, and the header comment of each touched
lib/file is up to date - CI passes on Windows, macOS and Linux with Node 22, 24 and 26
- The roadmap item is ticked
The milestone is done when: Screenshots of the main screens look correct in Windows Terminal, PowerShell, macOS Terminal, iTerm2 and a Linux terminal, at 80 and 120 columns, with and without NO_COLOR.
- 主要言語
- JavaScript
- スター
- 0
- フォーク
- 0
- 平均マージ
- 41分
- マージ済み PR(30日)
- 22
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
modulane/dev-workspace-cli のほかの issue
-
enhancement good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
modulane/dev-workspace-cli#26 ·
メンテナーはふだん 1 日以内に返信
-
enhancement
難易度 5/5 1週間以上 初心者へのやさしさ 22/100
modulane/dev-workspace-cli#54 ·
メンテナーはふだん 1 日以内に返信
-
enhancement help wanted
難易度 4/5 3〜5日 初心者へのやさしさ 43/100
modulane/dev-workspace-cli#53 ·
メンテナーはふだん 1 日以内に返信
-
enhancement
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
modulane/dev-workspace-cli#52 ·
メンテナーはふだん 1 日以内に返信
-
enhancement
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
modulane/dev-workspace-cli#51 ·
メンテナーはふだん 1 日以内に返信
modulane/dev-workspace-cli の issue をすべて見る
似ている issue
-
JS/TS: JSX props compile errors should link to a doc page explaining the static-list requirementオープンarea: js-runtime enhancement exists-upstream interop priority: low
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
shayanhabibi/fickl#307 ·
メンテナーはふだん 1 日以内に返信
-
editor good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
webarkit/webarkit-studio#16 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
superdesigndev/treg#1324 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
entur/iteru-3dbus#48 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
pigeon189/zcode-fox-widget#17 · コメント 1 件 ·