question: are the old "What's new" slides (2.0.0, 2.3.0) still needed in the language files?

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

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

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

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
45/100
issue の種類
リファクタリング
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
csharp, json
領域
documentation

調査の方向性

Start with the SlideDeck.Newest and WhatsNewService.Decide code the issue cites, and check whether the old whats_new.2_0_0 and whats_new.2_3_0 keys are referenced anywhere outside the i18n files. The issue asks the maintainer to choose between three options, so confirm that intent before editing the 23 language files. Done means the agreed option is applied and the existing tests still pass.

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

説明

Question

The i18n files still have the "What's new" strings for old versions (whats_new.2_0_0.* and whats_new.2_3_0.*), but the latest version is 2.5.0. Are they kept on purpose, or can they be removed?

What I found

  • WhatsNewService.Decide calls SlideDeck.Newest(decks, seen, current), which returns only the single newest deck that is newer than the version the user last saw and no newer than the running version.
  • About → "What's new" shows Latest, which is the newest deck up to the running version.
  • current is the version of the build that is running. In a 2.5.0 build, the 2.5.0 deck is always the newest one, so the 2.0.0 and 2.3.0 decks can't be shown by this code. Updating from an older version shows only the 2.5.0 deck.
  • The tests build their own small decks, so they don't depend on the real old ones.
  • Each old deck has many keys in each of the 23 language files, so they add translation work and file size.

I may be missing something. Maybe you keep them as a history, for translators, or for a future "all past slides" page.

Options

  1. Keep them as they are.
  2. Remove the old decks (2_0_0 and 2_3_0) from all language files and keep only the newest. Then each release would drop the previous deck.
  3. Keep them, but add a short note in the docs saying they are kept on purpose.

If you'd like option 2, I can open a PR for it.

主要言語
C#
スター
3.6k
フォーク
192
平均マージ
14時間 23分
マージ済み PR(30日)
458

環境構築

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

はじめの一歩

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

KnifeLemon/Filee のほかの issue

KnifeLemon/Filee の issue をすべて見る

似ている issue

C# の issue をもっと見る

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

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