Coder Social home page Coder Social logo

Comments (5)

RoleWong avatar RoleWong commented on August 16, 2024

1、会话列表昵称字体大小不能设置

2、聊天对话框页面,appBar默认模式设置的背景颜色无效

3、聊天对话框页面为什么不会自动获取会话名称?如非会话列表进入就得单独写逻辑在获取,为啥不封装好要多此一举

  1. 会话列表的字体大小,我们内部讨论下,看看有没有合适的解决方案。
  2. 这个颜色需要通过如下代码定义
 appBarConfig: AppBar(
            backgroundColor:
                hexToColor("f2f3f5"),
            textTheme: TextTheme(
                titleMedium:
                    TextStyle(color: hexToColor("010000"), fontSize: 16)),
  1. 在2023年农历新年后的版本,已支持通过传入conversation至TIMUIKitChat,来实现自动conversationID和title展示名称。可以升级使用。

from chat-uikit-flutter.

lonyee1989 avatar lonyee1989 commented on August 16, 2024

2、使用这种方式就摒弃了标准文档里的颜色配置方案:
// chatHeaderBgColor:
// chatHeaderTitleTextColor:
// chatHeaderBackTextColor:
// chatHeaderActionTextColor:
建议兼容这类方案,同时扩展出参数 actions:[],方便默认情况下的不做AppBar自定义

3、您提供的方案仅限于通过conversation进入聊天对话,实际使用中基本是通过资料也点【发消息】,或者其他功能页面 如:动态/活动或其他引导性页面,此类页面不利于在uikit下的头部昵称显示

from chat-uikit-flutter.

lonyee1989 avatar lonyee1989 commented on August 16, 2024

1、建议增加属性:会话列表昵称字体大小调整成16或可自定义,单独放出设置头像模块的自定义(业务可能需要圆角/异行/头像框/标签等)

from chat-uikit-flutter.

RoleWong avatar RoleWong commented on August 16, 2024

2、使用这种方式就摒弃了标准文档里的颜色配置方案: // chatHeaderBgColor: // chatHeaderTitleTextColor: // chatHeaderBackTextColor: // chatHeaderActionTextColor: 建议兼容这类方案,同时扩展出参数 actions:[],方便默认情况下的不做AppBar自定义

3、您提供的方案仅限于通过conversation进入聊天对话,实际使用中基本是通过资料也点【发消息】,或者其他功能页面 如:动态/活动或其他引导性页面,此类页面不利于在uikit下的头部昵称显示

关于第三点,抱歉早上的回复有误。这个 conversation 字段,已做完,但还没发布,会跟着下一个版本发布,预计下周。如果从资料也点【发消息】,你可以调用SDK的getConversation方法,先获取到conversation,再跳转进入。

from chat-uikit-flutter.

RoleWong avatar RoleWong commented on August 16, 2024

1、建议增加属性:会话列表昵称字体大小调整成16或可自定义,单独放出设置头像模块的自定义(业务可能需要圆角/异行/头像框/标签等)

这个我们内部讨论了下,决定在三月份的2.0大版本中改进。届时,定义字体大小就像现在定义颜色一样简单。谢谢您的建议

from chat-uikit-flutter.

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.