-
Notifications
You must be signed in to change notification settings - Fork 314
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(item-list): add archive folder icon to content picker (#3763)
* feat(item-list): add archive folder icons * feat(item-list): change titles in blueprint icons to aria-labels * feat(item-list): change icon cell folder icons * feat(item-list): reorder props * feat(item-list): update archive type * feat(item-list): update visual regression tests * feat(item-list): update storybook mocks * feat(item-list): update changed tests to RTL
- Loading branch information
1 parent
d400d6c
commit 1d4adab
Showing
13 changed files
with
290 additions
and
109 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -99,6 +99,120 @@ const mockRootFolder = { | |
is_watermarked: false, | ||
}, | ||
}, | ||
{ | ||
type: 'folder', | ||
id: '73426618531', | ||
etag: '3', | ||
name: 'Archive', | ||
size: 1231231, | ||
parent: { | ||
type: 'folder', | ||
id: '69083462919', | ||
sequence_id: '2', | ||
etag: '2', | ||
name: 'Preview Test Folder', | ||
}, | ||
permissions: { | ||
can_download: true, | ||
can_upload: false, | ||
can_rename: false, | ||
can_delete: false, | ||
can_share: false, | ||
can_invite_collaborator: false, | ||
can_set_share_access: false, | ||
}, | ||
path_collection: { | ||
total_count: 2, | ||
entries: [ | ||
{ | ||
type: 'folder', | ||
id: '0', | ||
sequence_id: null, | ||
etag: null, | ||
name: 'All Files', | ||
}, | ||
{ | ||
type: 'folder', | ||
id: '69083462919', | ||
sequence_id: '2', | ||
etag: '2', | ||
name: 'Preview Test Folder', | ||
}, | ||
], | ||
}, | ||
modified_at: '2020-12-16T03:21:44-07:00', | ||
created_at: '2020-11-12T09:33:22-07:00', | ||
modified_by: { | ||
type: 'user', | ||
id: '7503712462', | ||
name: 'Preview', | ||
login: '[email protected]', | ||
}, | ||
has_collaborations: true, | ||
is_externally_owned: false, | ||
shared_link: null, | ||
watermark_info: { | ||
is_watermarked: false, | ||
}, | ||
archive_type: 'archive', | ||
}, | ||
{ | ||
type: 'folder', | ||
id: '73426618532', | ||
etag: '3', | ||
name: 'Archived Folder', | ||
size: 1231231, | ||
parent: { | ||
type: 'folder', | ||
id: '69083462919', | ||
sequence_id: '2', | ||
etag: '2', | ||
name: 'Preview Test Folder', | ||
}, | ||
permissions: { | ||
can_download: true, | ||
can_upload: false, | ||
can_rename: false, | ||
can_delete: false, | ||
can_share: false, | ||
can_invite_collaborator: false, | ||
can_set_share_access: false, | ||
}, | ||
path_collection: { | ||
total_count: 2, | ||
entries: [ | ||
{ | ||
type: 'folder', | ||
id: '0', | ||
sequence_id: null, | ||
etag: null, | ||
name: 'All Files', | ||
}, | ||
{ | ||
type: 'folder', | ||
id: '69083462919', | ||
sequence_id: '2', | ||
etag: '2', | ||
name: 'Preview Test Folder', | ||
}, | ||
], | ||
}, | ||
modified_at: '2020-12-17T05:21:44-07:00', | ||
created_at: '2020-11-12T12:33:22-07:00', | ||
modified_by: { | ||
type: 'user', | ||
id: '7503712462', | ||
name: 'Preview', | ||
login: '[email protected]', | ||
}, | ||
has_collaborations: true, | ||
is_externally_owned: false, | ||
shared_link: null, | ||
watermark_info: { | ||
is_watermarked: false, | ||
}, | ||
archive_type: 'folder_archive', | ||
}, | ||
{ | ||
type: 'file', | ||
id: '416044542013', | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.