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

Add a Live Chat Event Block #157

Open
akirk opened this issue Jan 18, 2023 · 0 comments
Open

Add a Live Chat Event Block #157

akirk opened this issue Jan 18, 2023 · 0 comments

Comments

@akirk
Copy link
Member

akirk commented Jan 18, 2023

It'd be interesting to create a block that can handle a live chat event (such as a WordPress Meeting) that would happen in three phases:

  1. Before the event: Show the date and time when the event will happen, possibly with a countdown.
  2. During the event: standard Chatrix functionality: display a Matrix room in single room mode.
  3. After the event: display the transcript between the event start time and a defined end timestamp.

Metadata

This block would need to have the following settings:

  • Event start datetime
  • Event end datetime (optional, might also be filled after the event is over)
  • Access Token for the transcript (optional)

Transition between the states

Before Event → During Event

When you are on the countdown page and the time arrives, it should load up Chatrix.

During Event → After Event

No transition. People should be able to continue chatting if they started off there.

Details

After Event Screen

We'll need a way to get the transscript and for that we could use an access token to talk to the Matrix server and get the messages between the timestamps and cache them in a transient.

An option would be to add the ability to just paste the transcript using an innerBlock technique like the quote block uses.

@akirk akirk changed the title Add an Live Chat Event Block Add a Live Chat Event Block Jan 18, 2023
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

No branches or pull requests

1 participant