halo/ui
Ryan Wang c4bd70f832 Refactor thumbnail size handling to use enum
Replaced string literals for thumbnail sizes with GetThumbnailByUriSizeEnum throughout the codebase for improved type safety and consistency. Updated generateThumbnailUrl to accept the enum and added a width map for local URLs. Improved attachment thumbnail display and link formatting.
2025-09-30 11:39:21 +08:00
..
.husky Fix the problem of being unable to commit (#5362) 2024-02-18 08:00:16 +00:00
.vscode chore: add prettier-plugin-organize-imports plugin to organize imports (#6836) 2024-10-12 07:05:09 +00:00
console-src Refactor thumbnail size handling to use enum 2025-09-30 11:39:21 +08:00
docs Comments now support rich text formatting display (#7674) 2025-08-12 06:26:47 +00:00
packages Refactor thumbnail size handling to use new enum 2025-09-29 23:39:07 +08:00
public Move folder console to ui 2024-02-02 22:22:51 +08:00
scripts feat: add i18n tooling scripts and refine translations (#7269) 2025-03-06 10:16:59 +00:00
src Refactor thumbnail size handling to use enum 2025-09-30 11:39:21 +08:00
uc-src Refactor thumbnail size handling to use enum 2025-09-30 11:39:21 +08:00
.editorconfig Move folder console to ui 2024-02-02 22:22:51 +08:00
.env.development chore: remove unnecessary env (#6022) 2024-05-30 08:31:16 +00:00
.env.production chore: remove unnecessary env (#6022) 2024-05-30 08:31:16 +00:00
.gitignore Move folder console to ui 2024-02-02 22:22:51 +08:00
.npmrc Move folder console to ui 2024-02-02 22:22:51 +08:00
.prettierignore chore: update prettier and simplify config (#7589) 2025-06-25 09:47:21 +00:00
Makefile Move folder console to ui 2024-02-02 22:22:51 +08:00
README.md chore: bump pnpm version to 10 (#7597) 2025-06-27 07:29:24 +00:00
build.gradle Refactor build tasks to improve UI distribution and cleanup processes (#7768) 2025-09-18 17:49:06 +08:00
env.d.ts Support async permission checks in route menu generator (#7688) 2025-08-17 15:43:10 +00:00
eslint.config.ts Ingore build directory while linting ui project (#7658) 2025-08-04 12:02:07 +08:00
index.html chore: update prettier and simplify config (#7589) 2025-06-25 09:47:21 +00:00
package.json Update ESLint command to suppress warnings for ignored files 2025-09-24 19:15:41 +08:00
pnpm-lock.yaml Remove vite-plugin-pwa from dev dependencies (#7762) 2025-09-21 21:32:27 +08:00
pnpm-workspace.yaml chore: update prettier and simplify config (#7589) 2025-06-25 09:47:21 +00:00
postcss.config.cjs chore: bump vite to 5.x (#5920) 2024-05-16 06:18:36 +00:00
tailwind.config.ts chore: bump tailwindcss version to 3.4 (#7604) 2025-06-29 02:25:27 +00:00
tsconfig.app.json chore: bump vue version to 3.5 (#6696) 2024-09-26 08:11:31 +00:00
tsconfig.json Move folder console to ui 2024-02-02 22:22:51 +08:00
tsconfig.node.json chore: bump tailwindcss version to 3.4 (#7604) 2025-06-29 02:25:27 +00:00
tsconfig.vitest.json Move folder console to ui 2024-02-02 22:22:51 +08:00
vite.config.ts chore: organize and fix imports (#6152) 2024-06-26 10:42:50 +00:00
vite.uc.config.ts chore: organize and fix imports (#6152) 2024-06-26 10:42:50 +00:00
vitest.config.ts chore: use rolldown-vite (#7489) 2025-06-19 16:31:11 +00:00

README.md

README

Halo logo

Halo 2.0 的管理端项目(原 halo-admin

GitHub release GitHub GitHub last commit GitHub Workflow Status Gitpod ready-to-code


当前仓库已经将 halo-admin 改为了 console。但对于 Halo 1.x 版本,依旧保持 halo-admin 的概念。

开发环境运行

npm install -g pnpm@10
pnpm install
pnpm build:packages
pnpm dev

生产构建

pnpm build

状态

Repobeats analytics