generated from graasp/graasp-repo
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: reduce island size hide buttons (#699)
* fix: reduce island size and hide buttons that are not used * fix: remove chatbutton if there are no chats enabled * fix: udpate tests * fix: tests
- Loading branch information
Showing
16 changed files
with
107 additions
and
158 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,12 @@ | ||
import { DiscriminatedItem, ItemTag, PermissionLevel } from '@graasp/sdk'; | ||
import { ItemTag, PackedItem, PermissionLevel } from '@graasp/sdk'; | ||
|
||
export type MockItemTag = Omit<ItemTag, 'item'>; | ||
export type MockItem = DiscriminatedItem & { | ||
export type MockItem = Omit<PackedItem, 'permission' | 'hidden' | 'public'> & { | ||
// for testing | ||
filepath?: string; | ||
// path to a fixture file in cypress | ||
filefixture?: string; | ||
memberships?: { memberId: string; permission: PermissionLevel }[]; | ||
tags?: MockItemTag[]; | ||
hidden?: MockItemTag; | ||
public?: MockItemTag; | ||
}; |
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 was deleted.
Oops, something went wrong.
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.