Freek van de Ven
b0d379284d
fix: check if context.mounted before updating usestates in chat_detail_screen.dart
2025-03-06 13:03:27 +01:00
Freek van de Ven
62f04e2d9b
feat: add chatScreenBuilder to use instead of baseScreenBuilder on the ChatDetailScreen
2025-03-06 13:03:27 +01:00
Freek van de Ven
6a63429efd
feat: make the default messageInputBuilder use a multiline textfield which increase the ChatBottomInputSection
2025-03-06 13:03:27 +01:00
Freek van de Ven
1a7b4a2cda
feat: add imagePickerBuilder to builders to override the default imagepicker for selecting an image
2025-03-06 13:03:27 +01:00
Freek van de Ven
c82df25aed
feat: pass showFullDate to dateformatter for the messageTime
2025-03-06 13:03:27 +01:00
Freek van de Ven
23f61dd5ff
feat: add senderId and chatId to uploadImage
2025-03-06 13:03:27 +01:00
e7bb4909ba
fix(README): improve wording and add syntax highlighting to all code snippets
2025-03-06 13:03:27 +01:00
Freek van de Ven
02ae851d13
feat: submit the chat message inputfield when enter is pressed
2025-03-06 13:03:27 +01:00
Freek van de Ven
7a0fd49070
feat: add borderRadius option for the MessageTheme
2025-03-06 13:03:27 +01:00
Freek van de Ven
70eeb816e2
feat: add minimum delay for fetching new and old messages that can be configured
2025-03-06 13:03:27 +01:00
Freek van de Ven
f57ba9a736
feat: add pagination controls to ChatOptions
2025-03-06 13:03:27 +01:00
Freek van de Ven
ab8a9d9e6f
feat: add proper pagination to chat_detail_screen.dart
2025-03-06 13:03:27 +01:00
Freek van de Ven
e1ca5aab71
fix: make the loadingWidgetBuilder not nullable
2025-03-06 13:03:27 +01:00
Freek van de Ven
8112e939e1
feat: allow chatTitleResolver to return null to fallback to default chatTitles
2025-03-06 13:03:27 +01:00
Freek van de Ven
7c80341ff5
refactor: move widgets from ChatDetailScreen to seperate files
...
This makes the chat_detail_screen.dart easier to read and only containing the logic
2025-03-06 13:03:27 +01:00
Freek van de Ven
5d29e733aa
fix: use ChatService instead of UserRepository directly for getAllUsersForChat
2025-03-06 13:03:27 +01:00
Freek van de Ven
d475cf7298
feat: update ChatRepositoryInterface with methods to manage pagination of messages in a chat
2025-03-06 13:03:27 +01:00
Freek van de Ven
77d6f7257e
feat: use getAllUsersForChat on ChatDetailScreen to avoid call to getUser for each user
2025-03-06 13:03:27 +01:00
Freek van de Ven
990a89199b
feat: add chatTitleResolver to ChatOptions to override chatTitle behavior
2025-03-06 13:03:27 +01:00
Freek van de Ven
281188c2b7
feat: add chatTitle to baseScreenBuilder
2025-03-06 13:03:27 +01:00
Freek van de Ven
8604ccada7
fix: remove unnecessary ChatOptions from routes.dart
2025-03-06 13:03:27 +01:00
Freek van de Ven
a9b52ef5d9
feat: use chatId instead of chat on chat_detail_screen and load chat from stream
2025-03-06 13:03:27 +01:00
Freek van de Ven
a9eb1a8df4
feat: remove chatService and chatOptions from widget parameters to use ChatScope instead
2025-03-06 13:03:27 +01:00
Freek van de Ven
b1909689f2
fix: remove NavigationWrapper to be more consistent with flutter_availability userstory
2025-03-06 13:03:27 +01:00
Freek van de Ven
4ec7da429e
feat: add FlutterChatDetailNavigatorUserstory to start a userstory with only the chat detail and subscreens of that screen
2025-03-06 13:03:27 +01:00
Freek van de Ven
ff28f91524
feat: use ChatScope for userstory screens to get service, options and userId
2025-03-06 13:03:27 +01:00
Freek van de Ven
d66942893f
feat: add onback behavior for each userstory screen so it pops correctly with the android backarrow
2025-03-06 13:03:27 +01:00
Freek van de Ven
15604bf264
feat: rework the existing navigator userstory to look more like flutter_availability userstory
2025-03-06 13:03:27 +01:00
Freek van de Ven
4c48cf8cd4
feat: add flutter_hooks dependency
2025-03-06 13:03:27 +01:00
Freek van de Ven
55be653975
feat: change ChatService and ChatScope to work the same as in flutter_availability
...
The userid should be managed inside of the service and it should come from the ChatOptions
2025-03-06 13:03:27 +01:00
Freek van de Ven
ed72545cc4
feat: add getAllUsersForChat to UserRepositoryInterface
...
This allows to get all the users for a chat in one call instead of doing multiple seperate calls for every individual user of a chat
2025-03-06 13:03:27 +01:00
Freek van de Ven
070a4d5adc
feat: add chat detailscreen styling options for beep
2025-03-06 13:03:27 +01:00
Freek van de Ven
22884ea395
feat: add ChatScope inherited widget for accessing the options, service and userId everywhere through the context
2025-03-06 13:03:27 +01:00
Freek van de Ven
3e03dd755e
feat: add messageType to MessageModel
2025-03-06 13:03:27 +01:00
Freek van de Ven
7457602afe
feat: add chatMessageBuilder to the chatoptions to override default behavior
...
With the chatMessageBuilder it is possible to run a null whenever you still want to use the default but only want to update the chat in very specific cases.
I also slightly refactored the chat_detail_screen.dart to remove duplicate code and make it more readable
2025-03-06 13:03:27 +01:00
Kiril Tijsma
1ea2887e27
fix(color-picker): get icon color from theme
2025-03-06 13:03:27 +01:00
Freek van de Ven
91420fde78
feat: finishup 4.0.0
2024-10-31 11:41:47 +01:00
d5b7183df5
chore: publish all packages to forgejo
2024-10-31 11:41:47 +01:00
bd14f5cd6d
fix: add remaining documentation and fix deep nesting
2024-10-31 11:41:47 +01:00
mike doornenbal
b6fc7b2cb0
fix: getting users
2024-10-31 11:41:47 +01:00
mike doornenbal
4ee5445809
fix: image_picker version
2024-10-31 11:41:47 +01:00
mike doornenbal
ed95dbd15c
fix: upgrade image_picker to 4.0.0
2024-10-31 11:41:47 +01:00
HammadAsiif
f8bffceb4b
chore(flutter_chat): various fixes and improvements
...
- style: use consistent font in buttons
- fix: update profile picture icon for adding a group chat to match design
- fix: align "Write your message here" placeholder text and buttons properly in the input box
- fix: ensure 'next' button is not visible when no one is selected for group chat
- fix: allow scroll to go further so the last person in the list is not hidden by the ‘next’ button
- fix: make entire name clickable when adding members to a group chat
- fix: change text from “create a groupchat” to “start a groupchat”
- fix: make 'create group chat' button inactive until a name is entered
- style: adjust image picker icon sizes, and cancel button font
2024-10-31 11:41:47 +01:00
61de7ae44a
feat: add firebase repo implementation, remove scaffold builders and add basescreenbuilder
2024-10-31 11:41:47 +01:00
1f3dc09f44
fix: feedback
2024-10-31 11:41:47 +01:00
ec89961e07
feat: refactor
2024-10-31 11:41:47 +01:00
mike doornenbal
44579ca306
fix: update for safino
2024-10-31 11:41:47 +01:00
mike doornenbal
8f13d87a23
feat: ui update
2024-10-31 11:41:47 +01:00
Freek van de Ven
644615f026
fix: center the texts for no users found with search and type first message
2024-10-31 11:41:47 +01:00
Freek van de Ven
9be096154f
feat: add component release workflow
2024-10-28 10:11:24 +01:00