| 128 | }; |
| 129 | |
| 130 | const LoadedScriptsAlert: FC = () => { |
| 131 | return ( |
| 132 | <TerminalAlert |
| 133 | severity="success" |
| 134 | dismissible |
| 135 | actions={<RefreshSessionButton />} |
| 136 | > |
| 137 | Startup scripts have completed successfully. The workspace is ready but |
| 138 | this{" "} |
| 139 | <Link |
| 140 | title="session was started before the startup scripts finished" |
| 141 | href={docs( |
| 142 | "/admin/templates/troubleshooting#your-workspace-may-be-incomplete", |
| 143 | )} |
| 144 | target="_blank" |
| 145 | rel="noreferrer" |
| 146 | > |
| 147 | session was started before the startup script finished. |
| 148 | </Link>{" "} |
| 149 | To ensure your shell environment is up-to-date, we recommend reloading |
| 150 | this session. |
| 151 | </TerminalAlert> |
| 152 | ); |
| 153 | }; |
| 154 | |
| 155 | const severityBorderColors: Record<AlertColor, string> = { |
| 156 | info: "border-l-highlight-sky", |