neo4j-labs / arrows.app

A graph drawing application
https://arrows.app
Apache License 2.0
107 stars 16 forks source link

BUG: Cannot save diagram to shared drive, FIX: add supportsAllDrives parameter to GET, PATCH calls #46

Closed pavelsevcik closed 2 years ago

pavelsevcik commented 2 years ago

BUG: Cannot save diagram to shared drive

currently arrows.app > open > google drive can browse diagrams in shared drives

Selection_1561

it also loads diagram content, but it fails to load diagram name and save updates to diagram in shared drive

image

network shows, that GET and PATCH fails, while GET for ?alt=media passes

Selection_1563 Selection_1566 Selection_1567

FIX: add supportsAllDrives parameter to GET, PATCH calls

image

Selection_1569

Selection_1568

anafvidal commented 2 years ago

I had a similar issue. I manually saved the file in the shared drive (I first saved it in my personal drive). And then I could not install the arrows plugin to be able to open the file in arrows from the shared drive.

apcj commented 2 years ago

Hi @pavelsevcik thanks for reporting this, and especially for your thorough investigation. Also thanks for @anafvidal for reporting too.

I have added the supportsAllDrives=true parameter as you suggest. I seem to be able to edit files in a team drive. Please let me know if this doesn't work for you and I'll have another look.

Reminder: please make sure you hard-refresh to ensure you have the latest code.