Desktop: account and studio secondary actions move to ... menus; one Import apps button on the home; App folders header keeps one primary action

This commit is contained in:
CRTkafa 2026-10-23 09:26:02 +08:00
parent 7c18b3f7dd
commit 43e394ef7d
3 changed files with 16 additions and 13 deletions

View file

@ -85,9 +85,7 @@ export function AppFolders() {
return (
<div className="page scr-folders">
<PageHeader icon="folder" eyebrow={t('v2cfg.workspace')} title={t('nav.apps')} subtitle={t('folders.lead')} actions={<><button className="btn" onClick={fastlane} disabled={!!busy} title={t('folders.fastlaneHint')}><Icon name="download" />{t('folders.fastlane')}</button>
<button className="btn" onClick={init} disabled={!!busy}><Icon name="sparkle" />{t('folders.startShort')}</button>
<button className="btn btn-primary" onClick={add} disabled={!!busy}><Icon name="folderPlus" />{t('action.addFolder')}</button></>} />
<PageHeader icon="folder" eyebrow={t('v2cfg.workspace')} title={t('nav.apps')} subtitle={t('folders.lead')} actions={<button className="btn btn-primary" onClick={add} disabled={!!busy}><Icon name="folderPlus" />{t('action.addFolder')}</button>} />
{error && <Notice tone="bad">{error}</Notice>}
{!d.projects.length ? (