GithubHelp home page GithubHelp logo

请更新下文档 about chatui HOT 7 CLOSED

alibaba avatar alibaba commented on July 16, 2024
请更新下文档

from chatui.

Comments (7)

PERSISTENC avatar PERSISTENC commented on July 16, 2024

文档的版本 是不是和实际展示案例 是不是差距蛮大 好多都没有写

from chatui.

PERSISTENC avatar PERSISTENC commented on July 16, 2024

是sdk 的文档 如 chat 容器里面消息是如何排序 是按时间来么 ?哪个历史消息 如何就排到前面了 ?-

from chatui.

akai avatar akai commented on July 16, 2024

是sdk 的文档 如 chat 容器里面消息是如何排序 是按时间来么 ?哪个历史消息 如何就排到前面了 ?-

和钉钉、微信等 IM 一样的逻辑啊,发送的先后顺序,上旧下新,所以历史消息在最上面

from chatui.

PERSISTENC avatar PERSISTENC commented on July 16, 2024

那个历史消息哦 我一开始看文档猜 我以为是按照创建时间得 没有创建时间按照当前时间 结果不对 后来 再猜是history直接返回个数组 也不对 最后就是死马当做活马医 返回一个带list得结构 没成想对了 (我一开始看到那个接口定义 我压根以为那就是消息得数据结构定义,根本就没想到 需要返回一个object 里面包含list )

from chatui.

akai avatar akai commented on July 16, 2024

文档下面是有用 ts 写了数据结构,再下面还有示例

from chatui.

PERSISTENC avatar PERSISTENC commented on July 16, 2024

文档下面是有用 ts 写了数据结构,再下面还有示例

我们这个重构的 不牵扯到后端 所以数据格式不怎么好改 要么就是起中间层 自己转 我采用的是history 里面处理数据 所以我一开始是按照你们这数据结构 直接appendMessag的 所以才有疑问 是按照时间排的么 后来慢慢的摸索 才搞好

from chatui.

PERSISTENC avatar PERSISTENC commented on July 16, 2024

文档下面是有用 ts 写了数据结构,再下面还有示例

谢谢您

from chatui.

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.