Skip to content

fix: append history load more results#21

Open
itzptk wants to merge 1 commit into
mainfrom
fix/issue-20-history-load-more-append-20260604230449
Open

fix: append history load more results#21
itzptk wants to merge 1 commit into
mainfrom
fix/issue-20-history-load-more-append-20260604230449

Conversation

@itzptk

@itzptk itzptk commented Jun 4, 2026

Copy link
Copy Markdown
Owner

Summary

  • Update HistoryStore.load() so page 1 resets history rows and later pages append the newly loaded records.
  • Hide the History view Load more button once the loaded row count reaches the reported total.
  • Add regression coverage for append/reset behavior and the exhausted-load-more UI state.

Closes #20

Verification

  • npm test -- --include src/app/core/stores/history.store.spec.ts --include src/app/features/history/history-view/history-view.component.spec.ts → 2 files / 4 tests passed.
  • npm test → 115 files / 255 tests passed.
  • npm run test:node → 15 files / 116 tests passed.
  • npm run build → Angular production build and Electron tsup build succeeded.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Keep earlier history rows when loading more results

1 participant