Go to file
Ryan Wang 960e727f87
refactor: use tanstack query to refactor singlePage-related fetching (#886)
#### What type of PR is this?

/kind improvement

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

使用 [TanStack Query](https://github.com/TanStack/query) 重构页面相关数据请求的相关逻辑。

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

Ref https://github.com/halo-dev/halo/issues/3360

#### Special notes for your reviewer:

测试方式:

1. 测试页面管理列表的数据请求 + 条件筛选无异常即可。

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

```release-note
None
```
2023-02-24 09:58:21 +00:00
.changeset
.github
.husky chore: use lint-staged to improve dx (#768) 2022-12-13 15:38:48 +00:00
.vscode
cypress
docs feat: add full-functional post category select component for formkit (#818) 2023-01-16 08:02:13 +00:00
packages refactor: support configuring plugin when the plugin is stopped (#875) 2023-02-24 09:52:25 +00:00
public feat: add support for setting console's favicon (#788) 2022-12-22 07:58:31 +00:00
src refactor: use tanstack query to refactor singlePage-related fetching (#886) 2023-02-24 09:58:21 +00:00
.dockerignore
.editorconfig
.env.development
.env.production
.eslintrc.cjs
.gitignore
.gitpod.yml
.npmignore
.npmrc chore: bump @halo-dev/richtext-editor to supports more feature about media (#834) 2023-01-31 14:10:09 +00:00
.prettierignore chore: use lint-staged to improve dx (#768) 2022-12-13 15:38:48 +00:00
Dockerfile
LICENSE
Makefile
OWNERS chore: add @LIlGG to reviewers list (#850) 2023-02-13 03:48:18 +00:00
README.md docs: update github workflow badge (#775) 2022-12-16 02:54:11 +00:00
cypress.json
env.d.ts
index.html feat: add support for setting console's favicon (#788) 2022-12-22 07:58:31 +00:00
package.json refactor: use tanstack query to refactor plugins fetching (#876) 2023-02-22 08:00:12 +00:00
pnpm-lock.yaml refactor: use tanstack query to refactor plugins fetching (#876) 2023-02-22 08:00:12 +00:00
pnpm-workspace.yaml
postcss.config.js
prettier.config.js
tailwind.config.js
tsconfig.app.json
tsconfig.json
tsconfig.vite-config.json
tsconfig.vitest.json
vite.config.ts
vitest.config.ts

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 的概念。

开发环境运行

# pnpm@7.0.0+
npm install -g pnpm
pnpm install 
pnpm build:packages
pnpm dev

生产构建

pnpm build

状态

Repobeats analytics