Compare commits

..

14 Commits

Author SHA1 Message Date
Mark
502d87e88d Merge branch 'release/v0.3.0'
# Conflicts:
#	.github/workflows/release-notify-wechat.yml
2026-04-15 19:28:46 +08:00
Ke Sun
60124e3232 ci(workflow): simplify WeChat notification payload generation
- Rename workflow from "Release Notify (Ali AI Final)" to "Release Notify Workflow" for clarity
- Replace jq multi-line argument construction with printf for better readability
- Simplify payload generation by building content string separately before passing to jq
- Reduce complexity of nested jq arguments while maintaining identical output format
2026-04-13 19:06:18 +08:00
Ke Sun
a3f0415cd3 ci(workflow): add release notification workflow for WeChat
- Add new GitHub Actions workflow to notify WeChat on release branch merges
- Implement HEAD sync check to prevent race conditions with GitHub API
- Add commit validation to ensure PR is the latest merge to release branch
- Fetch PR commits and generate AI summary using Alibaba Qwen API
- Send formatted Markdown notification to WeChat webhook with release details
- Include branch, author, PR title, and AI-generated change summary in notification
2026-04-13 19:02:28 +08:00
Ke Sun
3fe90a5e13 Merge pull request #859 from SuanmoSuanyangTechnology/hotfix/v0.2.10
Hotfix/v0.2.10
2026-04-10 18:29:06 +08:00
Ke Sun
ac7d39524e Merge pull request #853 from SuanmoSuanyangTechnology/hotfix/v0.2.10
Hotfix/v0.2.10
2026-04-10 10:14:15 +08:00
Ke Sun
8e397b83b6 Merge branch 'release/v0.2.10' 2026-04-08 21:44:27 +08:00
Ke Sun
4961e7df79 Merge pull request #781 from SuanmoSuanyangTechnology/hotfix/v0.2.9
fix(web): string type language Editor init
2026-04-02 17:43:28 +08:00
Ke Sun
cae87de6ef Merge pull request #777 from SuanmoSuanyangTechnology/hotfix/v0.2.9
fix(web): jinja2 editor
2026-04-02 15:39:21 +08:00
Ke Sun
9ff3a3d5f7 Merge pull request #768 from SuanmoSuanyangTechnology/hotfix/v0.2.9
fix(web): knowledge base model api params
2026-04-02 14:39:43 +08:00
Ke Sun
18703919a8 Merge pull request #772 from SuanmoSuanyangTechnology/hotfix/gitee-sync
docs: add status badges to README files
2026-04-02 11:58:44 +08:00
Ke Sun
d1beb9e5d5 Merge pull request #771 from SuanmoSuanyangTechnology/hotfix/gitee-sync
ci(gitee): update Gitee repository path in sync workflow
2026-04-02 11:50:59 +08:00
Ke Sun
1aec7115a5 Merge pull request #769 from SuanmoSuanyangTechnology/hotfix/gitee-sync
ci: refactor Gitee sync workflow with selective branch filtering
2026-04-02 11:34:49 +08:00
Ke Sun
8b9eb81d36 Merge pull request #767 from SuanmoSuanyangTechnology/hotfix/gitee-sync
Hotfix/gitee sync
2026-04-02 10:54:45 +08:00
Ke Sun
daaad51357 Merge pull request #765 from SuanmoSuanyangTechnology/hotfix/gitee-sync
ci: add GitHub Actions workflow to sync branches to Gitee
2026-04-02 10:44:22 +08:00

View File

@@ -2,7 +2,7 @@
* @Author: ZhaoYing
* @Date: 2026-02-02 15:07:49
* @Last Modified by: ZhaoYing
* @Last Modified time: 2026-04-16 11:10:19
* @Last Modified time: 2026-04-07 12:18:58
*/
/**
* AppHeader Component
@@ -76,11 +76,9 @@ const AppHeader: FC<{source?: 'space' | 'manage';}> = ({source = 'manage'}) => {
const userMenuItems: MenuProps['items'] = [
{
key: '1',
icon: user.username
? <Flex align="center" justify="center" className="rb:size-10 rb:rounded-xl rb:bg-[#155EEF] rb:text-white">
{/[\u4e00-\u9fa5]/.test(user.username) ? user.username.slice(-2) : user.username[0]}
</Flex>
: null,
icon: <Flex align="center" justify="center" className="rb:size-10 rb:rounded-xl rb:bg-[#155EEF] rb:text-white">
{/[\u4e00-\u9fa5]/.test(user.username) ? user.username.slice(-2) : user.username[0]}
</Flex>,
label: (<>
<div className="rb:text-[#212332] rb:leading-5">{user.username}</div>
<div className="rb:text-[12px] rb:text-[#7B8085] rb:leading-4.5 rb:mt-0.5 rb:mr-2">{user.email}</div>
@@ -183,9 +181,9 @@ const AppHeader: FC<{source?: 'space' | 'manage';}> = ({source = 'manage'}) => {
overlayClassName={styles.userDropdown}
>
<Flex align="center" className="rb:cursor-pointer rb:font-medium">
{user.username && <Flex align="center" justify="center" className="rb:size-8 rb:rounded-xl rb:bg-[#155EEF] rb:text-white rb:mr-2!">
<Flex align="center" justify="center" className="rb:size-8 rb:rounded-xl rb:bg-[#155EEF] rb:text-white rb:mr-2!">
{/[\u4e00-\u9fa5]/.test(user.username) ? user.username.slice(-2) : user.username[0]}
</Flex>}
</Flex>
<span className="rb:text-[#212332] rb:text-[12px] rb:leading-4 rb:mr-1">{user.username}</span>
<div className={clsx("rb:size-3 rb:bg-cover rb:bg-[url('@/assets/images/common/arrow_up.svg')]", {
'rb:rotate-180': !open,