Skip to content

feat: 拆分主题模板为独立仓库,完善功能开关系统#32

Merged
talen8 merged 4 commits into
mainfrom
feature/using-themes
Jun 27, 2026
Merged

feat: 拆分主题模板为独立仓库,完善功能开关系统#32
talen8 merged 4 commits into
mainfrom
feature/using-themes

Conversation

@talen8

@talen8 talen8 commented Jun 27, 2026

Copy link
Copy Markdown
Owner

功能说明

  • 将主题开发模板拆分为独立仓库,通过 submodule 挂载到 template/ 目录
  • 完善主题功能开关系统,管理端 UI 按特性显隐
  • Hub 文档站品牌更新与结构调整

变更文件

子模块

  • .gitmodules - 新增 submodule 配置
  • template/flec-theme-tmpl-nuxt - submodule 指针

管理端

  • admin/src/utils/visibility.ts - isFeatureEnabled 默认值改为 false
  • admin/src/views/rssfeed/RssFeedList.vue - 订阅按钮按特性开关显隐
  • admin/src/views/setting/Setting.vue - OAuth 配置页按特性开关显隐
  • admin/src/views/theme/components/ThemeInfo.vue - 功能列表改由 featureLabels 驱动
  • admin/src/views/theme/components/ThemeMenu.vue - 移除多余 v-if

文档站

  • hub/app/app.vue - FlecBlog → FlecHub 品牌更新
  • hub/app/components/AppHeader.vue - FlecBlog → FlecHub 品牌更新
  • hub/app/pages/changelog.vue - 日期格式化
  • hub/app/pages/themes.vue - 主题列表显示 slug
  • hub/content/ - 配置/指南文档结构调整

talen8 added 4 commits June 27, 2026 00:12
将主题开发模板拆分为独立仓库,通过 submodule 挂载到 template/ 目录。
- isFeatureEnabled 默认值 true → false
- RSS 订阅按钮、OAuth 配置页按特性开关显隐
- ThemeInfo 功能列表改由 featureLabels 驱动
- ThemeMenu 移除多余 v-if
- core-nuxt 升至 1.0.0,依赖同步更新
- FlecBlog → FlecHub 品牌更新
- changelog 日期格式化
- 主题列表显示 slug
- docs 配置/指南文档结构调整
@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Updated (UTC)
✅ Deployment successful!
View logs
flec-panel ef57d3c Jun 27 2026, 05:47 AM

@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying flechub with  Cloudflare Pages  Cloudflare Pages

Latest commit: ef57d3c
Status: ✅  Deploy successful!
Preview URL: https://70e15915.flechub.pages.dev
Branch Preview URL: https://feature-using-themes.flechub.pages.dev

View logs

@talen8 talen8 merged commit 783a3b4 into main Jun 27, 2026
10 of 11 checks passed
@talen8 talen8 deleted the feature/using-themes branch June 27, 2026 06:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant