Skip to content

Commit

Permalink
feat: refine notifications-related ui (#4638)
Browse files Browse the repository at this point in the history
#### What type of PR is this?

/area console
/kind feature
/milestone 2.10.x

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

完善通知功能相关的 UI 功能。

配置:

![image](https://github.com/halo-dev/halo/assets/21301288/ed9695c0-ed68-4558-bf7c-35209573ed23)

仪表盘消息组件:

<img width="1663" alt="image" src="https://github.com/halo-dev/halo/assets/21301288/dbabb92e-72e4-48be-bdb0-ce379e808368">

独立的消息页面:

<img width="1920" alt="image" src="https://github.com/halo-dev/halo/assets/21301288/bfa6698e-e489-4baa-83e9-4ad3c3e6ef66">

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

Fixes #

#### Special notes for your reviewer:

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

```release-note
None 
```
  • Loading branch information
ruibaby authored Sep 28, 2023
1 parent 37ddccc commit 3edf863
Show file tree
Hide file tree
Showing 59 changed files with 9,432 additions and 2 deletions.
1 change: 1 addition & 0 deletions console/.eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ module.exports = {
rules: {
"vue/multi-word-component-names": 0,
"@typescript-eslint/ban-ts-comment": 0,
"vue/no-v-html": 0,
},
overrides: [
{
Expand Down
38 changes: 38 additions & 0 deletions console/packages/api-client/src/.openapi-generator/FILES
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ api/api-console-halo-run-v1alpha1-attachment-api.ts
api/api-console-halo-run-v1alpha1-auth-provider-api.ts
api/api-console-halo-run-v1alpha1-comment-api.ts
api/api-console-halo-run-v1alpha1-indices-api.ts
api/api-console-halo-run-v1alpha1-notifier-api.ts
api/api-console-halo-run-v1alpha1-plugin-api.ts
api/api-console-halo-run-v1alpha1-post-api.ts
api/api-console-halo-run-v1alpha1-reply-api.ts
Expand All @@ -24,6 +25,9 @@ api/api-halo-run-v1alpha1-post-api.ts
api/api-halo-run-v1alpha1-stats-api.ts
api/api-halo-run-v1alpha1-tracker-api.ts
api/api-halo-run-v1alpha1-user-api.ts
api/api-notification-halo-run-v1alpha1-notification-api.ts
api/api-notification-halo-run-v1alpha1-notifier-api.ts
api/api-notification-halo-run-v1alpha1-subscription-api.ts
api/api-plugin-halo-run-v1alpha1-plugin-api.ts
api/api-security-halo-run-v1alpha1-personal-access-token-api.ts
api/auth-halo-run-v1alpha1-auth-provider-api.ts
Expand All @@ -38,6 +42,12 @@ api/content-halo-run-v1alpha1-tag-api.ts
api/login-api.ts
api/metrics-halo-run-v1alpha1-counter-api.ts
api/migration-halo-run-v1alpha1-backup-api.ts
api/notification-halo-run-v1alpha1-notification-api.ts
api/notification-halo-run-v1alpha1-notification-template-api.ts
api/notification-halo-run-v1alpha1-notifier-descriptor-api.ts
api/notification-halo-run-v1alpha1-reason-api.ts
api/notification-halo-run-v1alpha1-reason-type-api.ts
api/notification-halo-run-v1alpha1-subscription-api.ts
api/plugin-halo-run-v1alpha1-extension-definition-api.ts
api/plugin-halo-run-v1alpha1-extension-point-definition-api.ts
api/plugin-halo-run-v1alpha1-plugin-api.ts
Expand Down Expand Up @@ -130,6 +140,8 @@ models/group-status.ts
models/group.ts
models/index.ts
models/install-from-uri-request.ts
models/interest-reason-subject.ts
models/interest-reason.ts
models/license.ts
models/listed-auth-provider.ts
models/listed-comment-list.ts
Expand All @@ -146,6 +158,7 @@ models/listed-single-page-vo.ts
models/listed-single-page.ts
models/listed-user.ts
models/login-history.ts
models/mark-specified-request.ts
models/menu-item-list.ts
models/menu-item-spec.ts
models/menu-item-status.ts
Expand All @@ -157,6 +170,16 @@ models/menu-vo.ts
models/menu.ts
models/metadata.ts
models/navigation-post-vo.ts
models/notification-list.ts
models/notification-spec.ts
models/notification-template-list.ts
models/notification-template-spec.ts
models/notification-template.ts
models/notification.ts
models/notifier-descriptor-list.ts
models/notifier-descriptor-spec.ts
models/notifier-descriptor.ts
models/notifier-setting-ref.ts
models/owner-info.ts
models/pat-spec.ts
models/personal-access-token-list.ts
Expand All @@ -182,6 +205,16 @@ models/post-status.ts
models/post-vo.ts
models/post.ts
models/public-key-response.ts
models/reason-list.ts
models/reason-property.ts
models/reason-selector.ts
models/reason-spec-attributes.ts
models/reason-spec.ts
models/reason-subject.ts
models/reason-type-list.ts
models/reason-type-spec.ts
models/reason-type.ts
models/reason.ts
models/ref.ts
models/reply-list.ts
models/reply-request.ts
Expand Down Expand Up @@ -221,13 +254,18 @@ models/snapshot.ts
models/stats-vo.ts
models/stats.ts
models/subject.ts
models/subscription-list.ts
models/subscription-spec.ts
models/subscription-subscriber.ts
models/subscription.ts
models/system-initialization-request.ts
models/tag-list.ts
models/tag-spec.ts
models/tag-status.ts
models/tag-vo-list.ts
models/tag-vo.ts
models/tag.ts
models/template-content.ts
models/template-descriptor.ts
models/theme-list.ts
models/theme-spec.ts
Expand Down
10 changes: 10 additions & 0 deletions console/packages/api-client/src/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ export * from "./api/api-console-halo-run-v1alpha1-attachment-api";
export * from "./api/api-console-halo-run-v1alpha1-auth-provider-api";
export * from "./api/api-console-halo-run-v1alpha1-comment-api";
export * from "./api/api-console-halo-run-v1alpha1-indices-api";
export * from "./api/api-console-halo-run-v1alpha1-notifier-api";
export * from "./api/api-console-halo-run-v1alpha1-plugin-api";
export * from "./api/api-console-halo-run-v1alpha1-post-api";
export * from "./api/api-console-halo-run-v1alpha1-reply-api";
Expand All @@ -35,6 +36,9 @@ export * from "./api/api-halo-run-v1alpha1-post-api";
export * from "./api/api-halo-run-v1alpha1-stats-api";
export * from "./api/api-halo-run-v1alpha1-tracker-api";
export * from "./api/api-halo-run-v1alpha1-user-api";
export * from "./api/api-notification-halo-run-v1alpha1-notification-api";
export * from "./api/api-notification-halo-run-v1alpha1-notifier-api";
export * from "./api/api-notification-halo-run-v1alpha1-subscription-api";
export * from "./api/api-plugin-halo-run-v1alpha1-plugin-api";
export * from "./api/api-security-halo-run-v1alpha1-personal-access-token-api";
export * from "./api/auth-halo-run-v1alpha1-auth-provider-api";
Expand All @@ -49,6 +53,12 @@ export * from "./api/content-halo-run-v1alpha1-tag-api";
export * from "./api/login-api";
export * from "./api/metrics-halo-run-v1alpha1-counter-api";
export * from "./api/migration-halo-run-v1alpha1-backup-api";
export * from "./api/notification-halo-run-v1alpha1-notification-api";
export * from "./api/notification-halo-run-v1alpha1-notification-template-api";
export * from "./api/notification-halo-run-v1alpha1-notifier-descriptor-api";
export * from "./api/notification-halo-run-v1alpha1-reason-api";
export * from "./api/notification-halo-run-v1alpha1-reason-type-api";
export * from "./api/notification-halo-run-v1alpha1-subscription-api";
export * from "./api/plugin-halo-run-v1alpha1-extension-definition-api";
export * from "./api/plugin-halo-run-v1alpha1-extension-point-definition-api";
export * from "./api/plugin-halo-run-v1alpha1-plugin-api";
Expand Down
Loading

0 comments on commit 3edf863

Please sign in to comment.