frappe / drive

100% open source file storage, sharing, and collaboration
https://frappe.io/drive
GNU Affero General Public License v3.0
299 stars 134 forks source link

Improve "Import docx" Functionality #224

Open Dieule26 opened 5 months ago

Dieule26 commented 5 months ago
  1. I have many .docx files in home directory, but they are not displaying. image
  2. Allow uploading from the computer, but after uploading, it does not appear here immediately. You have to wait until the upload completes, then click on "Home" or " Recent" to import the translated file. This is very inconvenient. image
  3. After importing, the file does not preserve its original formatting, including the table of contents, and it loses images from the file. image The "New Document" feature is very useful as it allows users to edit and work directly with files on Drive. Let's enhance this feature to make it even better
uhrjun commented 5 months ago

I have many .docx files in home directory, but they are not displaying.

This was using old API endpoints. Its fixed.

You have to wait until the upload completes, then click on "Home" or " Recent" to import the translated file. This is very inconvenient.

Yeah this is a bug. Will fix this.

After importing, the file does not preserve its original formatting, including the table of contents, and it loses images from the file.

Need to update this to handle more formatting cases. That will at least get the import to be more accurate. But there will always be mismatches.