adopted-ember-addons / adopted-ember-addons/ember-impagination
Documentation doesn't explain record states
- 主要語言
- JavaScript
- 星號
- 123
- 分支
- 12
- PR 合併指標
- 30 天內沒有已合併 PR
描述
I can see that records have these four properties:
- isPending
- isRejected
- isRequested
- isResolved
I gather that when `isResolved = true` the `record.content` property is fulfilled and I can render my template. I'm guessing that `isRejected` is true if the load failed. What is the difference between `isPending` and `isRequested`?
Probably all four should be explained in the documentation with some sort of sample template logic. Example:
``` handlebars
{{#if record.isResolved}}
{{#with record.content as |model|}}
{{/with}}
{{else if record.isRejected}}
{{else}}
{{/if}}
```
貢獻指南
這個儲存庫沒有索引到貢獻指南
研究方向
No documentation file or test is named in the issue. Start by locating the definitions and usage of isPending, isRejected, isRequested, and isResolved, then verify how record.content behaves for each state. Done means the documentation explains all four states and includes a sample Handlebars template covering resolved, rejected, and loading records.
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- handlebars, javascript
- 領域
- documentation, frontend
- Issue 類型
- 文件
- 難度
- 3/5
- 預估耗時
- 1-2 天
- 活躍度
- 停滯
- 描述清晰度
- 基本清楚
- 新手友好度
- 38/100