UI5WC Wrapper: use index accessed & `UI5CustomEvent` type.
維護者通常 1 天內回覆
還沒有人認領這個 Issue。
評估
- 難度
- 4/5
- 預估耗時
- 3-5 天
- 新手友好度
- 42/100
- Issue 類型
- 重構
- 描述清晰度
- 基本清楚
- 活躍度
- 停滯
- 技術堆疊
- react, typescript
- 領域
- frontend
研究方向
Start with packages/main/src/webComponents/Button/index.tsx, especially the prop type at line 67 and event type at line 169, to understand the intended patterns. Search the wrapper components for locally imported or defined UI5WC prop types and Ui5CustomEvent usages. Done means applicable wrappers use indexed types and UI5CustomEvent consistently.
由索引模型根據 Issue 內容生成。
描述
If applicable:
- Use index accessed type for ui5wc props instead of importing the type or defining it ourselves.
- Use ui5wc
UI5CustomEventinstead of ourUi5CustomEvent
E.g.:
- https://github.com/SAP/ui5-webcomponents-react/blob/main/packages/main/src/webComponents/Button/index.tsx#L67 ->
UI5WCButton['design'](UI5WCButton=>Buttonclass) - https://github.com/SAP/ui5-webcomponents-react/blob/main/packages/main/src/webComponents/Button/index.tsx#L169 ->
(event: UI5CustomEvent<WCButton, 'click'>) => void
- 主要語言
- TypeScript
- 星號
- 543
- 分支
- 114
- 平均合併
- 21 小時 22 分鐘
- 30 天內合併 PR
- 81
環境準備
- 沒有 Dockerfile 或 Docker Compose 檔案
- 有 Pull Request 範本
- 閱讀貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
UI5/webcomponents-react 的其他 Issue
-
author action
難度 3/5 半天 新手友好度 55/100
UI5/webcomponents-react#9128 · 3 則留言 ·
維護者通常 1 天內回覆
-
ObjectPage: tabIndex=0 set on first ObjectPageSection even for single-section layout causing WCAG 2.1.1 keyboard accessibility violation可能已有人在做 @Lukas742 於 13 天前認領。 未關閉
UI5/webcomponents-react#9080 · 5 則留言 ·
維護者通常 1 天內回覆
-
難度 5/5 一週以上 新手友好度 20/100
UI5/webcomponents-react#8529 ·
維護者通常 1 天內回覆
-
Design Pending SAP SF
難度 3/5 1-2 天 新手友好度 45/100
UI5/webcomponents-react#8158 · 1 則留言 · 1 個 reaction ·
維護者通常 1 天內回覆
-
a11y Design Pending
難度 3/5 1-2 天 新手友好度 35/100
UI5/webcomponents-react#7582 · 4 則留言 ·
維護者通常 1 天內回覆
查看 UI5/webcomponents-react 的全部 Issue
相似的 Issue
-
area: web bug
難度 2/5 1-3 小時 新手友好度 76/100
kinqsradio/orbyn-engineering#227 ·
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 85/100
joeldesante/TurfBuilder#258 ·
維護者通常 1 天內回覆
-
bug
難度 2/5 1-3 小時 新手友好度 78/100
ncecere/open-mcp-portal#85 ·
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 63/100
loathers/garbage-collector#2865 ·
維護者通常 1 天內回覆
-
test-reliability
難度 2/5 1-3 小時 新手友好度 78/100
Azure/azure-sdk-for-js#40672 · 1 個 reaction ·
維護者通常 1 天內回覆