Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update: Support .dwg files in the DocumentViewer #992

Merged
merged 3 commits into from
May 14, 2019

Conversation

ikerr
Copy link
Contributor

@ikerr ikerr commented Apr 22, 2019

No description provided.

@boxcla
Copy link

boxcla commented Apr 22, 2019

Hi @ikerr, thanks for the pull request. Before we can merge it, we need you to sign our Contributor License Agreement. You can do so electronically here: http://opensource.box.com/cla

Once you have signed, just add a comment to this pull request saying, "CLA signed". Thanks!

@@ -15,6 +15,7 @@ export const CODE_EXTENSIONS = [
'css',
'cxx',
'diff',
'dwg',
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

CODE_EXTENSIONS are also used by the TextLoader, I think it's possible that the wrong viewer might try to load a dwg depending on order of an array.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, so should this go in DOCUMENT_EXTENSIONS instead?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sounds good. Can DWGs have multiple pages or are they single page file types?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

They can have multiple pages.

@ConradJChan ConradJChan merged commit 6c8b630 into box:master May 14, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants