| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
chore: sync ai branch changes onto upstream/ai Squashed commit of all ai branch development work: - feat: component extension system (FlexUIComponentExtension, BadgeView) - feat: HSP resource loading via configurable ResourceManager - feat: dynamic property injection (has.env) - feat: debug logging for ArkTS API entry points - feat: Card Tester mock data via bridge dispatch - feat: flexui adapter split into frontend/backend - fix: console, bridge, serialization, text rendering fixes - refactor: FlexUIBridge rename, as_apis extraction, callback handling - chore: release @flexui/engine v0.1.0 - chore: gitignore HAR, GIF, node_modules build artifacts Co-Authored-By: Claude <noreply@anthropic.com> | 2 个月前 | |
fix: custom component event framework — native node event binding Fix 1: fallbackListenerOnNativeNode defaults to true (|| false → ?? true). This enables checkFallbackEventListener for native nodes by default, so bind* attributes (e.g. bindonbadgetap) are routed through elem.addListener → setListenerStats → adapter.eventNamesMap mapping instead of being stored as plain attributes. Fix 2: Remove bind* interception hack in NativeBackendElement.setAttribute. Now that checkFallbackEventListener handles event routing at the ProcGen level, the manual setAttribute interception is dead code. Cleanup: Remove badgetap/bindonbadgetap special cases from FRBadgeView. When the adapter correctly maps onbadgetap→click, the standard click event pipeline (setProp('click') → setClickable → eventClick) handles everything without component-specific code. Add diagnostic logs at key points in the event pipeline. Retain EventDispatcher fallback (on + nativeName) as defensive safety net. Co-Authored-By: Claude <noreply@anthropic.com> | 2 个月前 |
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
| 2 个月前 | ||
| 2 个月前 |