Implement a hiding mechanism for sticky banners
Nobody has claimed this yet.
- Dominant language
- reStructuredText
- Stars
- 5k
- Forks
- 1.8k
- Avg merge
- 2d 4h
- Merged PRs (30d)
- 25
Description
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").
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reading the linked discussion in python/peps#2992, especially the points about close buttons, shrinking, and avoiding content reflow. Clarify whether the banner should be completely hidden or made non-sticky, then define the expected user interaction and acceptance behavior before locating the implementation.
Written by the indexing model from the issue text.
Assessment
- Domain
- documentation
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100