feat(web): add guided page tours and tighten shell chrome.
Ship first-visit Ant tours for core menus with replay help, role-list search for large orgs, and fixed 32px workspace tabs. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -2,7 +2,6 @@ import { inject, provide, ref, type InjectionKey, type Ref } from 'vue';
|
||||
|
||||
export type TreasuryChromeOverride = {
|
||||
title: string | null;
|
||||
description: string | null;
|
||||
};
|
||||
|
||||
type TreasuryChromeApi = {
|
||||
@@ -14,14 +13,14 @@ type TreasuryChromeApi = {
|
||||
const KEY: InjectionKey<TreasuryChromeApi> = Symbol('treasuryPageChrome');
|
||||
|
||||
export function provideTreasuryPageChrome(): TreasuryChromeApi {
|
||||
const override = ref<TreasuryChromeOverride>({ title: null, description: null });
|
||||
const override = ref<TreasuryChromeOverride>({ title: null });
|
||||
const api: TreasuryChromeApi = {
|
||||
override,
|
||||
set(next) {
|
||||
override.value = next;
|
||||
},
|
||||
clear() {
|
||||
override.value = { title: null, description: null };
|
||||
override.value = { title: null };
|
||||
},
|
||||
};
|
||||
provide(KEY, api);
|
||||
|
||||
Reference in New Issue
Block a user