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 2 category issues (always collapsed and missing bold) #14895

Merged
merged 2 commits into from
May 24, 2024

Conversation

jrainville
Copy link
Member

@jrainville jrainville commented May 23, 2024

Fixes #14886

Fixes categories being always closed on start

The problem was that we converted collapsed to opened way too early and with a logic error.

By using collapsed until the module, it's way easier to understand and also fixes the logic mistakes.

I also renamed a couple of functions and variables so that the mistake doesn't happen again.

Fix category unread status

The problem was that the ChatDto doesn't have a categoryID, so we need to use the CommunityChat.

I think before, the channel groups had the full chat info, but not we can't rely on that.

The CommunityChat/Chat alignment refactor will simplify all of that #14219

Part of #14886

The problem was that we converted `collapsed` to `opened` way too early and with a logic error.

By using collapsed until the module, it's way easier to understand and also fixes the logic mistakes.

I also renamed a couple of functions and variables so that the mistake doesn't happen again.
Part of #14886

The problem was that the ChatDto doesn't have a categoryID, so we need to use the CommunityChat.

I think before, the channel groups had the full chat info, but not we can't rely on that.

The CommunityChat/Chat alignment refactor will simplify all of that #14219
@status-im-auto
Copy link
Member

status-im-auto commented May 23, 2024

Jenkins Builds

Commit #️⃣ Finished (UTC) Duration Platform Result
✔️ 489ed2e #1 2024-05-23 18:45:32 ~7 min macos/aarch64 🍎dmg
✔️ 489ed2e #1 2024-05-23 18:49:00 ~10 min macos/x86_64 🍎dmg
✔️ 489ed2e #1 2024-05-23 18:49:17 ~10 min tests/nim 📄log
✔️ 489ed2e #1 2024-05-23 18:55:45 ~17 min tests/ui 📄log
✔️ 489ed2e #1 2024-05-23 19:01:38 ~23 min linux/x86_64 📦tgz
✔️ 489ed2e #1 2024-05-23 19:12:08 ~33 min windows/x86_64 💿exe

@kounkou
Copy link
Contributor

kounkou commented May 24, 2024

Nice refactor, thanks

@jrainville jrainville merged commit 5a70b7e into release/2.29.x May 24, 2024
8 checks passed
@jrainville jrainville deleted the fix/categories branch May 24, 2024 13:23
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.

None yet

4 participants