Bug 455045 - Have a better indicator of loading messages
Summary: Have a better indicator of loading messages
Status: RESOLVED FIXED
Alias: None
Product: NeoChat
Classification: Applications
Component: General (other bugs)
Version First Reported In: unspecified
Platform: Other All
: NOR normal
Target Milestone: ---
Assignee: Tobias Fella
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-06-08 18:14 UTC by Jan Bidler
Modified: 2023-11-20 17:11 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Partly cached room info (26.47 KB, image/png)
2022-06-08 18:14 UTC, Jan Bidler
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Bidler 2022-06-08 18:14:07 UTC
Created attachment 149559 [details]
Partly cached room info

SUMMARY
If a room already has some cached messages, and is opened, than the top of the messages do not have any indicator that NC is loading more of them

STEPS TO REPRODUCE
1. Open NeoChat
2. Open a room that neochat has partly cached message data

OBSERVED RESULT
The top will look very empty, not indicating whether there's still more to come (see attachment)

EXPECTED RESULT
A better indicator that NeoChat is currently fetching and loading more messages.

SOFTWARE/OS VERSIONS
Windows: 10 21H1
Linux: Arch Linux
NeoChat Version: 
KDE Frameworks Version: 5.94.0
Qt Version: 5.15.2 / 5.15.4
Comment 1 Bug Janitor Service 2023-11-18 14:43:58 UTC
A possibly relevant merge request was started @ https://invent.kde.org/network/neochat/-/merge_requests/1447
Comment 2 James Graham 2023-11-20 17:11:06 UTC
Git commit 5efd17d370eee22e11d98a08f2fb2d67fded14c6 by James Graham.
Committed on 20/11/2023 at 18:10.
Pushed by nvrwhere into branch 'master'.

Loading and End of Timeline Delegates

Add delegate for showing the user a loading indicator and for the beginning of the timeline.
Related: bug 465285

M  +4    -0    src/CMakeLists.txt
M  +2    -0    src/enums/delegatetype.h
M  +2    -9    src/models/messageeventmodel.cpp
M  +4    -3    src/models/messagefiltermodel.cpp
M  +2    -1    src/models/messagefiltermodel.h
A  +95   -0    src/models/timelinemodel.cpp     [License: GPL(3+eV) GPL(v3.0) GPL(v2.0)]
A  +112  -0    src/models/timelinemodel.h     [License: GPL(3+eV) GPL(v3.0) GPL(v2.0)]
M  +13   -0    src/qml/EventDelegate.qml
A  +15   -0    src/qml/LoadingDelegate.qml     [License: GPL(3+eV) GPL(v3.0) GPL(v2.0)]
M  +8    -8    src/qml/RoomPage.qml
M  +1    -1    src/qml/RoomWindow.qml
A  +90   -0    src/qml/TimelineEndDelegate.qml     [License: GPL(3+eV) GPL(v3.0) GPL(v2.0)]
M  +10   -10   src/qml/TimelineView.qml
M  +7    -5    src/roommanager.cpp
M  +5    -4    src/roommanager.h

https://invent.kde.org/network/neochat/-/commit/5efd17d370eee22e11d98a08f2fb2d67fded14c6