Skip to content

Commit 03dcd5f

Browse files
committed
Update several properties and docs
1 parent d9dd7f6 commit 03dcd5f

File tree

16 files changed

+98
-50
lines changed

16 files changed

+98
-50
lines changed

packages/app/src/app/pages/Dashboard/Content/Sandboxes/Filters/FilterOptions/elements.js

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -88,15 +88,14 @@ export const CheckBox = styled.span`
8888
${props =>
8989
props.selected
9090
? css`
91-
background: ${props.color}
92-
url("data:image/svg+xml;utf8,<svg viewBox='0 0 10 9' xmlns='http://www.w3.org/2000/svg'><path d='M1 4.88l2.378 2.435L9.046 1.6' stroke-width='1.6' stroke='%23FFF' fill='none' fill-rule='evenodd' stroke-linecap='round' stroke-linejoin='round'/></svg>")
93-
no-repeat 50%/10px;
91+
background: ${props.color} url('') no-repeat 50%/10px;
92+
background-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 10 9' xmlns='http://www.w3.org/2000/svg'><path d='M1 4.88l2.378 2.435L9.046 1.6' stroke-width='1.6' stroke='%23FFF' fill='none' fill-rule='evenodd' stroke-linecap='round' stroke-linejoin='round'/></svg>");
9493
`
9594
: css`
96-
background: rgba(0, 0, 0, 0.3)
97-
url("data:image/svg+xml;utf8,<svg viewBox='0 0 10 9' xmlns='http://www.w3.org/2000/svg'><path fill='rgba(255, 255, 255, 0.2)/></svg>")
98-
no-repeat 50%/10px;
99-
`} border: 2px solid transparent;
95+
background: rgba(0, 0, 0, 0.3) url('') no-repeat 50%/10px;
96+
background-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 10 9' xmlns='http://www.w3.org/2000/svg'><path fill='rgba(255, 255, 255, 0.2)/></svg>");
97+
`};
98+
border: 2px solid transparent;
10099
101100
${props =>
102101
props.selected &&

packages/app/src/app/pages/Dashboard/Content/routes/CreateTeam/Plan/elements.js

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -44,15 +44,14 @@ export const CheckBox = styled.span`
4444
${props =>
4545
props.selected
4646
? css`
47-
background: ${props.color}
48-
url("data:image/svg+xml;utf8,<svg viewBox='0 0 10 9' xmlns='http://www.w3.org/2000/svg'><path d='M1 4.88l2.378 2.435L9.046 1.6' stroke-width='1.6' stroke='%23FFF' fill='none' fill-rule='evenodd' stroke-linecap='round' stroke-linejoin='round'/></svg>")
49-
no-repeat 50%/10px;
47+
background: ${props.color} url('') no-repeat 50%/10px;
48+
background-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 10 9' xmlns='http://www.w3.org/2000/svg'><path d='M1 4.88l2.378 2.435L9.046 1.6' stroke-width='1.6' stroke='%23FFF' fill='none' fill-rule='evenodd' stroke-linecap='round' stroke-linejoin='round'/></svg>");
5049
`
5150
: css`
52-
background: rgba(0, 0, 0, 0.3)
53-
url("data:image/svg+xml;utf8,<svg viewBox='0 0 10 9' xmlns='http://www.w3.org/2000/svg'><path fill='rgba(255, 255, 255, 0.2)/></svg>")
54-
no-repeat 50%/10px;
55-
`} border: 2px solid transparent;
51+
background: rgba(0, 0, 0, 0.3) url('') no-repeat 50%/10px;
52+
background-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 10 9' xmlns='http://www.w3.org/2000/svg'><path fill='rgba(255, 255, 255, 0.2)/></svg>");
53+
`};
54+
border: 2px solid transparent;
5655
5756
${props =>
5857
props.selected &&

packages/app/src/app/pages/common/Navigation/Notifications/elements.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,8 @@ export const NotificationImage = styled.img`
7979
border-radius: 4px;
8080
width: 24px;
8181
height: 24px;
82+
min-width: 24px;
83+
min-height: 24px;
8284
margin-right: 1rem;
8385
margin-top: 0.25rem;
8486
`;

packages/homepage/content/docs/2-importing.md

Lines changed: 8 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -22,18 +22,14 @@ The imported repository will always stay up to date with your latest commits. Th
2222

2323
We infer sandbox settings based on several files in a repository.
2424

25-
| Sandbox Setting | Inferred from |
26-
| --------------------------- | ----------------------------------------------------------- |
27-
| Title | `name` field in `package.json` |
28-
| Description | `description` field in `package.json` |
29-
| Tags | `keywords` field in `package.json` |
30-
| Template - Vue | If there are `.vue` files. |
31-
| Template - Preact | If `package.json` dependencies contains `preact-cli`. |
32-
| Template - React | If `package.json` dependencies contains `react-scripts`. |
33-
| Template - React-Typescript | If `package.json` dependencies contains `react-scripts-ts`. |
34-
| Template - Svelte | If `package.json` dependencies contains `svelte`. |
35-
36-
Additionally, you may specify a `template` property in your `./sandbox.config.json` file.
25+
| Sandbox Setting | Inferred from |
26+
| --------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------- |
27+
| Title | `name` field in `package.json` |
28+
| Description | `description` field in `package.json` |
29+
| Tags | `keywords` field in `package.json` |
30+
| Template | Based on [this](https://github.com/codesandbox-app/codesandbox-importers/blob/master/packages/import-utils/src/create-sandbox/templates.ts#L63) logic |
31+
32+
Additionally, you may specify a `template` property in your `./sandbox.config.json` file to override the detected template..
3733

3834
```json
3935
{

packages/homepage/content/docs/2-live.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,3 @@ You can make give someone editor rights by pressing the '+' icon next to their n
3939
And you can make someone a spectator by clicking the '-' icon next to their name.
4040

4141
![Going Live](./images/live-make-spectator.png)
42-
43-
## Patron
44-
45-
Creating a new Live Room is only available as a [Patron](/patron) currently. Everyone without Patron can always join a live session.
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
---
2+
title: "Deploying your Sandbox"
3+
authors: ["arthurdenner", "CompuIves"]
4+
description: "It's possible to deploy your app directly from CodeSandbox with ZEIT Now."
5+
---
6+
7+
## Integrations
8+
9+
In order to be able to deploy your app, you need to access the Preferences menu and select the Integrations tab. Log into your ZEIT account and it's all set.
10+
11+
## Deployment
12+
13+
Go to any of your sandboxes, click in the Deployment menu (the rocket icon in the sidebar) and click in "Deploy Sandbox". You'll need to sign in to [Now](https://zeit.co/now) when you're deploying for the first time. After you've signed in you will be able to click "Deploy Now". It will deploy the sandbox and give you a URL afterwards.
14+
15+
## Deployment Overview
16+
17+
You can see an overview of all deployments you made previously, you can use this overview to delete your previous deploys or to visit the website.
18+
19+
![Deployment Sidebar](./images/deployment-sidebar.png)
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
---
2+
title: "Teams"
3+
authors: ["CompuIves"]
4+
description: "A team makes it easier to collaborate on sandboxes with others. As a team you share the ownership of the sandboxes in that team, every sandbox automatically has a live session open."
5+
---
6+
7+
## Creating a Team
8+
9+
You can create and manage teams from the dashboard.
10+
11+
![Create Team](./images/team-create.png)
12+
13+
As soon as you've created a team you will be greeted with the team overview.
14+
15+
![Team Overview](./images/team-overview.png)
16+
17+
## Inviting Team Members
18+
19+
There's no limit on how many team members a team can have. You can invite others by entering their username in the bottom left corner. Others will get a notification (the bell icon in the header) when they are invited to a new team. From there they can accept or refuse the invitation.
20+
21+
![Team Notifications](./images/team-invite.png)
22+
23+
## Sharing Sandboxes
24+
25+
As a team you have a sidebar item called "Our Sandboxes" with directories, just like your personal sandboxes. You can create new sandboxes directly from here, or you can drag your own sandboxes from 'My Sandboxes' to 'Our Sandboxes'. All sandboxes in a team can be seen and edited by all team member. We still keep track of who originally created the sandbox though, this means that only the original creator of the sandbox can actually delete it.
26+
27+
![Team Sandboxes](./images/team-sandboxes.png)
28+
29+
## Collaborating on Sandboxes
30+
31+
Whenever you open a team sandbox, you also automatically open a live session. Other team members will join this live session if they open the sandbox as well. You can still share the live session with others.
32+
33+
![A Team Live Session](./images/team-live.png)

packages/homepage/content/docs/4-deployment.md

Lines changed: 0 additions & 13 deletions
This file was deleted.
113 KB
Loading
45.7 KB
Loading

0 commit comments

Comments
 (0)