mirror of
https://github.com/dreamhunter2333/cloudflare_temp_email.git
synced 2026-04-25 22:05:51 +03:00
[PR #566] [MERGED] feat: announcement support html #629
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/cloudflare_temp_email#629
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/dreamhunter2333/cloudflare_temp_email/pull/566
Author: @dreamhunter2333
Created: 1/20/2025
Status: ✅ Merged
Merged: 1/20/2025
Merged by: @dreamhunter2333
Base:
main← Head:feature/dev📝 Commits (2)
0db4456feat: announcement support htmlf259083feat: update dependencies📊 Changes
18 files changed (+929 additions, -3648 deletions)
View changed files
📝
CHANGELOG.md(+5 -1)📝
frontend/package.json(+3 -3)📝
frontend/pnpm-lock.yaml(+240 -1522)📝
frontend/src/App.vue(+20 -18)📝
frontend/src/api/index.js(+8 -5)📝
frontend/src/views/Header.vue(+2 -1)📝
frontend/src/views/common/About.vue(+3 -0)📝
frontend/src/views/common/Login.vue(+2 -1)📝
frontend/vite.config.js(+1 -0)📝
pages/package.json(+2 -2)➕
scripts/update-dependencies.sh(+15 -0)📝
vitepress-docs/docs/.vitepress/zh.ts(+7 -0)➕
vitepress-docs/docs/zh/guide/common-issues.md(+41 -0)📝
vitepress-docs/package.json(+3 -3)📝
vitepress-docs/pnpm-lock.yaml(+182 -1518)📝
worker/package.json(+7 -7)📝
worker/pnpm-lock.yaml(+387 -566)📝
worker/src/constants.ts(+1 -1)📄 Description
User description
#565
PR Type
Enhancement
Description
Added HTML support for announcements.
Integrated
useNotificationfor displaying announcements.Updated
getOpenSettingsto use notifications.Modified UI components to display announcements.
Changes walkthrough 📝
App.vue
Add notification provider for HTML announcementsfrontend/src/App.vue
n-notification-providerfor HTML announcements.n-message-providerwithinn-notification-provider.Header.vue
Integrate notification in Header componentfrontend/src/views/Header.vue
useNotification.getOpenSettingscall to includenotification.About.vue
Display HTML announcement in About componentfrontend/src/views/common/About.vue
v-html.useGlobalStateto access announcement.Login.vue
Integrate notification in Login componentfrontend/src/views/common/Login.vue
useNotification.getOpenSettingscall to includenotification.index.js
Use notification for HTML announcements in APIfrontend/src/api/index.js
getOpenSettingsto usenotificationfor announcements.hfunction to render HTML content in notifications.vite.config.js
Auto-import useNotification in Vite configfrontend/vite.config.js
useNotificationfromnaive-ui.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.