Commit graph

207 commits

Author SHA1 Message Date
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
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
Freek van de Ven
b5656d5f3a feat: add option to disable groupchat creation 2024-05-09 21:25:43 +02:00
Freek van de Ven
86c50f47f6 feat: change onPressUserProfile callback to use the ChatUserModel 2024-05-09 21:05:33 +02:00
Freek van de Ven
06167d202e feat: add service and translationbuilder for userstory configuration to fetch both when needed 2024-05-09 19:31:56 +02:00
mike doornenbal
58451a7e5e fix: default_styling 2024-04-26 13:35:07 +02:00
mike doornenbal
0d22cea2f7 fix: apply feedback 2024-04-23 09:57:13 +02:00
Vick Top
70c795e89a fix: fix linter issue 2024-04-19 15:40:25 +02:00
Vick Top
3de70d7710 refactor: set correct yaml version 2024-04-19 15:35:45 +02:00
Vick Top
3b7256173f doc: add to changelog 2024-04-19 14:47:16 +02:00
Vick Top
e85b107038 refactor: change delete chat snackbar 2024-04-19 14:21:14 +02:00
Vick Top
6bafc86a2d refactor: remove personal chat avatar from chat detail screen 2024-04-19 13:01:09 +02:00
Vick Top
19529deb4e fix: fix routing with appbar back button 2024-04-19 10:24:42 +02:00
Vick Top
c3b03f6d38 feat: add text in case of zero messages in chat 2024-04-18 13:26:04 +02:00
Vick Top
158973cd7a refactor: polish image picker styling 2024-04-18 10:59:22 +02:00
Vick Top
c4955e6eb7 feat: add translation for find users to chat with 2024-04-17 15:52:15 +02:00
Vick Top
f2e6875630 refactor: add translation option and builder for no chats case 2024-04-17 15:08:08 +02:00
Vick Top
89edfdd18c refactor: polish chat detail screen 2024-04-16 15:00:21 +02:00
Vick Top
6e2d0feac9 refactor: polish new chat screens 2024-04-16 13:31:40 +02:00
Vick Top
a59e149420 refactor: polish new chat screen 2024-04-16 11:26:53 +02:00
Vick Top
8e51a4d3fd fix: add missing screen route 2024-04-16 09:35:47 +02:00
Vick Top
6d23ea04fa fix: rebase with master 2024-03-27 14:23:08 +01:00
Vick Top
e9da9f98e3 fix: set refs to 1.4.0 2024-03-27 11:45:07 +01:00
Vick Top
0950eb3a17 refactor: make use of pr feedback 2024-03-27 11:45:07 +01:00
Vick Top
1badf8a851 feat: add create group chat flow 2024-03-27 11:45:07 +01:00
Vick Top
48668ab89d fix: make example work 2024-03-27 11:42:06 +01:00
Vick Top
b0c8f17bcf update: set flutter_image_picker to 1.0.5 2024-03-27 11:42:06 +01:00
Vick Top
6600a84781 update: set flutter_profile to 1.3.0 2024-03-27 11:42:06 +01:00
mike doornenbal
baefa03a94 fix: updated the default styling 2024-03-27 11:42:06 +01:00
mike doornenbal
5052d016da fix: added more style options and recommendations from trello 2024-03-27 11:42:06 +01:00
Vick Top
a4d16c59b8 doc: create documentation for files 2024-03-05 13:57:23 +01:00
mike doornenbal
c5af30349d fix: localService 2024-02-14 14:38:25 +01:00
mike doornenbal
ce033d7dbd fix: dependency and added linter 2024-02-14 11:10:35 +01:00
Vick Top
fbb8d5235f fix(ci): resolve dependency issue 2024-02-14 10:41:11 +01:00
mike doornenbal
910cfc4fc6 fix: versions 2024-01-30 16:09:02 +01:00
mike doornenbal
16a40b7451 feat: local service 2024-01-30 15:52:56 +01:00
mike doornenbal
d3655e3395 feat: example 2024-01-23 16:30:19 +01:00
mike doornenbal
2b5ab5a933 fix: feedback 2024-01-23 14:37:09 +01:00
mike doornenbal
23b96e5ce3 fix: chat 2024-01-17 15:38:59 +01:00
mike doornenbal
37cd36484a fix: removed android folder 2023-12-29 15:00:07 +01:00
mike doornenbal
cb423c582c feat: updated readme, ui colors and null values 2023-12-29 12:02:54 +01:00
mike doornenbal
ac163a28f8 added pagination 2023-12-28 12:52:19 +01:00
mike doornenbal
69bafc33e6 feat: add pagination 2023-12-22 10:45:56 +01:00
mike doornenbal
4760e281ee feat: improve user story 2023-12-20 14:03:39 +01:00
Freek van de Ven
7e503bb0ce Merge pull request #29 from Iconica-Development/0.6.0
feat: made message controller nullable
2023-12-14 11:46:09 +01:00
mike doornenbal
07e29ddd99 feat: added chat options 2023-12-13 17:23:43 +01:00
mike doornenbal
7b33ff2bd7 feat: made message controller nullable 2023-12-01 10:56:22 +01:00
mike doornenbal
d90185a480 feature: added custom dialog and the option to make a chat not deletable 2023-11-29 16:33:18 +01:00
Freek van de Ven
d0933ac252 fix: unread chats bug 2023-11-24 13:31:20 +01:00
Freek van de Ven
d870b8424b Merge pull request #25 from Iconica-Development/0.4.1
fix: update GroupAvatarBuilder so the groupName is available
2023-11-23 12:01:41 +01:00
Freek van de Ven
fde5b289a6 fix: update GroupAvatarBuilder so the groupName is available 2023-11-22 18:03:03 +01:00
Freek van de Ven
29d993682a feat: add translations for anonymous user 2023-11-06 11:55:47 +01:00