Commit Graph

2217 Commits

Author SHA1 Message Date
Salvatore Giordano 1805ceb964 Create CODE_OF_CONDUCT.md (#353)
Inspired by https://github.com/flutter/flutter/blob/master/CODE_OF_CONDUCT.md
2021-03-24 18:01:38 +01:00
Salvatore Giordano b653ec34d3 Merge pull request #340 from GetStream/hotfix/markRead
fix: unread count not updating while the chat is open
2021-03-17 11:07:44 +01:00
Salvatore Giordano 89e91a09a8 bump version 2021-03-17 10:21:24 +01:00
Salvatore Giordano 721b30ef7e fix: unread count not updating while the chat is open 2021-03-17 10:20:09 +01:00
Thierry Schellenbach 64082ec213 Update README.md 2021-03-16 16:24:27 -06:00
Salvatore Giordano a3519ace1c Merge pull request #337 from GetStream/release/1.5.0
Release/1.5.0
2021-03-16 17:06:28 +01:00
Salvatore Giordano b9defc9413 update action 2021-03-16 17:01:53 +01:00
Salvatore Giordano fc1fec0695 fix analysis 2021-03-16 17:00:46 +01:00
Salvatore Giordano 90136c5174 no title check on master 2021-03-16 16:54:46 +01:00
Salvatore Giordano 527cc3b731 analyze on all branch 2021-03-16 16:53:18 +01:00
Salvatore Giordano a14045a09d fix analysis 2021-03-16 16:52:44 +01:00
Salvatore Giordano c66212c37c cleanup 2021-03-16 16:35:11 +01:00
Salvatore Giordano cb37774d54 update dependencies 2021-03-16 16:33:54 +01:00
Salvatore Giordano 574cca792b fix pana 2021-03-16 16:25:20 +01:00
Salvatore Giordano 37772f247a bump versions 2021-03-16 15:28:40 +01:00
Salvatore Giordano 6027e9b6f6 update title.yml 2021-03-16 14:58:23 +01:00
Salvatore Giordano 4d0bc0495f fix image reloading on reaction.new 2021-03-16 14:24:00 +01:00
Salvatore Giordano 7a8fe4aa78 fix attachment border radius 2021-03-16 13:47:46 +01:00
Salvatore Giordano 4cda0c9435 fix messageinput padding 2021-03-16 12:02:31 +01:00
Salvatore Giordano 8ada0691a7 fix messageinput actions 2021-03-16 11:22:52 +01:00
Salvatore Giordano f60f43af49 fix: add more actions locations, merge actions and add showCommandsButton option (#333)
* add more actions locations and merge actions

* remove print

* fix command chip

* fix ui

* rotate icon
2021-03-15 14:40:36 +01:00
Salvatore Giordano 9f002f32b3 fix video upload 2021-03-15 12:25:20 +01:00
Salvatore Giordano ff415442a0 fix swipeable visible on navigation back 2021-03-15 10:47:49 +01:00
Sahil Kumar 8ec54f3834 style: Apply team linter in stream chat persistence (#331)
* lint(persistence): Apply team linter

Signed-off-by: Sahil Kumar <xdsahil@gmail.com>

* style: flutter format

Signed-off-by: Sahil Kumar <xdsahil@gmail.com>
2021-03-15 10:23:44 +01:00
Salvatore Giordano a8443a98b0 fix reaction new deleting quoted message 2021-03-12 15:24:47 +01:00
Salvatore Giordano eaaa5c9962 fix getThreadMessagesByParentId 2021-03-12 15:07:47 +01:00
Salvatore Giordano 9952265109 fix: persistence (#329)
* fix(llc): Save original passed persistence for client reconnection.

Signed-off-by: Sahil Kumar <xdsahil@gmail.com>

* fix(persistence): Check for empty channels before applying offset

Signed-off-by: Sahil Kumar <xdsahil@gmail.com>

* fix(llc): Remove debug logs

Signed-off-by: Sahil Kumar <xdsahil@gmail.com>

* fix(persistence): Reset isolate on successful disconnect

Signed-off-by: Sahil Kumar <xdsahil@gmail.com>

* use mutexes in persistence client

* fix(persistence): use `super.updateChannelStates`

Signed-off-by: Sahil Kumar <xdsahil@gmail.com>

* fix(persistence): fix database multiple times creation.

Signed-off-by: Sahil Kumar <xdsahil@gmail.com>

Co-authored-by: Sahil Kumar <xdsahil@gmail.com>
2021-03-12 14:16:41 +01:00
Salvatore Giordano ca1f70948e fix swipable visible on navigator gesture 2021-03-11 17:20:26 +01:00
Salvatore Giordano 39c2106497 feat: codecov (#327)
* [llc] add codecov in gh action

* update flag

* update path

* fix codevcov script

* fix codevcov script

* [persistence]: add basic test

* [persistence] add codecov

* [persistence] vgv action

* update threashold

* fix ci

* add coverage for ui packages

* fix ci

* test gh action

* test gh action

* update threashold

* fix(persistence): fix tests

Signed-off-by: Sahil Kumar <xdsahil@gmail.com>

Co-authored-by: Sahil Kumar <xdsahil@gmail.com>
2021-03-11 16:36:22 +01:00
Deven Joshi 4b6f1f54b6 fix: attachment builder (#326)
* feat: Changed attachment builder structure

* fix: fixed image attachments

* feat: Added onTaps to remaining attachments

* fix: merged fixes

* add trailing comma

Co-authored-by: Salvatore Giordano <salvatoregiordanoo@gmail.com>
2021-03-11 11:38:00 +01:00
Salvatore Giordano 1ed11a753f update stream_chat_flutter pana min 2021-03-10 09:43:50 +01:00
Salvatore Giordano 16d09babb5 Merge branch 'master' into develop 2021-03-10 09:43:17 +01:00
Neevash Ramdial (Nash) db8592987d fix: Update title link (#325) 2021-03-10 09:39:59 +01:00
Salvatore Giordano 4488fa6c3a Release/1.4.0 beta (#318)
* fix: fixed long system messages overflowing

* fix: fixed long system messages overflowing

* [UI-Kit] Refactor, add support for downloading attachments.

Signed-off-by: Sahil Kumar <xdsahil@gmail.com>

* fix: header casing

* [UI-Kit] Disable attachment download dialog pop using back button

Signed-off-by: Sahil Kumar <xdsahil@gmail.com>

* stream_chat_flutter fix svg on web

* [UI-Kit] Pop attachment download dialog in case of any error.

Signed-off-by: Sahil Kumar <xdsahil@gmail.com>

* restore svg

* feat: add pr title linter

* fix test

* fix client headers

* update system message design

* update gh token env var

* add scopes

* expose systemMessageBuilder in messagelistview

* fix(ui): fix button size

* add dispatch workflow

* add dispatch workflow

* update dispatch acton

* add runson

* fix ref

* fix ref

* update secret

* specify repo

* fix: list scroll keyboard behaviour  (#304)

* fix: Keyboard now closes by clicking on space or scrolling.

* fix: Exposed system and normal message tap builders

* fmt: dartfmt

* feat: Add support for messages filter in `MessageListView` and `MessageListCore` (#303)

* [MessageListView, MessageListCore] Add support for message filter

Signed-off-by: Sahil Kumar <xdsahil@gmail.com>

* [UI-Kit -> Pubspec] Remove `stream_chat_flutter_core` relative import

Signed-off-by: Sahil Kumar <xdsahil@gmail.com>

* add relative import

* add relative import

* remove svg for web

* remove badge logic on web

* style: Update for team lint (#297)

* Update for team lint

* fix tests

* remove pedantic and sort deps

* remove jiffy from system message

Co-authored-by: Salvatore Giordano <salvatoregiordanoo@gmail.com>

* add section highlighting sample app repo (#307)

Co-authored-by: Salvatore Giordano <salvatoregiordanoo@gmail.com>

* add null check to debounce

* fix messagelistview loading errors

* remove core relative import

* fix: fixes message newline issue (#308)

* fix: minor

* fix: generate image thumbnails and use transparent image as placeholder for cached network images (#310)

* update cdn handling

* fix image attachment with new cdn

* fix(ui): Fix message input permission request crash (#311)

Signed-off-by: Sahil Kumar <xdsahil@gmail.com>

* fix(llc): update member presence and add skip_push to message (#314)

* update member presence

* add skip_push to message

* fix tests

* fix: Fixed shimmer overflow (#316)

* fix dialogs

* fix(llc): Fix attachment upload state uneven progress. (#315)

* feat(llc): Add rate limiter functions.
fix(llc): Fix attachment upload state uneven progress.

Signed-off-by: Sahil Kumar <xdsahil@gmail.com>

* feat(llc): Export `async.dart` and `rate_limit.dart`

Signed-off-by: Sahil Kumar <xdsahil@gmail.com>

* refactor(llc): Replace our `rate_limit` implementation with the dart port of js `lodash` to better handlw `cancel` and `flush` functions.

Signed-off-by: Sahil Kumar <xdsahil@gmail.com>

* fix(UI-Kit): Make android example run on real devices

Signed-off-by: Sahil Kumar <xdsahil@gmail.com>

* fix offline behaviour

Co-authored-by: Salvatore Giordano <salvatoregiordanoo@gmail.com>

* feat: Introduce onAttachmentTap on messages attachment (#309)

* introdce onAttachmentTap on message

* correct indent

* sdfsd

Co-authored-by: Salvatore Giordano <salvatoregiordanoo@gmail.com>

* feat: added customization options in main widgets (#312)

* polish channelpreview customization options

* polish channelheader customization options

* polish messageinput customization options

* polish threadheader customization options

* polish channellistheader customization options

* show the parent message if no messages in thread

* fix edit message

* fix channelinfo textstyle

* fix review

* fix useravatar

* add ontitle tap to thread header

* add custom message actions

* add borderradius and button builder

* add ontap to messageinput custom send button

* fix bottom sheet

* add doc

* use placeholder image

* add doc

* fix listtile density

* remove subtitle from ChannelListHeaderTheme.copyWith

* add InputDecoration.merge extension

* fix: use shimmer in images

* fix: remove notification badge logic from the sdk and move it to sample app

* fix import

* fix: Method being called during build (#317)

* method call bug fix

* dartfmt

* fix: show error messages as system and keep them in the message input (#319)

* fix: pre release (#324)

* use share_plus plugin

* bump dependency versions

* fix ui for web

* unfocus messageinput only on commands

* fix default error for messagesearchlistview

* fix thumbnail animation

* fix lint

* ignore example in linter

* update changelogs

* fix lint

* fix lint

* update stream_chat pana min

* add doc

Co-authored-by: Sahil Kumar <xdsahil@gmail.com>
Co-authored-by: Deven Joshi <deven9852@gmail.com>
Co-authored-by: Neevash Ramdial (Nash) <nash@getstream.io>
Co-authored-by: Nelson Nunes <nunes.nelson4@gmail.com>
2021-03-09 18:58:23 +01:00
Salvatore Giordano 1b96420d0b fix: pre release (#324)
* use share_plus plugin

* bump dependency versions

* fix ui for web

* unfocus messageinput only on commands

* fix default error for messagesearchlistview

* fix thumbnail animation
2021-03-09 16:23:21 +01:00
Salvatore Giordano b56d6947bd fix: show error messages as system and keep them in the message input (#319) 2021-03-09 10:01:28 +01:00
Sahil Kumar edaedbeffb Merge pull request #320 from GetStream/hotfix/notificationbadge 2021-03-08 22:28:41 +05:30
Neevash Ramdial (Nash) 11930ddaa6 fix: Method being called during build (#317)
* method call bug fix

* dartfmt
2021-03-08 17:43:15 +01:00
Salvatore Giordano 36905a5de0 fix import 2021-03-08 17:35:13 +01:00
Salvatore Giordano d5bbbfd3f3 fix: remove notification badge logic from the sdk and move it to sample app 2021-03-08 16:52:35 +01:00
Salvatore Giordano 5e4c106ff5 fix: use shimmer in images 2021-03-08 15:45:51 +01:00
Salvatore Giordano 5080203c1b feat: added customization options in main widgets (#312)
* polish channelpreview customization options

* polish channelheader customization options

* polish messageinput customization options

* polish threadheader customization options

* polish channellistheader customization options

* show the parent message if no messages in thread

* fix edit message

* fix channelinfo textstyle

* fix review

* fix useravatar

* add ontitle tap to thread header

* add custom message actions

* add borderradius and button builder

* add ontap to messageinput custom send button

* fix bottom sheet

* add doc

* use placeholder image

* add doc

* fix listtile density

* remove subtitle from ChannelListHeaderTheme.copyWith

* add InputDecoration.merge extension
2021-03-08 15:27:52 +01:00
Nelson Nunes db04ba021a feat: Introduce onAttachmentTap on messages attachment (#309)
* introdce onAttachmentTap on message

* correct indent

* sdfsd

Co-authored-by: Salvatore Giordano <salvatoregiordanoo@gmail.com>
2021-03-08 14:30:17 +01:00
Sahil Kumar e60294dc92 fix(llc): Fix attachment upload state uneven progress. (#315)
* feat(llc): Add rate limiter functions.
fix(llc): Fix attachment upload state uneven progress.

Signed-off-by: Sahil Kumar <xdsahil@gmail.com>

* feat(llc): Export `async.dart` and `rate_limit.dart`

Signed-off-by: Sahil Kumar <xdsahil@gmail.com>

* refactor(llc): Replace our `rate_limit` implementation with the dart port of js `lodash` to better handlw `cancel` and `flush` functions.

Signed-off-by: Sahil Kumar <xdsahil@gmail.com>

* fix(UI-Kit): Make android example run on real devices

Signed-off-by: Sahil Kumar <xdsahil@gmail.com>

* fix offline behaviour

Co-authored-by: Salvatore Giordano <salvatoregiordanoo@gmail.com>
2021-03-08 12:35:43 +01:00
Salvatore Giordano 5933929399 fix dialogs 2021-03-05 12:29:06 +01:00
Deven Joshi 8b3c46527f fix: Fixed shimmer overflow (#316) 2021-03-05 11:49:17 +01:00
Salvatore Giordano cef1b56c58 fix(llc): update member presence and add skip_push to message (#314)
* update member presence

* add skip_push to message

* fix tests
2021-03-05 09:56:00 +01:00
Sahil Kumar a4ebd48272 fix(ui): Fix message input permission request crash (#311)
Signed-off-by: Sahil Kumar <xdsahil@gmail.com>
2021-03-04 16:47:51 +01:00
Salvatore Giordano 505bffb6ca fix image attachment with new cdn 2021-03-04 10:47:25 +01:00
Salvatore Giordano 8e701d3f0c update cdn handling 2021-03-04 09:55:51 +01:00