Skip to content

Separate the concern of message processing from UI presentation #27

Open

Description

@tomgeorge

Currently, sidebar.lua is responsible for message processing, server calls, UI presentation, etc. I think this component is probably doing too much, and makes the code difficult to reason about IMO. I think it should be factored out into different modules.

Activity

  1. ericdallo commented on Aug 18, 2025

    @ericdallo
    Member

    suggestion, what I did for eca-emacs:

    • eca-api (to request,respond,notify the server)
    • eca-chat (related to chat feature)
    • eca-mcp (related to mcp-details )
    • eca-process (related to server process management)
  2. added theissue type on Aug 18, 2025
  3. joaopluigi commented on Aug 20, 2025

    @joaopluigi
    Contributor

    Do you have any structure in your mind?

  4. tomgeorge commented on Aug 21, 2025

    @tomgeorge
    MemberAuthor

    I have an implementation based on how codecompanion does it, you can see it on https://github.com/tomgeorge/eca-nvim/tree/chore/sidebar, comparison here

  5. self-assigned this
    on Aug 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions