Improve Mobile Navigation UX for Sidebar Menu
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 45/100
- Issue 类型
- 功能
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 领域
- documentation, web-dev
调研方向
该 issue 未指明文件、测试或入口点。在移动设备上重现侧边栏流程,检查文档网站的导航实现,并选择一种能让所选页面内容立即可见的方法;通过重复列出的步骤来验证结果。
由索引模型根据 Issue 内容生成。
描述
Problem
When viewing the Matomo Developer Docs on a mobile device, navigating via the sidebar menu leads to a confusing user experience:
- A user taps a sidebar item—for example, "Distributing your plugin".
- The page reloads and the selected menu item becomes active.
- Because the reload is very fast and the menu is still visible, it’s not obvious to the user that the new page has already loaded.
- The actual page content starts far below the sidebar, requiring significant scrolling before the user sees any change on the screen.
This makes it feel as though nothing happened after tapping the link, and the user may think the tap didn’t register.
Expected / Desired Behavior
After selecting a sidebar link on mobile:
The user should immediately see the page content, not the sidebar again at the top.
Navigation should provide a clear visual indication that the user has moved to a new page.
Possible Solutions
Any of the following could improve UX:
- Auto-jump to the top of the main content area after navigating.
- Collapse or hide the sidebar automatically once a menu item is selected.
- Scroll the page to the content anchor on load (#content or similar).
- Use a different mobile navigation pattern, e.g. a slide-out drawer that closes after selection.
- Show a subtle transition or loading indicator before content appears.
Why This Matters
Mobile users may miss that the page has changed, leading to confusion and unnecessary scrolling. Improving this flow will make the documentation feel much more responsive and intuitive on smaller screens.
Steps to Reproduce
- Open developer.matomo.org on a mobile device.
- Open the sidebar navigation.
- Tap "Distributing your plugin" (or another item).
- Observe that the sidebar remains at the top after reload, pushing the actual content far below.
- 主要语言
- PHP
- 星标
- 58
- 派生
- 88
- 平均合并
- 2 天 13 小时
- 30 天内合并 PR
- 2
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
matomo-org/developer-documentation 的其他 Issue
-
Documentation enhancement
难度 1/5 1-3 小时 新手友好度 68/100
-
bug
难度 4/5 3-5 天 新手友好度 35/100
-
难度 1/5 1 小时以内 新手友好度 55/100
matomo-org/developer-documentation#806 · 2 条评论 ·
-
难度 5/5 一周以上 新手友好度 25/100
matomo-org/developer-documentation#787 · 1 条评论 ·
-
难度 1/5 1 小时以内 新手友好度 45/100
matomo-org/developer-documentation#784 · 1 条评论 ·
查看 matomo-org/developer-documentation 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 75/100
维护者通常 1 天内回复
-
Include flows spanning the full report time window可能已有人在做 @somethingwithproof 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 77/100
Cacti/plugin_flowview#306 ·
维护者通常 1 天内回复
-
priority:low type:bug
难度 2/5 1-3 小时 新手友好度 82/100
crazy-goat/workerman-bundle#1189 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100
Automattic/blocks-engine#5003 ·
维护者通常 1 天内回复
-
from-cloud mythic tracked
难度 1/5 1 小时以内 新手友好度 86/100
MythicalLTD/FeatherPanel#459 · 1 条评论 ·
维护者通常 1 天内回复