Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: send messages from Koko #24

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from
Draft

feat: send messages from Koko #24

wants to merge 2 commits into from

Conversation

Dnouv
Copy link
Member

@Dnouv Dnouv commented Mar 7, 2025

This pull request introduces a new feature to send messages within the Koko application. The main changes include adding a new KokoSend class, updating the KokoApp class to integrate this feature, and creating a new modal for sending messages.

New Feature: Send Messages

  • New KokoSend class:

    • Added KokoSend class to handle the submission of messages to specified rooms or users.
  • Updates to KokoApp class:

    • Imported KokoSend and added it as a public property in the KokoApp class. [1] [2]
    • Integrated the KokoSend class into the submit method to handle the 'send' case.
    • Initialized KokoSend in the initialize method.

Command Handling

  • New processSendCommand function:
    • Added a new function to process the 'send' command, which opens a modal for sending messages.
    • Updated KokoCommand to include the new 'send' command and its processing function. [1] [2]

User Interface

  • New SendModal:
    • Created a new modal for sending messages, with input fields for the message and the room or user to send it to.

Settings

  • New settings for access roles:
    • Added new settings to manage roles that can access Koko, with corresponding labels and descriptions. [1] [2]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant