Commit graph

244 commits

Author SHA1 Message Date
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
Gorter-dev
f5040d5809
Merge pull request #106 from Iconica-Development/chore/deploy
chore: ready the package for deployment to the pub server
2024-07-22 15:01:15 +02:00
c7fe7152b3 chore: ready the package for deployment to the pub server 2024-07-19 11:56:04 +02:00
2564c74066 chore: add fvm configuration to gitignore 2024-07-19 11:32:07 +02:00
Freek van de Ven
15f15748b6
Merge pull request #93 from Iconica-Development/3.0.1
fix: routing issues
2024-06-17 13:36:12 +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
Freek van de Ven
5e4a9c7ab4
Merge pull request #92 from Iconica-Development/bugfix/feedback
fix: feedback
2024-06-06 13:13:15 +02:00