halo/console
Ryan Wang 34d0f9369b
refactor: add legacy option for useClipboard hook to solve compatibility issues (#4114)
#### What type of PR is this?

/kind improvement
/area console
/milestone 2.7.x

#### What this PR does / why we need it:

Console 端部分使用了复制功能的页面,所使用的 useClipboard hook 添加 legacy 参数以解决部分浏览器的兼容问题。

#### Which issue(s) this PR fixes:

Fixes #4113 

#### Special notes for your reviewer:

1. 使用路由地址(192.168.x.x)访问 Halo。
2. 测试附件详情弹框的链接复制和概览页面中的复制功能是否正常。

#### Does this PR introduce a user-facing change?

```release-note
优化 Console 端部分页面复制功能的兼容性问题。
```
2023-06-26 13:28:08 +00:00
..
.changeset Move root to console 2023-03-02 15:49:22 +08:00
.husky Refactor workflow for new console project (#3445) 2023-03-02 18:07:23 +08:00
.vscode Move root to console 2023-03-02 15:49:22 +08:00
cypress Move root to console 2023-03-02 15:49:22 +08:00
docs feat: make comment subject ref provider extensible (#4039) 2023-06-26 04:20:18 +00:00
packages fix: dropdown options cannot be clicked in some mobile devices (#4116) 2023-06-26 13:21:57 +00:00
public Move root to console 2023-03-02 15:49:22 +08:00
src refactor: add legacy option for useClipboard hook to solve compatibility issues (#4114) 2023-06-26 13:28:08 +00:00
.editorconfig Move root to console 2023-03-02 15:49:22 +08:00
.env.development Configure default external-url as slash (#3655) 2023-04-03 03:50:13 +00:00
.env.production Move root to console 2023-03-02 15:49:22 +08:00
.eslintrc.cjs chore: improve the console project infrastructure (#4105) 2023-06-26 03:54:17 +00:00
.gitignore Refactor workflow for new console project (#3445) 2023-03-02 18:07:23 +08:00
.gitpod.yml Move root to console 2023-03-02 15:49:22 +08:00
.npmignore Move root to console 2023-03-02 15:49:22 +08:00
.npmrc Move root to console 2023-03-02 15:49:22 +08:00
.prettierignore feat: add i18n supports for console (#3506) 2023-03-23 08:54:33 +00:00
Makefile Support publishing to maven central repository (#3767) 2023-04-18 14:28:23 +08:00
OWNERS Refactor workflow for new console project (#3445) 2023-03-02 18:07:23 +08:00
README.md chore: bump pnpm version to 8 (#3935) 2023-05-11 08:50:21 +00:00
cypress.json Move root to console 2023-03-02 15:49:22 +08:00
env.d.ts chore: improve the console project infrastructure (#4105) 2023-06-26 03:54:17 +00:00
index.html perf: remove html lang attribute in console (#4085) 2023-06-19 01:30:10 +00:00
package.json chore: improve the console project infrastructure (#4105) 2023-06-26 03:54:17 +00:00
pnpm-lock.yaml chore: improve the console project infrastructure (#4105) 2023-06-26 03:54:17 +00:00
pnpm-workspace.yaml Move root to console 2023-03-02 15:49:22 +08:00
postcss.config.js fix: modal height issue in ios devices (#4106) 2023-06-25 02:06:14 +00:00
prettier.config.js Move root to console 2023-03-02 15:49:22 +08:00
tailwind.config.js Move root to console 2023-03-02 15:49:22 +08:00
tsconfig.app.json chore: improve the console project infrastructure (#4105) 2023-06-26 03:54:17 +00:00
tsconfig.json chore: improve the console project infrastructure (#4105) 2023-06-26 03:54:17 +00:00
tsconfig.node.json chore: improve the console project infrastructure (#4105) 2023-06-26 03:54:17 +00:00
tsconfig.vitest.json Move root to console 2023-03-02 15:49:22 +08:00
vite.config.ts fix: output dir of console (#3591) 2023-03-27 08:34:11 +00:00
vitest.config.ts Move root to console 2023-03-02 15:49:22 +08: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@8
pnpm install 
pnpm build:packages
pnpm dev

生产构建

pnpm build

状态

Repobeats analytics