Skip to content

fix: automatically load stored feed items after initial feed list load (#255) - #260

Open
fboucher-os wants to merge 1 commit into
v-nextfrom
klpr/feature/issue-255-automatic-feed-loading
Open

fboucher-os wants to merge 1 commit into
v-nextfrom
klpr/feature/issue-255-automatic-feed-loading

Conversation

@fboucher-os

Copy link
Copy Markdown
Collaborator

Closes #255

Summary

  • Fixed automatic feed item loading in Feeds.razor when OnInitializedAsync completes asynchronously after the initial render ( irstRender == true).
  • Replaced the firstRender check in OnAfterRenderAsync with !loading && !initialLoadStarted && !disposed.IsCancellationRequested so the initial batched LoadFeeds(..., refresh: false) runs once right after groups and feeds finish loading and rendering.
  • Added bUnit tests covering asynchronous GetFeeds() completion and error handling when GetFeeds() throws.

@github-actions

Copy link
Copy Markdown

Code Coverage

Package Line Rate Branch Rate Health
NoteBookmark.AIServices 97% 64% ✔
NoteBookmark.Api 90% 84% ✔
NoteBookmark.BlazorApp 14% 15% ❌
NoteBookmark.Domain 94% 75% ✔
NoteBookmark.ServiceDefaults 96% 75% ✔
NoteBookmark.SharedUI 61% 61% ➖
Summary 76% (3290 / 4335) 72% (1499 / 2087) ➖

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: In review

Development

Successfully merging this pull request may close these issues.

1 participant