Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
eded924
fix: keep download counts consistent across skill pages
yun-zhi-ztl Mar 17, 2026
5e89a4d
fix: stabilize empty search ordering across sorts
yun-zhi-ztl Mar 17, 2026
d6a4831
Merge remote-tracking branch 'origin/main' into feature/project-fixbug
yun-zhi-ztl Mar 17, 2026
55586ef
fix: show disabled-account reason on login redirect
yun-zhi-ztl Mar 17, 2026
4ea280c
fix: mute report input placeholder text
yun-zhi-ztl Mar 17, 2026
caa6093
fix: return skill detail to my skills page
yun-zhi-ztl Mar 17, 2026
4d39163
test: stabilize auth context filter coverage
yun-zhi-ztl Mar 17, 2026
aa6a9ff
Merge remote-tracking branch 'origin/main' into feature/project-fixbug
yun-zhi-ztl Mar 18, 2026
2430e2f
Merge remote-tracking branch 'origin/main' into feature/project-fixbug
yun-zhi-ztl Mar 18, 2026
7dae434
feat(publish): increase single file limit to 10MB
yun-zhi-ztl Mar 18, 2026
e55947d
feat(publish): expand allowed file extensions
yun-zhi-ztl Mar 18, 2026
81edb08
feat(publish): extend secret scanning to new text file types
yun-zhi-ztl Mar 18, 2026
fc53107
feat(publish): add content validation for new file types
yun-zhi-ztl Mar 18, 2026
7e869fa
refactor(publish): inject configurable limits into SkillPackageArchiv…
yun-zhi-ztl Mar 18, 2026
dac7fa1
feat(publish): support zip with single root directory wrapper
yun-zhi-ztl Mar 18, 2026
ce25d19
feat(publish): expand determineContentType for new file types
yun-zhi-ztl Mar 18, 2026
1231820
test(publish): update tests for new upload constraints
yun-zhi-ztl Mar 18, 2026
020a96e
Merge remote-tracking branch 'origin/main' into feature/project-fixbug
yun-zhi-ztl Mar 18, 2026
78bc6ba
fix(web): add REJECTED status label and styling to my-skills page
yun-zhi-ztl Mar 18, 2026
0d0b419
fix: prevent deleting the last remaining version of a skill
yun-zhi-ztl Mar 18, 2026
034b4c0
Merge remote-tracking branch 'origin/main' into feature/project-fixbug
yun-zhi-ztl Mar 18, 2026
fe75ece
test: fix and add tests for last-version deletion guard
yun-zhi-ztl Mar 18, 2026
aedaef8
Merge remote-tracking branch 'origin/main' into feature/project-fixbug
yun-zhi-ztl Mar 18, 2026
f343f1a
fix(web): show pending review toast for non-admin skill publish
yun-zhi-ztl Mar 18, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions web/src/i18n/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -913,6 +913,10 @@
"confirm": "Confirm Publish",
"success": "Published Successfully",
"successDescription": "{{skill}} has been submitted for review and will be available after admin approval",
"publishedTitle": "Published Successfully",
"publishedDescription": "{{skill}} is now live and available for download",
"pendingReviewTitle": "Submitted for Review",
"pendingReviewDescription": "{{skill}} has been submitted for review and will be available after admin approval",
"error": "Publish Failed",
"timeoutTitle": "Publish timed out",
"timeoutDescription": "The publish request took too long. Please check the skill list later or try again.",
Expand Down
4 changes: 4 additions & 0 deletions web/src/i18n/locales/zh.json
Original file line number Diff line number Diff line change
Expand Up @@ -913,6 +913,10 @@
"confirm": "确认发布",
"success": "发布成功",
"successDescription": "{{skill}} 已提交审核,等待管理员批准后即可使用",
"publishedTitle": "发布成功",
"publishedDescription": "{{skill}} 已发布,现在可以下载使用",
"pendingReviewTitle": "已提交审核",
"pendingReviewDescription": "{{skill}} 已提交审核,等待管理员批准后即可使用",
"error": "发布失败",
"timeoutTitle": "发布请求超时",
"timeoutDescription": "本次发布等待时间过长,请稍后到技能列表确认结果,或重新尝试发布。",
Expand Down
18 changes: 12 additions & 6 deletions web/src/pages/dashboard/publish.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -71,12 +71,18 @@ export function PublishPage() {
file: selectedFile,
visibility,
})
toast.success(
t('publish.success'),
t('publish.successDescription', {
skill: `${result.namespace}/${result.slug}@${result.version}`,
})
)
const skillLabel = `${result.namespace}/${result.slug}@${result.version}`
if (result.status === 'PUBLISHED') {
toast.success(
t('publish.publishedTitle'),
t('publish.publishedDescription', { skill: skillLabel })
)
} else {
toast.success(
t('publish.pendingReviewTitle'),
t('publish.pendingReviewDescription', { skill: skillLabel })
)
}
navigate({ to: '/dashboard/skills' })
} catch (error) {
if (error instanceof ApiError && error.status === 408) {
Expand Down
Loading