[AI] Fix regex checkbox label contrast in notes modal (#7515)

* [AI] Fix regex checkbox label contrast in notes modal (#7514)

Apply theme.menuAutoCompleteText color to the "Use Regular Expressions"
checkbox label in the find-and-replace tab so it contrasts with the
menuAutoCompleteBackground modal background.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* fix: rename release note file to match PR number

The CI expects the release note file to be named after the PR number
(7515), not the issue number (7514).

---------

Co-authored-by: liuren.lcy <liuren.lcy@antgroup.com>
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
JasmineLCY
2026-04-15 21:25:41 +08:00
committed by GitHub
parent c9f5f6deb2
commit 2aa2e49df9
2 changed files with 7 additions and 0 deletions

View File

@@ -172,6 +172,7 @@ export function EditFieldModal({
<LabeledCheckbox
id="noteRegex"
checked={noteFindReplace.useRegex}
style={{ color: theme.menuAutoCompleteText }}
onChange={({ currentTarget: { checked } }) =>
setNoteFindReplace(current => ({
...current,

View File

@@ -0,0 +1,6 @@
---
category: Bugfixes
authors: [JasmineLCY]
---
Fix unreadable "Use Regular Expressions" checkbox label in the notes find-and-replace modal by applying the correct theme color.