fix(web/claw): trim the identity editor and show the logo on About
android / debug (push) Successful in 2m22s
android / release (push) Successful in 2m7s
ci / checks (push) Successful in 3m48s
ci / test (push) Successful in 2m9s
ci / chart (push) Successful in 7s
ci / docker (push) Successful in 1m51s
ci / web (push) Successful in 18s
ci / publish-edge-images (deploy/docker/claw.Dockerfile, rhema-claw) (push) Successful in 2m5s
ci / publish-edge-images (deploy/docker/ui.Dockerfile, rhema-claw-ui) (push) Successful in 15s
ci / publish-edge-chart (push) Successful in 5s
android / debug (push) Successful in 2m22s
android / release (push) Successful in 2m7s
ci / checks (push) Successful in 3m48s
ci / test (push) Successful in 2m9s
ci / chart (push) Successful in 7s
ci / docker (push) Successful in 1m51s
ci / web (push) Successful in 18s
ci / publish-edge-images (deploy/docker/claw.Dockerfile, rhema-claw) (push) Successful in 2m5s
ci / publish-edge-images (deploy/docker/ui.Dockerfile, rhema-claw-ui) (push) Successful in 15s
ci / publish-edge-chart (push) Successful in 5s
The General page exposed Mark, Initials, and Tagline even though the new shell renders none of them, and a callout explained an identity split that no longer needed saying. The About identity block still drew a green tile with an R. General now edits name, email, and sign-off only. Its save payload omits the retired fields, so values already stored stay untouched. AgentAvatar keeps just the avatar image and the name's initial; the sidebar tooltip now carries the display name. About renders the uploaded logo, or the Rhema mark when none is set. README follows. nuxt typecheck and build pass; General and About checked in light and dark.
This commit is contained in:
1 parent
d17d8e2973
commit
debc21a89f
7 files changed
+47
-108
No files matched your search
@@ -1,34 +1,23 @@
|
||||
<script setup lang="ts">
|
||||
// The agent's face at one size. Two voices: `initials` (the chat rows
|
||||
// and the sidebar's account row: the avatar image when there is one,
|
||||
// the initials when not) and `mark` (the logo slot: the avatar image
|
||||
// when there is one, the mark or emoji, ῥ by default). The precedence
|
||||
// lives here and nowhere else.
|
||||
// The agent's face at one size: the uploaded avatar when there is one,
|
||||
// the name's initial when not. The precedence lives here and nowhere
|
||||
// else.
|
||||
const props = withDefaults(
|
||||
defineProps<{
|
||||
variant?: 'initials' | 'mark'
|
||||
/** The uploaded avatar's object URL, when the claw has one. */
|
||||
avatarUrl?: string | null
|
||||
/** The glyph or emoji; the mark voice defaults to ῥ. */
|
||||
mark?: string | null
|
||||
/** The initials voice's fallback, first letter of the name or R. */
|
||||
/** The fallback, first letter of the name or R. */
|
||||
initials?: string | null
|
||||
size?: number
|
||||
}>(),
|
||||
{
|
||||
variant: 'initials',
|
||||
avatarUrl: null,
|
||||
mark: null,
|
||||
initials: null,
|
||||
size: 32,
|
||||
},
|
||||
)
|
||||
|
||||
const glyph = computed(() =>
|
||||
props.variant === 'mark'
|
||||
? props.mark?.trim() || 'ῥ'
|
||||
: props.initials?.trim() || 'R',
|
||||
)
|
||||
const glyph = computed(() => props.initials?.trim() || 'R')
|
||||
</script>
|
||||
|
||||
<template>
|
||||
|
||||
Reference in new issue
Block a user