freeCodeCamp / freeCodeCamp/devdocs

Add preference to hide announcements/reload-to-update notifications

未关闭
#728 12 条评论 8 个 reaction 已指派 0 人 在 GitHub 查看
improvement
主要语言
Ruby
星标
39.5k
派生
2.6k
平均合并
4 天 32 分钟
30 天内合并 PR
13

描述

The notifications that show up on top of documentation in the upper right hand corner appear quite often and are annoying to dismiss. Could there be a preference to either fully silence these or could they be hidden behind a button with a little “new notifications circle” (e.g., like how GitHub shows you that you have unread notifications)? Or perhaps they could just always be hidden behind a clickable notification button and there is no need for a preference.

In my use case, I come to devdocs occasionally but not constantly. So whenever I come, I am trying to read documentation because I can navigate to what I want to read about very quickly but the page is mostly covered by the notifications. I find it annoying to have to keep dismissing them.

Regarding the ~“reload to see new version!” notification, I have no reason to reload immediately because a reload will naturally happen sometime in the future when I close the tab and then open a new tab at an unknown time in the future to find other docs. So I think this notification should also be hideable.

贡献指南

打开贡献指南

调研方向

No file, test, or entry point is named. Start by locating the documentation notification UI and reviewing existing notification behavior and settings; agree on one interaction model before implementation. Done should mean the announcements and reload-to-update notification can be unobtrusively hidden or silenced as specified, with coverage for the chosen behavior.

由索引模型根据 Issue 内容生成。

评估

领域
frontend
Issue 类型
功能
难度
5/5
预计耗时
一周以上
活跃度
停滞
描述清晰度
需要澄清
新手友好度
30/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。