Skip to content

feat: composer animation for send, streaming and focus #46

Description

@divyanshub024

Description

The composer changes state on a single frame: sending, the reply starting to stream, and the field gaining or losing focus all happen with no motion. Sends feel unacknowledged, and a reply in progress is invisible until the first token. Users expect the ChatGPT/Claude like feel.

What you'd like

Animations on FlowComposer, each switchable off in FlowComposerStyle:

  • Send: animate the message leaving and the send button acknowledging the tap.
  • Streaming: animate the send button into a loading state while isStreaming, and back when the reply ends.
  • Focus: animate the composer expanding on focus and collapsing when focus leaves and the field is empty.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions