python / python/peps

Implement a hiding mechanism for sticky banners

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

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

infra
主要言語
reStructuredText
スター
5k
フォーク
1.8k
平均マージ
2日 4時間
マージ済み PR(30日)
25

説明

Maybe once it becomes sticky, it could shrink and show a shorter message?

I think the close button is good-enough as a solution for this TBH, because it's a more respectful way to allow users to hide banners as-and-when they wish to do so.

Originally posted by @pradyunsg in https://github.com/python/peps/issues/2992#issuecomment-1464897620

The specific UX might differ from the initial discussion referenced above, based on whether we want to completely hide the banner or just move it to a non-sticky state (avoiding a re-flow of the content on "close").

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

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

調査の方向性

まず、python/peps#2992 のリンク先の議論を読み、特に閉じるボタン、縮小、コンテンツのリフローを避けることについての点を確認してください。バナーを完全に非表示にするのか、non-sticky にするのかを明確にし、その後、実装箇所を探す前に、想定されるユーザー操作と受け入れ時の動作を定義してください。

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

評価

領域
documentation
issue の種類
機能追加
難易度
5/5
見積もり時間
1週間以上
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
25/100

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

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