Skip to content

enh: add lazy loading of texts and make them scrollable.#8

Merged
shsiddhant merged 1 commit into
mainfrom
enh/scrolling-messages
Mar 30, 2026
Merged

enh: add lazy loading of texts and make them scrollable.#8
shsiddhant merged 1 commit into
mainfrom
enh/scrolling-messages

Conversation

@shsiddhant
Copy link
Copy Markdown
Owner

Pull Request Summary

Adds lazy loading of texts and makes them scrollable.

Type of Change

Choose one or more:

  • New Feature

Changes

  1. Modify message service get_messages to accept limit and offset.
  2. Modify MessageList model:
    • Accept message service and limit as parameters instead of message list.
    • Add canFetchMore and fetchMore methods for lazy loading of texts.
  3. Modify ChatView and MainWindow models accordingly.

Checklist

  • Code runs without errors
  • Code style and lint checks passed

@shsiddhant shsiddhant self-assigned this Mar 30, 2026
@shsiddhant shsiddhant added enhancement New feature or request models Add/modify SQLAlchemy models ui Additions/Changes to PySide Qt app UI labels Mar 30, 2026
@shsiddhant shsiddhant merged commit 086e668 into main Mar 30, 2026
2 checks passed
@shsiddhant shsiddhant deleted the enh/scrolling-messages branch March 30, 2026 04:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request models Add/modify SQLAlchemy models ui Additions/Changes to PySide Qt app UI

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant