chore(feishu-notify): modify notification card (#11656)

refactor(feishu-notify): simplify issue card layout by removing redundant elements

Remove unnecessary div elements and consolidate title display into the card header
This commit is contained in:
Phantom 2025-12-03 22:32:18 +08:00 committed by GitHub
parent f571dd7af0
commit aeabc28451
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -91,23 +91,6 @@ function createIssueCard(issueData) {
return { return {
elements: [ elements: [
{
tag: 'div',
text: {
tag: 'lark_md',
content: `**🐛 New GitHub Issue #${issueNumber}**`
}
},
{
tag: 'hr'
},
{
tag: 'div',
text: {
tag: 'lark_md',
content: `**📝 Title:** ${issueTitle}`
}
},
{ {
tag: 'div', tag: 'div',
text: { text: {
@ -158,7 +141,7 @@ function createIssueCard(issueData) {
template: 'blue', template: 'blue',
title: { title: {
tag: 'plain_text', tag: 'plain_text',
content: '🆕 Cherry Studio - New Issue' content: `#${issueNumber} - ${issueTitle}`
} }
} }
} }