Make it easier to diff against previous versions
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 48/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 静か
- 技術スタック
- nuxt, typescript
- 領域
- frontend
調査の方向性
Start by locating the package page UI described in the issue, especially the version header, diff link, and version sidebar. Trace how the base and target versions are selected and how the diff URL is formed. Done means users can readily compare a package version with its predecessor and understand or change the comparison direction.
索引モデルが issue の本文から書いたものです。
説明
Describe the feature
In the current UI it's surprisingly difficult to diff a version against its predecessor:
- If you're viewing the latest version (i.e., the default page) of a package then the diff link is hidden by default, so you first have to navigate to the version you want to compare against, then click the diff link there (which will then default to comparing against latest).
- Things get even trickier for patch versions: To compare the prior version, you again first have to select the prior version, then choose the version you wanted to compare against in the first place.
I can think of a few changes that would reduce the friction:
- Always display the diff link. Hiding it just makes the feature more difficult to discover and doesn't do all that much to unclutter the UI.
- Show base and target version together. The base version (the one you're viewing) is currently displayed and selected in the top right header, while the target version is managed in the lefthand sidebar, which flips the direction of the comparison and URL parts. Showing both versions close to each other helps users understand what they are comparing, and makes it easier to add affordances to change the direction.
- Compare old vs new. When a user selects a target version in the UI and the relation to the base version is clear (e.g. shared semver parts), ensure that the older version becomes the base. UI affordances can still allow users to change the direction explicitly.
- Make the prior version more accessible. If a preceding version can be determined, either default the base to it or show it prominently in the base dropdown.
Additional information
- Would you be willing to help implement this feature?
Final checks
- Read the contribution guide.
- Check existing issues.
- 主要言語
- TypeScript
- スター
- 3.6k
- フォーク
- 533
- 平均マージ
- 4日 1時間
- マージ済み PR(30日)
- 39
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
npmx-dev/npmx.dev のほかの issue
-
pending triage
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
メンテナーはふだん 1 日以内に返信
-
a11y front
難易度 2/5 1〜3時間 初心者へのやさしさ 67/100
npmx-dev/npmx.dev#2914 · コメント 3 件 ·
メンテナーはふだん 1 日以内に返信
-
front i18n
難易度 2/5 1〜3時間 初心者へのやさしさ 64/100
npmx-dev/npmx.dev#2831 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信
-
back stale stale-to-close
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
npmx-dev/npmx.dev#2511 · コメント 4 件 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信
npmx-dev/npmx.dev の issue をすべて見る
似ている issue
-
area:desktop bug documentation
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
anthropics/claude-code#104801 ·
メンテナーはふだん 1 日以内に返信
-
check:passed streams:add
難易度 2/5 1〜3時間 初心者へのやさしさ 67/100
メンテナーはふだん 2 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
spudly/design-system#110 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
メンテナーはふだん 1 日以内に返信
-
[Bug]: REST API URL starting with "http" but no scheme (e.g. httpbin.org/get) is not given an http:// prefix対応中かも @ItsDeadlyProgrammer が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
appsmithorg/appsmith#42471 · コメント 1 件 ·
メンテナーはふだん 2 日以内に返信