-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
rename recycle bin to trash fix breadcrumb navigation show shared items in tree modal show member in shared items table change username to pseudo clear email input on invite
- Loading branch information
Showing
21 changed files
with
443 additions
and
119 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
import { PERMISSION_LEVELS } from '../../src/enums'; | ||
import { DEFAULT_FOLDER_ITEM } from './items'; | ||
import { MEMBERS } from './members'; | ||
|
||
// eslint-disable-next-line import/prefer-default-export | ||
export const SHARED_ITEMS = { | ||
items: [ | ||
{ | ||
...DEFAULT_FOLDER_ITEM, | ||
creator: MEMBERS.BOB.id, | ||
id: 'ecdfbd2a-5688-11eb-ae93-0242ac130002', | ||
name: 'shared_item_name1', | ||
path: 'ecdfbd2a_5688_11eb_ae93_0242ac130002', | ||
extra: { | ||
image: 'someimageurl', | ||
}, | ||
memberships: [ | ||
{ | ||
itemPath: 'fdf09f5a_5688_11eb_ae93_0242ac130002', | ||
permission: PERMISSION_LEVELS.ADMIN, | ||
memberId: MEMBERS.ANNA.id, | ||
}, | ||
], | ||
}, | ||
{ | ||
...DEFAULT_FOLDER_ITEM, | ||
creator: MEMBERS.CEDRIC.id, | ||
id: 'fdf19f5a-5688-11eb-ae93-0242ac130002', | ||
name: 'shared_item_name2', | ||
path: 'fdf19f5a_5688_11eb_ae93_0242ac130002', | ||
extra: { | ||
image: 'someimageurl', | ||
}, | ||
memberships: [ | ||
{ | ||
itemPath: 'fdf09f5a-5688-11eb-ae93-0242ac130002', | ||
permission: PERMISSION_LEVELS.ADMIN, | ||
memberId: MEMBERS.ANNA.id, | ||
}, | ||
{ | ||
itemPath: 'fdf09f5a_5688_11eb_ae93_0242ac130002', | ||
permission: PERMISSION_LEVELS.READ, | ||
memberId: MEMBERS.BOB.id, | ||
}, | ||
], | ||
}, | ||
], | ||
}; |
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
Oops, something went wrong.