MCPcopy Index your code
hub / github.com/coder/coder / LoadedScriptsAlert

Function LoadedScriptsAlert

site/src/modules/terminal/WorkspaceTerminalAlerts.tsx:130–153  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

128};
129
130const 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
155const severityBorderColors: Record<AlertColor, string> = {
156 info: "border-l-highlight-sky",

Callers

nothing calls this directly

Calls 1

docsFunction · 0.90

Tested by

no test coverage detected