davertron / cvu-portfolio-app

Web app for CVU students to arrange Drive files by learning standards
cvu-portfolio-app.vercel.app
1 stars 2 forks source link

Descriptions not showing for shortcuts in Drive #10

Closed cmacfadyen closed 3 years ago

cmacfadyen commented 3 years ago

When I add a description to a file in the app, that then shows up in Drive, but only in the original location-- not in the shortcut. So, this file DOES show the proper description when viewed in its actual location, but in this Coding folder, generated by the app, the description doesn't show.

Screen Shot 2021-06-24 at 2 27 18 PM
cmacfadyen commented 3 years ago

Oh, I see why this is happening. The shortcut apparently takes the title of the original ("target") file on creation (but this title can be changed independent of the target), but not the description? Can the description be pulled from shortcutDetails.targetId? Although syncing them could be a hassle.

Files reference

cmacfadyen commented 3 years ago

I just looked in the database and it looks like you have both the shortcut id and original id for the file from Drive. Is that correct? And if so, can you update the description in both places?