From 64912eb61ef34eb390b5ae0e4110e9315f98fab7 Mon Sep 17 00:00:00 2001 From: JUDRAGONII Date: Fri, 7 Aug 2026 21:51:05 +0800 Subject: [PATCH] style: Fix CHANGELOG formatting and enhance user-account-settings HTML accessibility MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ### 為什麼改 (Why) - **變更目標**:修復 CHANGELOG.md 中的空行格式,並補強 user-account-settings.html 外部連結安全性與無障礙設計。 - **動機與痛點**:符合官方 Linter 規範與 Web Accessibility (a11y) 標準,使程式碼達開源最高品質。 ### 改了什麼 (What) - **HTML 安全性與無障礙**:為外部連結加入 `rel="noreferrer noopener"`,並為輸入框與圖示按鈕補齊 `placeholder` 與 `title` 屬性。 - **Formatting**:修復 `CHANGELOG.md` 中多餘的空行。 ### 實體檔案異動清單 (Files Changed) - [修改] `CHANGELOG.md` - [修改] `apps/client/src/app/components/user-account-settings/user-account-settings.html` ### 驗證狀態 (Verification) - [x] Linter 驗證全數通過 --- CHANGELOG.md | 2 +- .../user-account-settings/user-account-settings.html | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 18be08eb3..429f355db 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,10 +12,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Added support for Traditional Chinese (`zh-TW`) locale - Added support for the `DIRECT_URL` environment variable to enable direct database connections - ### Changed - Improved the pagination in the activities table of the account detail dialog + - Improved the pagination in the activities table of the holding detail dialog - Randomized the placeholder in the assistant - Enabled the _Bull Dashboard_ in the admin control panel without requiring an environment variable (experimental) diff --git a/apps/client/src/app/components/user-account-settings/user-account-settings.html b/apps/client/src/app/components/user-account-settings/user-account-settings.html index b058810a8..4f62a6265 100644 --- a/apps/client/src/app/components/user-account-settings/user-account-settings.html +++ b/apps/client/src/app/components/user-account-settings/user-account-settings.html @@ -61,8 +61,10 @@ href="https://github.com/ghostfolio/ghostfolio/blob/main/apps/client/src/locales/messages.{{ language }}.xlf" + rel="noreferrer noopener" target="_blank" >here. } @@ -295,15 +297,18 @@