feat(webui): invite returning users to star nanobot (#5895)
* feat(webui): invite returning users to star nanobot * fix(webui): place About Star link in settings list * fix(webui): use neutral About repository label * fix(webui): add localized Star link to About footer * fix(webui): align Star invitation with existing dialog styling * fix(webui): shorten and localize Star invitation copy * fix(webui): skip Star invitation after user interaction * fix(webui): align Star invitation meaning across locales * fix(webui): clarify Star reminder dismissal errors
This commit is contained in:
1 parent
09b2ae9a31
commit
d898998c47
21 files changed
+567
-3
No files matched your search
@@ -1311,3 +1311,10 @@ export async function updateRuntimeConfigSettings(
|
||||
): Promise<SettingsPayload> {
|
||||
return mutation<SettingsPayload>(transport, "settings.runtime_config.update", { values });
|
||||
}
|
||||
|
||||
export function starPromptAction(
|
||||
transport: WebUIMutationTransport,
|
||||
action: "claim" | "dismiss",
|
||||
): Promise<{ show: boolean }> {
|
||||
return mutation<{ show: boolean }>(transport, `star_prompt.${action}`);
|
||||
}
|
||||
Reference in new issue
Block a user