From f82b02121eb6a80246db9cc466144211087032d4 Mon Sep 17 00:00:00 2001 From: shy3130 Date: Fri, 19 Jun 2026 21:17:34 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E9=A1=B9=E7=9B=AE=E6=9B=B4=E5=90=8D?= =?UTF-8?q?=20tickflow-stock-panel=20+=20=E8=8F=9C=E5=8D=95logo=E4=B8=A4?= =?UTF-8?q?=E8=A1=8C=E6=98=BE=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- LICENSE | 2 +- README.md | 4 ++-- backend/app/__init__.py | 2 +- backend/app/main.py | 4 ++-- backend/pyproject.toml | 4 ++-- backend/uv.lock | 2 +- dev.ps1 | 4 ++-- dev.sh | 4 ++-- docker-compose.yml | 2 +- frontend/index.html | 2 +- frontend/package.json | 4 ++-- frontend/src/components/Layout.tsx | 5 +++-- frontend/src/components/Logo.tsx | 2 +- frontend/src/pages/Branding.tsx | 12 ++++++------ frontend/src/pages/Onboarding.tsx | 4 ++-- tiers.yaml | 2 +- 16 files changed, 30 insertions(+), 29 deletions(-) diff --git a/LICENSE b/LICENSE index 650433d..6d33010 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ MIT License -Copyright (c) 2026 tf-stock-panel contributors +Copyright (c) 2026 tickflow-stock-panel contributors Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/README.md b/README.md index 001c5c7..f1d1971 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@
-# 📈 TF-Stock-Panel +# 📈 TickFlow Stock Panel **自托管、零运维的 A 股「选股 + 监控 + 回测」量化工作台** @@ -305,6 +305,6 @@ cd ../frontend && pnpm install && pnpm dev ## 📄 License -[MIT](./LICENSE) © tf-stock-panel contributors +[MIT](./LICENSE) © tickflow-stock-panel contributors 本项目依赖 [TickFlow](https://tickflow.org/auth/register?ref=V3KDKGXPEA) 提供数据服务,使用前请遵守其服务条款。 diff --git a/backend/app/__init__.py b/backend/app/__init__.py index 64868bb..688ef21 100644 --- a/backend/app/__init__.py +++ b/backend/app/__init__.py @@ -1,3 +1,3 @@ -"""TF-Stock-Panel backend.""" +"""TickFlow Stock Panel backend.""" __version__ = "0.1.0" diff --git a/backend/app/main.py b/backend/app/main.py index 74cf75c..0c6590f 100644 --- a/backend/app/main.py +++ b/backend/app/main.py @@ -29,7 +29,7 @@ logger = logging.getLogger(__name__) @asynccontextmanager async def lifespan(app: FastAPI): logger.info( - "TF-Stock-Panel v%s starting (mode=%s)", + "TickFlow Stock Panel v%s starting (mode=%s)", __version__, "free" if settings.use_free_mode else "api_key", ) @@ -133,7 +133,7 @@ async def lifespan(app: FastAPI): app = FastAPI( - title="TF-Stock-Panel", + title="TickFlow Stock Panel", version=__version__, description="A 股选股 + 回测面板 — TickFlow 适配", lifespan=lifespan, diff --git a/backend/pyproject.toml b/backend/pyproject.toml index a313a02..ef0c77d 100644 --- a/backend/pyproject.toml +++ b/backend/pyproject.toml @@ -1,6 +1,6 @@ [project] -name = "tf-stock-panel-backend" -version = "0.1.24" +name = "tickflow-stock-panel-backend" +version = "0.1.26" description = "A 股选股 + 监控 + 回测面板 — TickFlow 适配" readme = "../README.md" requires-python = ">=3.11" diff --git a/backend/uv.lock b/backend/uv.lock index e1cc2fc..89696cd 100644 --- a/backend/uv.lock +++ b/backend/uv.lock @@ -2205,7 +2205,7 @@ wheels = [ ] [[package]] -name = "tf-stock-panel-backend" +name = "tickflow-stock-panel-backend" version = "0.1.0" source = { editable = "." } dependencies = [ diff --git a/dev.ps1 b/dev.ps1 index f474e93..d9ca3be 100644 --- a/dev.ps1 +++ b/dev.ps1 @@ -1,4 +1,4 @@ -# tf-stock-panel - one-shot launcher for backend + frontend (Windows / PowerShell) +# tickflow-stock-panel - one-shot launcher for backend + frontend (Windows / PowerShell) # # Usage: # .\dev.ps1 @@ -128,7 +128,7 @@ if (-not (Test-Path (Join-Path $FrontendDir 'node_modules'))) { # ===== 4. Banner (ASCII so it renders on any codepage) ===== Write-Host '' Write-Host '+----------------------------------------------+' -ForegroundColor Blue -Write-Host '| tf-stock-panel |' -ForegroundColor Blue +Write-Host '| tickflow-stock-panel |' -ForegroundColor Blue Write-Host '| |' -ForegroundColor Blue Write-Host "| backend http://localhost:$BackendPort" -ForegroundColor Blue Write-Host "| frontend http://localhost:$FrontendPort" -ForegroundColor Blue diff --git a/dev.sh b/dev.sh index cd2765b..987a86e 100755 --- a/dev.sh +++ b/dev.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -# tf-stock-panel — 一键启动前后端 +# tickflow-stock-panel — 一键启动前后端 # # 用法: # ./dev.sh # 默认 backend:3018 frontend:3011 @@ -109,7 +109,7 @@ prefix_awk() { echo echo -e "${BLUE}╭──────────────────────────────────────────────╮${NC}" -echo -e "${BLUE}│${NC} ${GREEN}tf-stock-panel${NC} ${BLUE}│${NC}" +echo -e "${BLUE}│${NC} ${GREEN}tickflow-stock-panel${NC} ${BLUE}│${NC}" echo -e "${BLUE}│${NC} ${BLUE}│${NC}" echo -e "${BLUE}│${NC} backend ${YELLOW}http://localhost:$BACKEND_PORT${NC} ${BLUE}│${NC}" echo -e "${BLUE}│${NC} frontend ${YELLOW}http://localhost:$FRONTEND_PORT${NC} ${BLUE}│${NC}" diff --git a/docker-compose.yml b/docker-compose.yml index f7a1829..bb18856 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -5,7 +5,7 @@ services: build: context: . dockerfile: Dockerfile - container_name: TF-Stock-Panel + container_name: TickFlow Stock Panel ports: - "${PORT:-3018}:3018" env_file: diff --git a/frontend/index.html b/frontend/index.html index b9ab924..7f38b92 100644 --- a/frontend/index.html +++ b/frontend/index.html @@ -5,7 +5,7 @@ - TF-Stock-Panel · Quant Terminal + TickFlow Stock Panel · Quant Terminal diff --git a/frontend/package.json b/frontend/package.json index a95d7aa..0e7b2d7 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -1,7 +1,7 @@ { - "name": "tf-stock-panel-frontend", + "name": "tickflow-stock-panel-frontend", "private": true, - "version": "0.1.24", + "version": "0.1.26", "type": "module", "scripts": { "dev": "vite", diff --git a/frontend/src/components/Layout.tsx b/frontend/src/components/Layout.tsx index 5048dc2..ae95d7f 100644 --- a/frontend/src/components/Layout.tsx +++ b/frontend/src/components/Layout.tsx @@ -303,10 +303,11 @@ export function Layout() { style={{ color: BRAND }} />
- TF-Stock-Panel +
TickFlow
+
Stock Panel
diff --git a/frontend/src/components/Logo.tsx b/frontend/src/components/Logo.tsx index 268e42b..a39e266 100644 --- a/frontend/src/components/Logo.tsx +++ b/frontend/src/components/Logo.tsx @@ -22,7 +22,7 @@ export function Logo({ className, size = 32, style }: LogoProps) { className={className} style={style} role="img" - aria-label="TF-Stock-Panel" + aria-label="TickFlow Stock Panel" > {/* 左方括号 */}
diff --git a/frontend/src/pages/Onboarding.tsx b/frontend/src/pages/Onboarding.tsx index 29d0a62..91e79a9 100644 --- a/frontend/src/pages/Onboarding.tsx +++ b/frontend/src/pages/Onboarding.tsx @@ -65,7 +65,7 @@ export function Onboarding() {
- TF-Stock-Panel + TickFlow Stock Panel
{STEPS.map((label, i) => ( @@ -117,7 +117,7 @@ function WelcomeStep({ onNext, onSkip }: { onNext: () => void; onSkip: () => voi
-

欢迎使用 TF-Stock-Panel

+

欢迎使用 TickFlow Stock Panel

一个本地化的 A 股量化分析面板 —— 行情、选股、回测、财务一体化。 花一分钟配置,即可开始使用。 diff --git a/tiers.yaml b/tiers.yaml index b2a0953..1f543d7 100644 --- a/tiers.yaml +++ b/tiers.yaml @@ -1,4 +1,4 @@ -# tf-stock-panel —— TickFlow 推荐套餐能力对照表(§5.2) +# tickflow-stock-panel —— TickFlow 推荐套餐能力对照表(§5.2) # # 仅用途: # 1. 启动期能力探测决定试探顺序