Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: more <InfiniteLoader> fixes #4004

Merged
merged 2 commits into from
Jul 4, 2024
Merged

Conversation

WofWca
Copy link
Collaborator

@WofWca WofWca commented Jul 2, 2024

See commits

Please verify that the old skeleton issues didn't come back after the removal of those useEffects.

fixes #3921
fixes #3208

@WofWca WofWca requested a review from Simon-Laux July 2, 2024 16:42
@WofWca WofWca added bug Something isn't working refactor This PR or issue is about refactoring labels Jul 2, 2024
@WofWca WofWca force-pushed the wofwca/infinite-loader-fixes branch from 269d4e8 to 886dbdb Compare July 2, 2024 19:33
WofWca added 2 commits July 5, 2024 00:26
in "new chat" dialogs

Introduced in 8c26a7b (so no need for a CHANGELOG entry)

Same issue as #3921
and #3208
Same fix as 1c7883b
it would show up after you scroll

Reproduction:
1. Have no chats in archive
2. Restart Delta Chat
3. Archive a chat

A skeleton will show at the start of the list.
After you scroll, "archive" will show up there

Same issue as
- #3921
- #3208

The removed `useEffect`s are not needed anymore, since
`InfiniteLoader` now (hopefully) takes care of all the
`load<something>()` operations
@Simon-Laux Simon-Laux force-pushed the wofwca/infinite-loader-fixes branch from 886dbdb to b94398d Compare July 4, 2024 22:27
Copy link
Member

@Simon-Laux Simon-Laux left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

works

@Simon-Laux Simon-Laux merged commit 52df841 into main Jul 4, 2024
6 checks passed
@Simon-Laux Simon-Laux deleted the wofwca/infinite-loader-fixes branch July 4, 2024 22:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working refactor This PR or issue is about refactoring
Projects
None yet
2 participants