Freek van de Ven
ffbce235a5
feat: add proper pagination to chat_detail_screen.dart
2025-02-17 10:07:24 +01:00
Freek van de Ven
f4c02829f5
fix: make the loadingWidgetBuilder not nullable
2025-02-17 10:07:24 +01:00
Freek van de Ven
63575ac8fe
feat: allow chatTitleResolver to return null to fallback to default chatTitles
2025-02-17 10:07:24 +01:00
Freek van de Ven
c38a608716
refactor: move widgets from ChatDetailScreen to seperate files
...
This makes the chat_detail_screen.dart easier to read and only containing the logic
2025-02-17 10:07:24 +01:00
Freek van de Ven
d298fbe15b
fix: use ChatService instead of UserRepository directly for getAllUsersForChat
2025-02-14 09:31:39 +01:00
Freek van de Ven
acbb809a57
feat: update ChatRepositoryInterface with methods to manage pagination of messages in a chat
2025-02-14 09:31:39 +01:00
Freek van de Ven
756b99cfaa
feat: use getAllUsersForChat on ChatDetailScreen to avoid call to getUser for each user
2025-02-13 19:56:09 +01:00
Freek van de Ven
cb1ceb456a
feat: add chatTitleResolver to ChatOptions to override chatTitle behavior
2025-02-13 15:46:36 +01:00
Freek van de Ven
ab8045e6bf
feat: add chatTitle to baseScreenBuilder
2025-02-13 14:58:38 +01:00
Freek van de Ven
6c7887700e
fix: remove unnecessary ChatOptions from routes.dart
2025-02-13 14:58:38 +01:00
Freek van de Ven
627a78310a
feat: use chatId instead of chat on chat_detail_screen and load chat from stream
2025-02-13 14:58:38 +01:00
Freek van de Ven
cc52c78487
feat: remove chatService and chatOptions from widget parameters to use ChatScope instead
2025-02-13 11:07:48 +01:00
Freek van de Ven
97c259761c
fix: remove NavigationWrapper to be more consistent with flutter_availability userstory
2025-02-13 10:47:48 +01:00
Freek van de Ven
44209c4d2f
feat: add FlutterChatDetailNavigatorUserstory to start a userstory with only the chat detail and subscreens of that screen
2025-02-13 10:47:48 +01:00
Freek van de Ven
c2f4d60bae
feat: use ChatScope for userstory screens to get service, options and userId
2025-02-13 10:47:48 +01:00
Freek van de Ven
d610a0bb7d
feat: add onback behavior for each userstory screen so it pops correctly with the android backarrow
2025-02-13 10:47:48 +01:00
Freek van de Ven
a26e5d92f0
feat: rework the existing navigator userstory to look more like flutter_availability userstory
2025-02-13 10:47:48 +01:00
Freek van de Ven
5414ab237f
feat: add flutter_hooks dependency
2025-02-13 10:47:48 +01:00
Freek van de Ven
52e3e570dd
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-02-13 10:47:48 +01:00
Freek van de Ven
9af9bc8078
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-02-11 16:15:34 +01:00
Freek van de Ven
ea3ea0a21d
feat: add chat detailscreen styling options for beep
2025-02-11 14:03:01 +01:00
Freek van de Ven
45b5d4eeea
feat: add ChatScope inherited widget for accessing the options, service and userId everywhere through the context
2025-02-10 08:25:50 +01:00
Freek van de Ven
da3b78f63b
feat: add messageType to MessageModel
2025-02-03 11:19:59 +01:00
Freek van de Ven
d60917028a
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-01-30 16:24:14 +01:00
Kiril Tijsma
7a30621ab9
fix(color-picker): get icon color from theme
2025-01-30 16:22:00 +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
c7fe7152b3
chore: ready the package for deployment to the pub server
2024-07-19 11:56:04 +02:00
Freek van de Ven
2f2e2be6dd
fix: change the backgroundcolors
2024-06-14 16:33:02 +02:00
Freek van de Ven
d46c83e847
fix: handle overflows for users with a long name
2024-06-14 15:47:24 +02:00
Freek van de Ven
d13a8013ac
feat: add onPopInvoked callback for a popscope inside the userstory
2024-06-13 09:33:11 +02:00
mike doornenbal
8b4ada7edc
fix: linter issue
2024-06-06 15:48:47 +02:00
mike doornenbal
61d901c741
fix: routing issues
2024-06-06 14:47:07 +02:00
mike doornenbal
1141aea83c
fix: feedback
2024-06-06 13:05:18 +02:00
7cfd8087a1
fix: solve several issues
2024-06-04 16:18:00 +02:00
Freek van de Ven
c9a11758d8
fix: add check for groupchats with only 1 member
2024-05-24 14:17:58 +02:00
Freek van de Ven
efd6fc138c
fix: add option to set a custom padding around the list of chats
2024-05-23 17:17:11 +02:00
Freek van de Ven
1eb5f99b7b
fix: remove divider at the new chat screen because it is not working correctly
2024-05-23 16:49:26 +02:00
Freek van de Ven
146ec3a1a9
feat: make all transltions required for ChatTranslations and provide an .empty() alternative
2024-05-22 11:59:21 +02:00