MCPcopy Index your code
hub / github.com/Exafunction/codeium-chrome / loggedIn

Function loggedIn

src/shared.ts:28–43  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

26}
27
28export async function loggedIn(): Promise<void> {
29 await Promise.all([
30 chrome.action.setPopup({ popup: 'logged_in_popup.html' }),
31 chrome.action.setBadgeText({ text: '' }),
32 chrome.action.setIcon({
33 path: {
34 16: '/icons/16/codeium_square_logo.png',
35 32: '/icons/32/codeium_square_logo.png',
36 48: '/icons/48/codeium_square_logo.png',
37 128: '/icons/128/codeium_square_logo.png',
38 },
39 }),
40 chrome.action.setTitle({ title: 'Codeium' }),
41 clearLastError(),
42 ]);
43}
44
45export async function unhealthy(message: string): Promise<void> {
46 // We don't set the badge text on purpose.

Callers 2

serviceWorker.tsFile · 0.90
loginFunction · 0.90

Calls 1

clearLastErrorFunction · 0.85

Tested by

no test coverage detected