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';
|
||||
import { VitePWA } from 'vite-plugin-pwa';
|
||||
import { $themeLessVars } from './themeConfig/themeConfig';
|
||||
import { lessAlphaPlugin, lightHex, palettePlugin } from './themeConfig/appearance';
|
||||
@@ -18,6 +19,8 @@ export default defineConfig({
|
||||
plugins: [
|
||||
// Build number + «what changed» notes → version.json (scripts/app-version.mjs).
|
||||
appVersion('user-app'),
|
||||
// <title> comes from the repo-root brand.ts, like every other brand text.
|
||||
{ name: 'brand-title', transformIndexHtml: (html: string) => html.replace('%BRAND_TITLE%', brand.appTitle) },
|
||||
vue(),
|
||||
// virtual:palette.css — the light/dark values behind the theme tokens.
|
||||
palettePlugin(),
|
||||
@@ -32,9 +35,9 @@ export default defineConfig({
|
||||
// legacy ran the SW in dev too (mode: "development")
|
||||
devOptions: { enabled: true, type: 'module' },
|
||||
manifest: {
|
||||
name: 'Montzar',
|
||||
short_name: 'Montzar',
|
||||
description: 'Montzar',
|
||||
name: brand.appTitle,
|
||||
short_name: brand.nameEn,
|
||||
description: brand.appTitle,
|
||||
theme_color: lightHex.primary,
|
||||
background_color: lightHex.primary,
|
||||
start_url: '/',
|
||||
|
||||
Reference in New Issue
Block a user