- Notifications
You must be signed in to change notification settings - Fork928
docs: improve workspaces and templates doc#9139
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
github-actionsbot commentedAug 16, 2023 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
CLA Assistant Lite bot All contributors have signed the CLA ✍️ ✅ |
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Hi@marcpaq can you please merge |
Uh oh!
There was an error while loading.Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
Just a comment about the correct use ofshell
andconsole
for markdown fenced codeblocks
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Co-authored-by: Muhammad Atif Ali <matifali@live.com>
Co-authored-by: Muhammad Atif Ali <matifali@live.com>
Co-authored-by: Muhammad Atif Ali <matifali@live.com>
I have read the CLA Document and I hereby sign the CLA |
I have read the CLA Document and I hereby sign the CLA
Uh oh!
There was an error while loading.Please reload this page.
For the "Advanced: Building your first template" doc:
|
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
I have left a few comments, suggestions, and some questions. Overall it looks very good.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
Delete the section related to legacy parameters and the migration guide.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Hi@marcpaq, I have deleted the section on legacy parameters. Is there anything blocking you on this? Can you review it once and see if any observations must be addressed? |
Uh oh!
There was an error while loading.Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
Ok I pushed a commit to fix the broken links in the product.
However, did these docs disappear? I think we might need to add a templates/troubleshooting.md back. I am happy to author this and do it first thing tomorrow.
coder/site/src/pages/TerminalPage/TerminalAlerts.tsx
Lines 8 to 88 in2029543
return( | |
<TerminalAlert | |
severity="warning" | |
dismissible | |
actions={<RefreshSessionButton/>} | |
> | |
The workspace{" "} | |
<Link | |
title="startup script has exited with an error" | |
href={docs("/templates#startup-script-exited-with-an-error")} | |
target="_blank" | |
rel="noreferrer" | |
> | |
startup script has exited with an error | |
</Link> | |
, we recommend reloading this session and{" "} | |
<Link | |
title=" debugging the startup script" | |
href={docs("/templates#debugging-the-startup-script")} | |
target="_blank" | |
rel="noreferrer" | |
> | |
debugging the startup script | |
</Link>{" "} | |
because{" "} | |
<Link | |
title="your workspace may be incomplete." | |
href={docs("/templates#your-workspace-may-be-incomplete")} | |
target="_blank" | |
rel="noreferrer" | |
> | |
your workspace may be incomplete. | |
</Link>{" "} | |
</TerminalAlert> | |
); | |
}; | |
exportconstLoadingScriptsAlert=()=>{ | |
return( | |
<TerminalAlert | |
dismissible | |
severity="info" | |
actions={<RefreshSessionButton/>} | |
> | |
Startup scripts are still running. You can continue using this terminal, | |
but{" "} | |
<Link | |
title="your workspace may be incomplete." | |
href={docs("/templates#your-workspace-may-be-incomplete")} | |
target="_blank" | |
rel="noreferrer" | |
> | |
{" "} | |
your workspace may be incomplete. | |
</Link> | |
</TerminalAlert> | |
); | |
}; | |
exportconstLoadedScriptsAlert=()=>{ | |
return( | |
<TerminalAlert | |
severity="success" | |
dismissible | |
actions={<RefreshSessionButton/>} | |
> | |
Startup scripts have completed successfully. The workspace is ready but | |
this{" "} | |
<Link | |
title="session was started before the startup scripts finished" | |
href={docs("/templates#your-workspace-may-be-incomplete")} | |
target="_blank" | |
rel="noreferrer" | |
> | |
session was started before the startup script finished. | |
</Link>{" "} | |
To ensure your shell environment is up-to-date, we recommend reloading | |
this session. | |
</TerminalAlert> | |
); | |
}; |
Otherwise, I think we're good to merge
As well as Coder's starter templates, you can see a list of community | ||
templates by our users | ||
[here](https://github.com/coder/coder/blob/main/examples/templates/community-templates.md). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
Should we also mention registry.coder.com/templates?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
cc:@bpmct
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
fixed the links - we're all good to merge :)
Uh oh!
There was an error while loading.Please reload this page.
Hi@bpmct ,@kylecarbs
Here's a first draft for the workspaces doc page.
I have read the CLA Document and I hereby sign the CLA