Code Monkey home page Code Monkey logo

Comments (19)

dariakhimych avatar dariakhimych commented on May 27, 2024 14

Howdy 👋 Just a small design update for the group chat. Will be live soon!

flyer_group_chat

from flutter_chat_ui.

demchenkoalex avatar demchenkoalex commented on May 27, 2024 10

Hi, had a surgery on weekend, still in recovery, will come back to this ASAP

from flutter_chat_ui.

demchenkoalex avatar demchenkoalex commented on May 27, 2024 10

Weekend update: finally this is finished. Started as a request to add pagination and ended up as a complete overhaul of the Chat UI, a major breaking change. I expect this to be a one-off action, without huge and breaking refactors in the future, given that I received a lot of good feedback in a couple of months and tried to implement something + left a room for incremental improvements in the future. New version is available on this branch/PR #41. I still need to prepare the documentation as well as upgrade guide, and test the Firebase with the new UI, which hopefully will not take long. After this is done v1.1 will be released on Pub. Thanks everyone.

from flutter_chat_ui.

demchenkoalex avatar demchenkoalex commented on May 27, 2024 7

Weekend update:

  • Pagination is done, just a small issue to be resolved before the merge
  • Names and avatars are in the PR, to be reviewed
  • Names and avatars will probably have different colors for different users, as suggested above

When everything above is merged, new statuses and update to the ChatTheme to include more granular settings will be 2 things that left before 1.1

from flutter_chat_ui.

demchenkoalex avatar demchenkoalex commented on May 27, 2024 6

Pagination has been finished and merged to the v1.1 branch.

from flutter_chat_ui.

demchenkoalex avatar demchenkoalex commented on May 27, 2024 5

And here's an update on animations. Working on a pagination (lazy loading) now and @Voidozzer is looking at user names and avatars.

from flutter_chat_ui.

dariakhimych avatar dariakhimych commented on May 27, 2024 3

@vijay-anand-wk Hey! As far as we do the majority of work over weekends, I would say the release doesn't come earlier than in 2-3 weeks.

from flutter_chat_ui.

demchenkoalex avatar demchenkoalex commented on May 27, 2024 1

I guess one, because of breaking changes needed to support names and avatars.

from flutter_chat_ui.

jlubeck avatar jlubeck commented on May 27, 2024 1

Howdy 👋 Just a small design update for the group chat. Will be live soon!

flyer_group_chat

This is looking very clean, love it! Just a recommendation, User names should have different colors assigned to them to quickly identify when a message is coming from the same person. This is how I solved it on another chat project of mine (looking forward to switching over to this one), but of course feel free to find a better approach!

Text(user.displayName,
    style: TextStyle(
    color: RandomColor(user.displayName.hashCode).randomColor(colorBrightness: ColorBrightness.dark),
     ),
)

RandomColor comes from this package: https://pub.dev/packages/random_color

And you can change the colorBrightness parameter based on whether the current ChatTheme is dark or light to make everything look good.

from flutter_chat_ui.

demchenkoalex avatar demchenkoalex commented on May 27, 2024 1

Nah, some small stuff :) user names and avatars are merged to a feature branch, but there are a couple of small bugs to be fixed. Statuses and theme changes to go and we are finally done with this long awaited release :)

from flutter_chat_ui.

jangruenwaldt avatar jangruenwaldt commented on May 27, 2024

Awesome, great work! Will this all be in one update or will there be several ones?

from flutter_chat_ui.

m-j-g avatar m-j-g commented on May 27, 2024

Nice!

from flutter_chat_ui.

vijay-anand-wk avatar vijay-anand-wk commented on May 27, 2024

Hi @demchenkoalex, is there a scheduled date for the release?

from flutter_chat_ui.

jlubeck avatar jlubeck commented on May 27, 2024

Hope it was nothing serious!

from flutter_chat_ui.

jlubeck avatar jlubeck commented on May 27, 2024

@demchenkoalex I noticed on the new branch where you guys are working on this (which is looking great btw!) the shouldRenderTime property of the Message bubbles is hardcoded to false. Is there a reason for that? Is there another way to display message time that I'm not finding in that branch?

Here:

shouldRenderTime: false,

Thanks!

from flutter_chat_ui.

demchenkoalex avatar demchenkoalex commented on May 27, 2024

The branch is not ready yet, it will be removed completely. Time is moved to the headers (similar to Facebook Messenger). There will be no time under messages because of the animation issues. In the future we will consider showing time on press (again like in Facebook Messenger) or on swipe (similar to iMessage, Instagram Direct), but it is out of scope for v1.1. Anyway, who needs the exact time when headers will be shown every 15 minutes (again, taken from the Facebook Messenger).

from flutter_chat_ui.

jlubeck avatar jlubeck commented on May 27, 2024

ok, thank you for clarifying... on very active channels though, a LOT of messages can happen in 15 minutes... I'm running into this issue right now, that's why I brought it up haha. I'm building an app for a group with over 4k members. Wasn't aware that Facebook does that... I use WhatsApp and Telegram and they both include a very small timestamp in the bottom right corner (inside the bubble, so it shouldn't mess with animations?). Will be happy to provide a PR after 1.1 is merged to master if you don't see the value in it, and you can check it out at the time.

from flutter_chat_ui.

jlubeck avatar jlubeck commented on May 27, 2024

Weekend update: finally this is finished. Started as a request to add pagination and ended up as a complete overhaul of the Chat UI, a major breaking change. I expect this to be a one-off action, without huge and breaking refactors in the future, given that I received a lot of good feedback in a couple of months and tried to implement something + left a room for incremental improvements in the future. New version is available on this branch/PR #41. I still need to prepare the documentation as well as upgrade guide, and test the Firebase with the new UI, which hopefully will not take long. After this is done v1.1 will be released on Pub. Thanks everyone.

Sweeet!! Do you want feedback on that branch if we find anything? Or wait until it's on Pub? Great work!

from flutter_chat_ui.

demchenkoalex avatar demchenkoalex commented on May 27, 2024

Released in v1.1.

from flutter_chat_ui.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.