-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
11 changed files
with
129 additions
and
105 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
.anim_container:hover .anim_avatar:not(:last-child){ | ||
margin-right:8px; | ||
} | ||
|
||
.anim_avatar{ | ||
transition: margin 500ms ease-in-out; | ||
} |
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 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,23 @@ | ||
// Add row, import CSV, download CSV buttons | ||
import React from 'react'; | ||
|
||
import Collaborators from '../Collaborators/Collaborators' | ||
|
||
import {Button} from 'evergreen-ui' | ||
import {IconButton} from 'evergreen-ui' | ||
import {CogIcon, GroupObjectsIcon, FilterListIcon} from 'evergreen-ui' | ||
import Collaborators from '../Collaborators/Collaborators'; | ||
|
||
// Change projects, also views for current project | ||
function GlobalControls({collabs}) { | ||
|
||
return ( | ||
<div style={{width:'100%', display:'flex'}}> | ||
<div style={{width:'40%', display:'flex'}}> | ||
<Button iconBefore={GroupObjectsIcon}> Group </Button> | ||
<Button iconBefore={FilterListIcon}> Filter </Button> | ||
<Button iconBefore={CogIcon}>Settings</Button> | ||
</div> | ||
<Collaborators collabs={collabs}/> | ||
<div style={{display:'flex', margin:'20px 20px 0px 20px', alignItems:'center', justifyContent:'space-between'}}> | ||
<div style={{display:'flex'}}> | ||
<IconButton icon={GroupObjectsIcon} marginRight={10}/> | ||
<IconButton icon={FilterListIcon} marginRight={10}/> | ||
<IconButton icon={CogIcon}/> | ||
</div> | ||
<Collaborators collabs={collabs}/> | ||
</div> | ||
); | ||
} | ||
|
||
export default GlobalControls; | ||
|
||
|
||
|
||
export default GlobalControls; |
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,40 @@ | ||
// Add row, import CSV, download CSV buttons | ||
import React, { useEffect, useMemo } from 'react'; | ||
|
||
import Collaborators from '../Collaborators/Collaborators' | ||
|
||
import * as Y from 'yjs' | ||
|
||
import {Table, Menu, Popover, Position, TextDropdownButton, MoreIcon, EditIcon, GroupObjectsIcon} from 'evergreen-ui' | ||
|
||
// Change projects, also views for current project | ||
function TableHeader({column}) { | ||
|
||
return ( | ||
<th {...column.getHeaderProps()}> | ||
<Popover | ||
position={Position.BOTTOM_LEFT} | ||
content={ | ||
<Menu> | ||
<Menu.Group> | ||
<Menu.Item icon={EditIcon}>Rename</Menu.Item> | ||
<Menu.Item icon={GroupObjectsIcon}>Group by</Menu.Item> | ||
</Menu.Group> | ||
</Menu> | ||
}> | ||
<TextDropdownButton | ||
icon={MoreIcon} | ||
style={{ | ||
width:'calc(100% - 20px)', | ||
justifyContent:'space-between', | ||
padding:'0px 10px', | ||
}} | ||
> | ||
{column.render('Header')} | ||
</TextDropdownButton> | ||
</Popover> | ||
</th> | ||
); | ||
} | ||
|
||
export default TableHeader; |
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