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

Abtract backend stuff #2711

Open
wants to merge 3 commits into
base: development
Choose a base branch
from

Conversation

TaeHagen
Copy link
Contributor

@TaeHagen TaeHagen commented Apr 5, 2024

New and improved abstractions!

Copy link
Member

@tneotia tneotia left a comment

Choose a reason for hiding this comment

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

So far nothing super major. The only thing I will add here thats overarching is that I think it would be awesome if rather than checking getRemoteService for things that RustPush can't do, is that the backend has actual getters to check for these things. For example backend.canFetchGroupChatIcon. Not saying we will ever become a matrix client, but if someone wants to integrate another backend, its quite possible that it has a remote service but that isn't a thing for them. Just food for thought, I know itll be a bit more work but I think that would be nice.

lib/app/layouts/chat_creator/chat_creator.dart Outdated Show resolved Hide resolved
lib/services/network/backend_service.dart Outdated Show resolved Hide resolved
lib/services/network/backend_service.dart Outdated Show resolved Hide resolved
lib/services/network/http_service.dart Outdated Show resolved Hide resolved
lib/models/io/chat.dart Outdated Show resolved Hide resolved
lib/services/ui/chat/conversation_view_controller.dart Outdated Show resolved Hide resolved
lib/services/network/downloads_service.dart Outdated Show resolved Hide resolved
lib/services/network/backend_service.dart Outdated Show resolved Hide resolved
lib/services/network/backend_service.dart Outdated Show resolved Hide resolved
@tneotia tneotia changed the base branch from master to development April 19, 2024 00:43
@TaeHagen TaeHagen requested a review from tneotia May 1, 2024 01:02
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

3 participants