-
-
Notifications
You must be signed in to change notification settings - Fork 9.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
附件管理支持排序筛选 #2627
Comments
@ruibaby: GitHub didn't allow me to assign the following users: john. Note that only halo-dev members, repo collaborators and people who have commented on this issue/PR can be assigned. Additionally, issues/PRs can only have 10 assignees at the same time. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/assign @JohnNiang |
#### What type of PR is this? /kind feature /area core /milestone 2.0 #### What this PR does / why we need it: Provide sort query param for sorting attachment. By default, we use creationTimestamp(desc) to sort the attachments. Below is an example to sort with creationTimestamp(desc) and size(asc): ```bash curl -X 'GET' \ 'http://localhost:8090/apis/api.console.halo.run/v1alpha1/attachments?sort=creationTimestamp%2Cdesc&sort=size%2Casc' \ -H 'accept: */*' ``` #### Which issue(s) this PR fixes: Fixes #2627 #### Does this PR introduce a user-facing change? ```release-note 附件列表支持排序 ```
#### What type of PR is this? /kind feature /milestone 2.0 #### What this PR does / why we need it: 附件管理支持排序筛选,适配:halo-dev/halo#2705 #### Which issue(s) this PR fixes: Fixes halo-dev/halo#2627 #### Special notes for your reviewer: /cc @halo-dev/sig-halo-console 测试方式: 1. Halo 需要切换到 halo-dev/halo#2705 分支。 2. Console 需要 `pnpm install` 3. 上传若干附件,检查排序筛选之后的结果是否符合预期。 #### Does this PR introduce a user-facing change? ```release-note 附件管理支持排序筛选 ```
#### What type of PR is this? /kind feature /milestone 2.0 #### What this PR does / why we need it: 附件管理支持排序筛选,适配:halo-dev#2705 #### Which issue(s) this PR fixes: Fixes halo-dev#2627 #### Special notes for your reviewer: /cc @halo-dev/sig-halo-console 测试方式: 1. Halo 需要切换到 halo-dev#2705 分支。 2. Console 需要 `pnpm install` 3. 上传若干附件,检查排序筛选之后的结果是否符合预期。 #### Does this PR introduce a user-facing change? ```release-note 附件管理支持排序筛选 ```
你当前使用的版本
2.0.0-alpha.2
描述一下此特性
目前在 Console 端的附件管理未支持排序筛选。期望支持。
/kind feature
/area core
/area console
/assign
/assign @JohnNiang
附加信息
No response
The text was updated successfully, but these errors were encountered: