Long-press RIGHT opens the oldest recent object, not the most recent
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 1/5
- 見積もり時間
- 1時間未満
- 初心者へのやさしさ
- 92/100
調査の方向性
python/PiFinder/ui/menu_manager.py の MenuManager.key_long_right から始め、次に python/PiFinder/state.py の UIState.recent_list() を調べて、結果が新しいものから順に並ぶことを確認します。3つの閲覧済みオブジェクトで issue の再現手順に従います。RIGHT を長く押すと最新のオブジェクトが開き、詳細画面が新しいものから順に並ぶリストの先頭から表示になれば、変更は完了です。
索引モデルが issue の本文から書いたものです。
説明
A long press of RIGHT should open the object you viewed most recently, but it opens the oldest one in this session's recents.
Cause
MenuManager.key_long_right (python/PiFinder/ui/menu_manager.py, about line 400) opens recent_list()[-1]:
recent_list = self.ui_state.recent_list()
...
"object_list": recent_list,
"object": recent_list[-1],
UIState.recent_list() (python/PiFinder/state.py) returns list(reversed(self.__recent)), so it is newest-first, as the Recent screen shows it ("most recent first", docs/source/menu_map.rst). Its last element is therefore the oldest object viewed this session.
Steps to reproduce
- View M 31, then M 42, then M 57, opening each object's details.
- Go back to a menu, so the details screen isn't on top, and long-press RIGHT.
- M 31 opens. M 57 is expected.
Fix
Open recent_list()[0]. The details screen then starts at the top of the newest-first list, so DOWN steps back through older objects, matching the Recent screen.
Found while building #678, which changed how object details steps through its list. It's out of that PR's scope.
🤖 Generated with Claude Code
- 主要言語
- Jupyter Notebook
- スター
- 253
- フォーク
- 63
- 平均マージ
- 11時間 55分
- マージ済み PR(30日)
- 8
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
brickbots/PiFinder のほかの issue
-
Discord Link Invalidオープン
難易度 1/5 1時間未満 初心者へのやさしさ 67/100
brickbots/PiFinder#682 · コメント 3 件 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
メンテナーはふだん 1 日以内に返信
-
documentation
難易度 2/5 1〜3時間 初心者へのやさしさ 80/100
メンテナーはふだん 1 日以内に返信
-
catalogs enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
メンテナーはふだん 1 日以内に返信
brickbots/PiFinder の issue をすべて見る
似ている issue
-
bug from-studio
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
esengine/DeepSeek-Reasonix#14868 ·
メンテナーはふだん 1 日以内に返信
-
beginner bug frontend
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
BistaDinesh03/critique#266 ·
メンテナーはふだん 1 日以内に返信
-
Replace discontinued crypto-js in the theme対応中かも @aelmanaa が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
PaloAltoNetworks/docusaurus-openapi-docs#1689 ·
メンテナーはふだん 2 日以内に返信
-
a11y bug confirmed issue
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
open-webui/open-webui#33442 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
gramps-project/gramps-web#1604 ·
メンテナーはふだん 1 日以内に返信