Skip to content
This repository has been archived by the owner on Mar 28, 2024. It is now read-only.

Display transcript in a string instead of raw json #5

Open
pedrocruzio opened this issue Mar 28, 2020 · 2 comments
Open

Display transcript in a string instead of raw json #5

pedrocruzio opened this issue Mar 28, 2020 · 2 comments
Assignees
Labels
front-end help wanted Extra attention is needed

Comments

@pedrocruzio
Copy link
Contributor

I was able to connect the mqtt data messages but I'm having trouble filtering out the messages we need. Currently looking for a way to output "msg_id: 6" which contains the body of the transcript, and "msg_id: 8 to display the url of the .txt file.

Screen Shot 2020-03-28 at 12 14 36 PM

@DanCunnington let me know if you what's best way to do this.

@pedrocruzio pedrocruzio added the help wanted Extra attention is needed label Mar 28, 2020
@DanCunnington
Copy link
Contributor

DanCunnington commented Mar 30, 2020

The new message function will be called each time a message arrives, so a simple solution would be to add an if statement to filter the intended message IDs. That can then trigger conditionally showing an element in the component, if the transcript exists.

@pedrocruzio
Copy link
Contributor Author

Got it. Will try this later today, thanks!

@pedrocruzio pedrocruzio self-assigned this Apr 6, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
front-end help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants