adifyr / obsidian-chat-view

An elegant chat view for Obsidian pages.
MIT License
202 stars 11 forks source link

Microsoft Teams support #30

Open ytechie opened 1 year ago

ytechie commented 1 year ago

I would like to use this to format MS Teams chats. It looks like it wouldn't be too difficult to add as a new type like chat-teams. Thoughts?

If I sent you a PR, would you be interested in merging it in?

Here is a sample chat:

[10:37 AM] Carl S

I have mixed feelings

like 1

[10:37 AM] Jason Y

Thank you for sharing.

[10:37 AM] Carl S

👆🏻I'll click on the suggestions where possible

[10:37 AM] Jason Y

Sounds good!
adifyr commented 1 year ago

Hi @ytechie. Thanks for writing in. From the brief research I did, it looks like you can export MS Teams chats to Word doc or to a .vtt file.

I haven't seen this format before. May I know the format of chat transcript you're using and where I can find it?

The Chat View plugin already allows you to make a Chat View out of the WebVTT format, using the chat-webvtt header. Perhaps, you could use that in the meanwhile? You can export chat transcripts to .vtt as mentioned earlier.

ytechie commented 1 year ago

You can export transcripts to VTT, but I don't think you can export a chat to VTT.

The format above is from simply selecting messages in a chat and hitting ctrl-c (or cmd-c) and then pasting into Obsidian.

My hope is to be able to copy critical notes from a chat conversation, and then have them nicely formatted in Obsidian.

emory commented 9 months ago

Same. The MS Teams desktop application does Chat similar to Slack's app, and can do transcript captions in real-time during a meeting with a video or audio presentation. Copying a chat via cmd+c looks like the above. another example:

[8:50 AM] Lastname, Boss

i'm saying something funny ![🤣](https://statics.teams.cdn.office.net/evergreen-assets/personal-expressions/v2/assets/emoticons/rofl/default/20_f.png "Rolling on the floor laughing")

sometimes the emoji aren't understood:

[8:48 AM] Peer, Friendly

That's why I am blahing.

1f4af_hundredpointssymbol 1

which is rendered as 💯 in teams.

i've also used the Teams in a browser and hoped that selecting a chat and then using the markdown copy keybind for my Markdown extension would copy it as markdown but it truncated things weirdly when i pasted. it would be so great to be able to paste these in and have them look so polished. it's surprisingly tedious to do it manually 🤦🏻‍♂️