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 root folder #1149

Merged
merged 7 commits into from
Jan 14, 2020
Merged

feat(archive): Add root folder #1149

merged 7 commits into from
Jan 14, 2020

Conversation

mxiao6
Copy link
Contributor

@mxiao6 mxiao6 commented Jan 11, 2020

No description provided.

@mxiao6 mxiao6 requested a review from a team as a code owner January 11, 2020 00:54
@boxcla
Copy link

boxcla commented Jan 11, 2020

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

src/i18n/en-US.properties Outdated Show resolved Hide resolved
src/lib/viewers/archive/Breadcrumbs.js Outdated Show resolved Hide resolved
mickr
mickr previously approved these changes Jan 13, 2020
@mickr
Copy link
Contributor

mickr commented Jan 13, 2020

Possible to do another patch release today so that this will go into the GA release?

@mxiao6
Copy link
Contributor Author

mxiao6 commented Jan 13, 2020

Possible to do another patch release today so that this will go into the GA release?

I'm waiting the designer for if 'Root Folder' text is ok.

src/lib/viewers/archive/ArchiveExplorer.js Outdated Show resolved Hide resolved
src/lib/viewers/archive/Breadcrumbs.js Outdated Show resolved Hide resolved
src/lib/viewers/archive/constants.js Outdated Show resolved Hide resolved
jstoffan
jstoffan previously approved these changes Jan 13, 2020
jstoffan
jstoffan previously approved these changes Jan 13, 2020
@@ -71,7 +71,7 @@ class ArchiveViewer extends BaseViewer {

try {
/* global BoxArchive loaded from archive.js */
this.archiveComponent = new BoxArchive(this.archiveEl, data);
this.archiveComponent = new BoxArchive(this.archiveEl, this.options.file.name, data);
Copy link
Collaborator

Choose a reason for hiding this comment

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

Just to confirm: Are this.options.file and this.options.file.name always defined?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Just to confirm: Are this.options.file and this.options.file.name always defined?

If file is not defined, the representations are not too, so the expected behavior is to throw the error.

@mergify mergify bot merged commit c47e6b6 into box:master Jan 14, 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