jgraph / drawio

draw.io is a JavaScript, client-side editor for general diagramming.
https://www.drawio.com
Other
40.61k stars 7.57k forks source link

Teams chat integration #761

Closed davidjgraph closed 2 years ago

GiantCrocodile commented 4 years ago

What is this issue about: draw.io as a standalone app/bot for Microsoft Teams or as an app within Microsoft Team's channels? In channels you could embed it as a website already. That should work, right?

andresmmujica commented 4 years ago

can you elaborate on embed draw.io as a website within a Microsoft Team channel?

GiantCrocodile commented 4 years ago

Hi @andresmmujica! Check out this tutorial: https://docs.microsoft.com/en-us/microsoftteams/built-in-custom-tabs (You have to add a website tab)

MikelisDz commented 4 years ago

did embedding diagram as a website work for you? For me, it says that it lacks Javascript

GiantCrocodile commented 4 years ago

You are right @MikelisDz! It shows a javascript error:

Flowchart Maker and Online Diagram Software
diagrams.net (formerly draw.io) is free online diagram software. You can use it as a flowchart maker, network diagram software, to create UML online, as an ER diagram tool, to design database schema, to build BPMN online, as a circuit diagram maker, and more. draw.io can import .vsdx, Gliffy™ and Lucidchart™ files .

Page could not be loaded. Please try refreshing.
Please ensure JavaScript is enabled.

Someone should check if this is a known limitation of Microsoft Teams or raise a service request with Microsoft to ask for support.

MikelisDz commented 4 years ago

@GiantCrocodile from the response on Microsoft Tech Community forums it seems that nothing with JavaScript will work in website tab.

davidjgraph commented 4 years ago

What's the link to the thread? Will the SVG of the diagram work?

MikelisDz commented 4 years ago

@davidjgraph there hasn't been any answers from devs, but others have reported the same problem. Couldn't find anything more within older posts there. https://techcommunity.microsoft.com/t5/microsoft-teams/webiste-tab-that-contains-javascript/m-p/1352710#M56257

GiantCrocodile commented 4 years ago

I think an update to Microsoft Teams did fix this:

grafik

This tab didn't work in the past (see previous comments) but works now.

MikelisDz commented 4 years ago

Seems you are right - only now I cannot login with my Ondrive, gets error "Automatic login interrupted. Please close and select OneDrive again.", but it works from Device. However seems that it is still very limited in usability, since every time I click away to another chat, team or anything it asks again to open the file. Not sure also how to make it usable Team-wide. If I place the .drawio file within Team Onedrive folder I hope every team member can open it and edit - not simultaneously of course. Co-working would be nice though.

InternetMaster1 commented 4 years ago

This would be such an amazing feature to have! Just like LucidWorks, etc are built-in inside MIcrosoft Teams as an app, would be great to have a deeper integration of draw.io with Microsoft Teams.

m-mohamedin commented 3 years ago

Coming Soon!

shibumi commented 3 years ago

@ashrafteleb do you have an update? How does this work in Teams?

dieskim commented 3 years ago

hi is there any news on this? is there a beta version or something we can try? Thanks

davidjgraph commented 3 years ago

No, we lack resources at the moment to finish publishing it.

dieskim commented 3 years ago

anything anyone can do to help or not really? is there a way you can make the app available for us to test and upload to our org via beta or something?

davidjgraph commented 3 years ago

If you could take a bunch of my internal support tickets :)

Floriszz commented 3 years ago

Sometimes a screenshot says more than a thousand words. Click a draw.io file in Teams Channel - Files and... image

shibumi commented 3 years ago

@Floriszz can two people work on the same file on real-time?

dieskim commented 3 years ago

@davidjgraph is integration ready now or not yet?

Floriszz commented 3 years ago

@Floriszz can two people work on the same file on real-time?

Interesting! not tried. From a user perspective you just would like the draw.io file to be shown/opened in that window. Not a download button. Just as an image or Visio drawing.

dgrospelier commented 3 years ago

Is it planned to release an integration with MS Teams in order to co-author a draw.io file?

dieskim commented 3 years ago

No, we lack resources at the moment to finish publishing it.

Any update on when we could expect Teams Integration?

davidjgraph commented 3 years ago

The current position is Microsoft see functionality failures on their side when testing the integration that we cannot repeat. If anyone knows a good contact within Microsoft...

jfuertler commented 3 years ago

Please keep it up and push MS! Much appreciated feature!

davidjgraph commented 2 years ago

We've been rejected about 15 times now, still working on them.

davidjgraph commented 2 years ago

https://appsource.microsoft.com/product/office/wa200003444

https://www.diagrams.net/doc/faq/microsoft-teams-diagrams

Floriszz commented 2 years ago

It seems to work for me(who added the plugin and link to the draw.io fille. But although my colleagues(Ms Team members of th the channel) can see the links in the tabs and can click on them, they will never get passed the authorization popup for Onedrive.(The draw.io files are not in my Onedrive, but in the MS Teams Site which is a SharePoint Site as well) image

shibumi commented 2 years ago

@Floriszz does it allow multi-user-support? Can multiple users draw in it at the same time? Or is it just a "viewer" in Teams?

Floriszz commented 2 years ago

@Floriszz does it allow multi-user-support? Can multiple users draw in it at the same time? Or is it just a "viewer" in Teams?

I tried both with the checkmark for 'editable' marked and unmarked. But for either situation same popup(screen) as above. Everyone in the team has read/write access to the source where the draw.io files are stored in SharePoint. image

shibumi commented 2 years ago

@Floriszz ok, but the main question is: Can two or more people work simultaneously on the same diagram?

m-mohamedin commented 2 years ago

@Floriszz We need to debug this, can you check the browser console and send us any errors there (please try the bowser version of Teams for that). Also, it's better to open a new issue for that error

@shibumi Yes, the same collaborative editing of OneDrive in draw.io editor (near real-time)

Floriszz commented 2 years ago

@Floriszz ok, but the main question is: Can two or more people work simultaneously on the same diagram?

I never tried. The intention of showing in Teams is just to be able to share a draw.io file that everyone can read. Just like with MS Visio files in Ms Teams.

Wachert commented 2 years ago

We got the same problem. I created a Tab with draw.io Files on Sharepoint, but other users can't see the tab. I then tried to share the draw io File on share point with that users, but they still can't see the tab in Teams. All other Tabs like Excel files etc. are working.

davidjgraph commented 2 years ago

Please open new issues for new issues, this thread is unreadable with all the different topics.