| 61 | }; |
| 62 | |
| 63 | const ErrorScriptAlert: FC = () => { |
| 64 | return ( |
| 65 | <TerminalAlert |
| 66 | severity="warning" |
| 67 | dismissible |
| 68 | actions={<RefreshSessionButton />} |
| 69 | > |
| 70 | The workspace{" "} |
| 71 | <Link |
| 72 | title="startup script has exited with an error" |
| 73 | href={docs( |
| 74 | "/admin/templates/troubleshooting#startup-script-exited-with-an-error", |
| 75 | )} |
| 76 | target="_blank" |
| 77 | rel="noreferrer" |
| 78 | className="mx-0" |
| 79 | > |
| 80 | startup script has exited with an error |
| 81 | </Link> |
| 82 | , we recommend reloading this session and{" "} |
| 83 | <Link |
| 84 | title=" debugging the startup script" |
| 85 | href={docs("/admin/templates/troubleshooting#startup-script-issues")} |
| 86 | target="_blank" |
| 87 | rel="noreferrer" |
| 88 | > |
| 89 | debugging the startup script |
| 90 | </Link>{" "} |
| 91 | because{" "} |
| 92 | <Link |
| 93 | title="your workspace may be incomplete." |
| 94 | href={docs( |
| 95 | "/admin/templates/troubleshooting#your-workspace-may-be-incomplete", |
| 96 | )} |
| 97 | target="_blank" |
| 98 | rel="noreferrer" |
| 99 | > |
| 100 | your workspace may be incomplete. |
| 101 | </Link>{" "} |
| 102 | </TerminalAlert> |
| 103 | ); |
| 104 | }; |
| 105 | |
| 106 | const LoadingScriptsAlert: FC = () => { |
| 107 | return ( |