[NFR]: ADR route source
维护者通常 1 天内回复
@niden 已经在做这个了。
开始于 2026年11月3日。
评估
这个 Issue 还没有评估数据。
描述
Summary
ADR does not fire router:matchedRoute, so the Route panel stays empty. Feed RouteCollector from adr:beforeExecuteAction.
Current state
EventfulHandlerfiresadr:beforeExecuteActionwith the Action as the source and the request as the data.- The request holds the route attributes (
getAttributes()).
Proposed direction
- The ADR bridge from #16 attaches to
adr:beforeExecuteActionand calls theRouteCollectormethod from #44. - The panel shows the Action class and the attributes. The MVC rows (module, controller and others) do not apply.
Known limit
EventfulHandler is the terminal handler of the pipeline. A middleware that returns early skips this event, so the panel is empty for that request. A URL with no match also leaves the panel empty. Accept this for the first version.
Acceptance
- In an ADR app, the Route panel shows the Action class and the attributes.
- The MVC route source is unchanged.
- Tests pass with full coverage.
phpcsandphpstanpass.
Depends on
- #16
Part of
#13
- 主要语言
- PHP
- 星标
- 6
- 派生
- 3
- 平均合并
- 3 小时 31 分钟
- 30 天内合并 PR
- 43
环境准备
- 提供 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
phalcon/debugbar 的其他 Issue
-
[BUG]: Duplicated JS and CSS for the exceptions and logs panels可能已有人在做 @niden 于 1 天前认领。 未关闭bug
phalcon/debugbar#108 · 已指派 1 人 ·
维护者通常 1 天内回复
-
[BUG]: The last exception differs between MVC and ADR可能已有人在做 @niden 于 1 天前认领。 未关闭bug
phalcon/debugbar#107 · 已指派 1 人 ·
维护者通常 1 天内回复
-
[BUG]: Small fixes for IP match, accessibility and docblocks可能已有人在做 @niden 于 1 天前认领。 未关闭bug
phalcon/debugbar#106 · 已指派 1 人 ·
维护者通常 1 天内回复
-
[BUG]: Member order and function imports do not follow the coding rule可能已有人在做 @niden 于 1 天前认领。 未关闭bug
phalcon/debugbar#105 · 已指派 1 人 ·
维护者通常 1 天内回复
-
[BUG]: CI does not test a Phalcon 5 only install or the minimum version可能已有人在做 @niden 于 1 天前认领。 未关闭bug
phalcon/debugbar#104 · 已指派 1 人 ·
维护者通常 1 天内回复
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 65/100
shukiv/jabali-panel#2423 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 67/100
-
难度 1/5 1 小时以内 新手友好度 79/100
smarty-php/smarty#1220 ·
-
bug
难度 2/5 1-3 小时 新手友好度 72/100
StarCitizenWiki/mediawiki-extensions-EmbedVideo#224 · 1 条评论 ·
-
难度 2/5 1-3 小时 新手友好度 69/100
opnsense/core#11171 · 1 个 reaction ·
维护者通常 1 天内回复