feat: move brand name to one config and redesign the accounting card
اپ: نام برند در همهی صفحهها و پیامها یکسان شده و از یک تنظیم مرکزی خوانده میشود. اپ: کارت حسابداری در صفحهی مشتری بازطراحی شد؛ ماندهها و وضعیت لینک واضحتر نمایش داده میشوند. پنل: کارت حسابداری در پروندهی مشتری بازطراحی شد؛ ماندهها، آخرین ارسال و فرم لینک دستی واضحتر شدهاند. پنل: ستون «کد» در جدولها بهطور پیشفرض پنهان است و از انتخاب ستونها قابل نمایش است. پنل: تغییر نمایش ستونها در جدولها بلافاصله اعمال میشود. Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Haiku 5.5
parent
5d2a1efb0c
commit
532ceee189
@@ -2,6 +2,7 @@ import { fileURLToPath, URL } from 'node:url';
|
||||
import { defineConfig, loadEnv } from 'vite';
|
||||
import vue from '@vitejs/plugin-vue';
|
||||
import { appVersion } from '../../scripts/app-version.mjs';
|
||||
import { brand } from '../../brand';
|
||||
|
||||
// Ported from legacy henza_admin/vue.config.js.
|
||||
// The legacy build switched publicPath/outputDir on NODE_ENV=='branch'; in Vite the
|
||||
@@ -25,7 +26,12 @@ export default defineConfig(({ mode }) => {
|
||||
// Branch mode still mounts under `/branch/` when that mode is used.
|
||||
base: isBranch ? '/branch/' : '/',
|
||||
// Build number + «what changed» notes → version.json (scripts/app-version.mjs).
|
||||
plugins: [vue(), appVersion('admin-panel')],
|
||||
plugins: [
|
||||
vue(),
|
||||
appVersion('admin-panel'),
|
||||
// <title> comes from the repo-root brand.ts, like every other brand text.
|
||||
{ name: 'brand-title', transformIndexHtml: (html: string) => html.replace('%BRAND_TITLE%', brand.adminTitle) },
|
||||
],
|
||||
resolve: {
|
||||
alias: {
|
||||
'@': fileURLToPath(new URL('./src', import.meta.url)),
|
||||
|
||||
Reference in New Issue
Block a user