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

feat(archive): Add archive loader to prepare for conversion feature flip #1137

Merged
merged 1 commit into from
Jan 2, 2020

Conversation

mxiao6
Copy link
Contributor

@mxiao6 mxiao6 commented Dec 31, 2019

If conversion feature flip is not enabled for a user, the user will see the error message "We're sorry, your account is unable to preview this file type."

@mxiao6 mxiao6 requested a review from a team as a code owner December 31, 2019 23:17
@boxcla
Copy link

boxcla commented Dec 31, 2019

Verified that @mxiao6 has signed the CLA. Thanks for the pull request!

@@ -93,8 +93,7 @@ export const STATUS_SUCCESS = 'success';
export const STATUS_VIEWABLE = 'viewable';

// X-Rep-Hints for Representations API
export const X_REP_HINT_ARCHIVE = '[json]';
export const X_REP_HINT_BASE = '[3d][pdf][text][mp3]';
export const X_REP_HINT_BASE = '[3d][pdf][text][mp3][json]';
Copy link
Collaborator

Choose a reason for hiding this comment

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

This rep will now be hinted for every file. Did we check with the conversion team regarding the performance impact of this change?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

This rep will now be hinted for every file. Did we check with the conversion team regarding the performance impact of this change?

Yeah, they said it's ok.

@mxiao6 mxiao6 requested a review from jstoffan January 2, 2020 21:30
@mergify mergify bot merged commit 0250432 into box:master Jan 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants