Skip to content

Enhance chat participant filtering and optimize UI components - #65

Merged
Burhanverse merged 16 commits into
devfrom
test
Aug 29, 2026
Merged

Enhance chat participant filtering and optimize UI components#65
Burhanverse merged 16 commits into
devfrom
test

Conversation

@Burhanverse

Copy link
Copy Markdown
Contributor

This pull request introduces several new features and refactors related parts of the codebase for improved modularity and user experience. The main highlights are the addition of a members filter for group participants, the ability to hide archived chats, and the relocation and enhancement of the avatar shape feature. The changes also include code cleanup and improved logic for peer list filtering and UI refreshes.

New Features and Enhancements:

  • Members Filter for Group Participants:

    • Added fa_members_filter.cpp/.h and integrated a members filter into the participants list, allowing filtering by all members, administrators, or bots. This includes a UI toggle and back-end logic for filtering and refreshing the list (fa/filters/fa_members_filter.cpp, edit_participants_box.cpp/.h). [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12] [13]
  • Hide Archive Chats Feature:

    • Introduced the ability to hide archived chats from the main dialog list, with logic to determine when the archive should be hidden and to update the UI accordingly (hide_archive_chats.cpp/.h, dialogs_inner_widget.cpp). [1] [2] [3] [4] [5]
  • Avatar Shape Refactor and Enhancement:

    • Moved avatar shape logic from fa/ui/md3 to fa/features/avatar_shape, improved caching, and provided utility functions for shape selection and rendering. This makes avatar shape selection more modular and efficient (avatar_shape.cpp/.h). [1] [2] [3] [4] [5]

Codebase Organization and Cleanup:

  • File and Directory Restructuring:
    • Moved fa_avatar_shape and fa_context_menu files into feature-specific directories for better modularity and maintainability.

Bug Fixes and Logic Improvements:

  • Peer List Filtering:
    • Improved peer list search to respect hidden rows and removed unnecessary assertions. [1] [2] [3]

Signed-off-by: Burhanverse <contact@burhanverse.eu.org>
… peer search results

Signed-off-by: Burhanverse <contact@burhanverse.eu.org>
…dant geometry recalculations

Signed-off-by: Burhanverse <contact@burhanverse.eu.org>
Signed-off-by: Burhanverse <contact@burhanverse.eu.org>
…state

Signed-off-by: Burhanverse <contact@burhanverse.eu.org>
…called when album tabs actually exist

Signed-off-by: Burhanverse <contact@burhanverse.eu.org>
Signed-off-by: Burhanverse <contact@burhanverse.eu.org>
Signed-off-by: Burhanverse <contact@burhanverse.eu.org>
… handling

Signed-off-by: Burhanverse <contact@burhanverse.eu.org>
…ture module

Signed-off-by: Burhanverse <contact@burhanverse.eu.org>
Signed-off-by: Burhanverse <contact@burhanverse.eu.org>
Signed-off-by: Burhanverse <contact@burhanverse.eu.org>
…Chats flag

Signed-off-by: Burhanverse <contact@burhanverse.eu.org>
Signed-off-by: Burhanverse <contact@burhanverse.eu.org>
Signed-off-by: Burhanverse <contact@burhanverse.eu.org>
Signed-off-by: Burhanverse <contact@burhanverse.eu.org>
@Burhanverse
Burhanverse merged commit fa10f8b into dev Aug 29, 2026
2 checks passed
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.

1 participant