mirror of
https://github.com/tiennm99/goclaw.git
synced 2026-10-15 12:14:17 +00:00
feat(skills): add edit modal, drag-and-drop upload, fix frontmatter stripping
- Add skill edit dialog (name, description, visibility, tags) - Add drag-and-drop support to upload modal with visual feedback - Fix frontmatter not stripped in skill detail view (CRLF normalization) - Include visibility, tags, version in skill list/detail API responses - Change default skill upload visibility from private to internal - Add visibility column and version display to skills table
This commit is contained in:
1 parent
1bc5393f00
commit
c1962e4659
11 files changed
+334
-37
No files matched your search
@@ -270,7 +270,7 @@ func (h *SkillsHandler) handleUpload(w http.ResponseWriter, r *http.Request) {
|
||||
Slug: slug,
|
||||
Description: &desc,
|
||||
OwnerID: userID,
|
||||
Visibility: "private",
|
||||
Visibility: "internal",
|
||||
Version: version,
|
||||
FilePath: destDir,
|
||||
FileSize: size,
|
||||
|
||||
Reference in new issue
Block a user