Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
node-version: 18.x

# from https://github.com/supabase/supabase-action-example/
- run: supabase start -x studio,imgproxy,storage
- run: supabase start -x studio,imgproxy,storage,edge-runtime,vector,realtime,storage-api
working-directory: packages/server
env:
TYPECELL_GITHUB_OAUTH_SECRET: ${{ secrets.TYPECELL_GITHUB_OAUTH_SECRET }}
Expand Down
126 changes: 27 additions & 99 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/editor/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
"mobx-react-lite": "^3.2.0",
"penpal": "^6.1.0",
"react": "^18.2.0",
"react-avatar": "^3.10.0",
"react-avatar": "^5.0.3",
"react-dnd": "^14.0.2",
"react-dnd-html5-backend": "^14.0.0",
"react-dom": "^18.2.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@
flex-direction: column;
width: 100%;
height: 100%;
flex:1;
}
16 changes: 11 additions & 5 deletions packages/editor/src/app/documentRenderers/DocumentView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -136,11 +136,17 @@ const DocumentView = observer((props: Props) => {
throw new Error("Plugin not implemented");
} else if (connection.doc.type === "!profile") {
return (
<ProfileRenderer
key={connection.doc.id}
profile={connection.doc.getSpecificType(ProfileResource)!}
subIdentifiers={[]}
/>
<div className={styles.view}>
<DocumentMenu
document={connection.doc}
sessionStore={props.sessionStore}></DocumentMenu>
<ProfileRenderer
key={connection.doc.id}
profile={connection.doc.getSpecificType(ProfileResource)!}
subIdentifiers={[]}
sessionStore={props.sessionStore}
/>
</div>
);
} else if (connection.doc.type.startsWith("!")) {
throw new Error("invalid built in type");
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
.container {
padding: 0 calc((100% - 731px) / 2);
padding-top:3em;
height: 100%;
}

.userHeader {
display:flex;
padding: 2em;
border-radius: 20px;
border: 1px solid rgba(0, 0, 0, 0.08);
box-shadow: rgb(0 0 0 / 25%) 0px 1px 3px -2px;
transition: box-shadow 0.16s ease;

}
.userHeader:hover {
box-shadow: rgb(0 0 0 / 25%) 0px 10px 30px -20px;
}

.userHeader h1 {
flex:auto;
align-self: center;
margin:0;
margin-left:1em;
font-size:3em
}

.userInfo {
font-style: italic;
}

.workspaces, .forks {
margin-top:2em
}

.workspaces button, .forks button {
display:block;
margin-bottom:1em;

}

.avatar {
border: 1px solid rgba(0, 0, 0, 0.08)
}
Loading