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(annotations): Disable annotations for excel and iWork formats #1202

Merged
merged 2 commits into from
May 6, 2020

Conversation

mxiao6
Copy link
Contributor

@mxiao6 mxiao6 commented Apr 30, 2020

No description provided.

@mxiao6 mxiao6 requested a review from a team as a code owner April 30, 2020 21:20
ConradJChan
ConradJChan previously approved these changes May 5, 2020
const { extension } = file || {};

// Disable new annotations for Excel and iWork formats
if (EXCEL_EXTENSIONS.includes(extension) || IWORK_EXTENSIONS.includes(extension)) {
Copy link
Contributor

Choose a reason for hiding this comment

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

While I think this is fine for now, we should come up with a way to whitelist / blacklist formats that should have annotations instead of adding more logic around.

@mergify mergify bot merged commit 05d665e into box:master May 6, 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.

4 participants