feat(admin-ui): catalog refresh + token migration (Stage 3.2)
This commit is contained in:
@@ -70,7 +70,7 @@ function SearchPage() {
|
||||
</form>
|
||||
|
||||
{tooShort && (
|
||||
<p className="text-2xs text-carbon/60">{t('search.tooShort')}</p>
|
||||
<p className="text-2xs text-mute">{t('search.tooShort')}</p>
|
||||
)}
|
||||
|
||||
{hasQuery && result.isLoading && (
|
||||
@@ -89,7 +89,7 @@ function SearchPage() {
|
||||
|
||||
{hasQuery && result.data && result.data.total > 0 && (
|
||||
<>
|
||||
<p className="text-2xs text-carbon/60">
|
||||
<p className="text-2xs text-mute">
|
||||
{t('search.totalHits', { count: result.data.total })}
|
||||
</p>
|
||||
<div className="space-y-3">
|
||||
@@ -100,7 +100,7 @@ function SearchPage() {
|
||||
to="/dictionaries/$name"
|
||||
params={{ name: g.dictName }}
|
||||
search={{ q: urlSearch.q }}
|
||||
className="text-sm font-primary text-ultramarain hover:underline"
|
||||
className="text-sm font-sans text-accent hover:underline"
|
||||
>
|
||||
{g.dictDisplayName ?? g.dictName}
|
||||
</Link>
|
||||
@@ -116,13 +116,13 @@ function SearchPage() {
|
||||
to="/dictionaries/$name"
|
||||
params={{ name: g.dictName }}
|
||||
search={{ q: it.businessKey }}
|
||||
className="font-mono text-ultramarain hover:underline truncate"
|
||||
className="font-mono text-accent hover:underline truncate"
|
||||
>
|
||||
{it.businessKey}
|
||||
</Link>
|
||||
<div className="flex items-center gap-2 shrink-0">
|
||||
<Badge variant="neutral">{it.dataScope}</Badge>
|
||||
<span className="text-carbon/60">
|
||||
<span className="text-mute">
|
||||
{new Date(it.createdAt).toLocaleString()}
|
||||
</span>
|
||||
</div>
|
||||
@@ -136,7 +136,7 @@ function SearchPage() {
|
||||
)}
|
||||
|
||||
{!hasQuery && !tooShort && (
|
||||
<p className="text-2xs text-carbon/60">{t('search.intro')}</p>
|
||||
<p className="text-2xs text-mute">{t('search.intro')}</p>
|
||||
)}
|
||||
</div>
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user