diff --git a/backend/app/api/handlers/v1/v1_ctrl_items_attachments.go b/backend/app/api/handlers/v1/v1_ctrl_items_attachments.go
index e055ec63..27da77ba 100644
--- a/backend/app/api/handlers/v1/v1_ctrl_items_attachments.go
+++ b/backend/app/api/handlers/v1/v1_ctrl_items_attachments.go
@@ -205,7 +205,7 @@ func (ctrl *V1Controller) handleItemAttachmentsHandler(w http.ResponseWriter, r
}(bucket)
// Set the Content-Disposition header for RFC6266 compliance
- disposition := "attachment; filename*=UTF-8''" + url.QueryEscape(doc.Title)
+ disposition := "inline; filename*=UTF-8''" + url.QueryEscape(doc.Title)
w.Header().Set("Content-Disposition", disposition)
http.ServeContent(w, r, doc.Title, doc.CreatedAt, file)
return nil
diff --git a/backend/app/api/static/docs/docs.go b/backend/app/api/static/docs/docs.go
index 65ab97a9..cbf1d5a8 100644
--- a/backend/app/api/static/docs/docs.go
+++ b/backend/app/api/static/docs/docs.go
@@ -3639,7 +3639,7 @@ const docTemplate = `{
},
"description": {
"type": "string",
- "maxLength": 255
+ "maxLength": 1000
},
"name": {
"type": "string",
diff --git a/backend/app/api/static/docs/swagger.json b/backend/app/api/static/docs/swagger.json
index 764c05bd..75c84cd7 100644
--- a/backend/app/api/static/docs/swagger.json
+++ b/backend/app/api/static/docs/swagger.json
@@ -3637,7 +3637,7 @@
},
"description": {
"type": "string",
- "maxLength": 255
+ "maxLength": 1000
},
"name": {
"type": "string",
diff --git a/backend/app/api/static/docs/swagger.yaml b/backend/app/api/static/docs/swagger.yaml
index cf9eae6a..e47ad0df 100644
--- a/backend/app/api/static/docs/swagger.yaml
+++ b/backend/app/api/static/docs/swagger.yaml
@@ -1012,7 +1012,7 @@ definitions:
color:
type: string
description:
- maxLength: 255
+ maxLength: 1000
type: string
name:
maxLength: 255
diff --git a/backend/internal/data/repo/repo_labels.go b/backend/internal/data/repo/repo_labels.go
index 6238a8b3..fab7a1ec 100644
--- a/backend/internal/data/repo/repo_labels.go
+++ b/backend/internal/data/repo/repo_labels.go
@@ -20,14 +20,14 @@ type LabelRepository struct {
type (
LabelCreate struct {
Name string `json:"name" validate:"required,min=1,max=255"`
- Description string `json:"description" validate:"max=255"`
+ Description string `json:"description" validate:"max=1000"`
Color string `json:"color"`
}
LabelUpdate struct {
ID uuid.UUID `json:"id"`
Name string `json:"name" validate:"required,min=1,max=255"`
- Description string `json:"description" validate:"max=255"`
+ Description string `json:"description" validate:"max=1000"`
Color string `json:"color"`
}
diff --git a/docs/en/api/openapi-2.0.json b/docs/en/api/openapi-2.0.json
index 764c05bd..75c84cd7 100644
--- a/docs/en/api/openapi-2.0.json
+++ b/docs/en/api/openapi-2.0.json
@@ -3637,7 +3637,7 @@
},
"description": {
"type": "string",
- "maxLength": 255
+ "maxLength": 1000
},
"name": {
"type": "string",
diff --git a/docs/en/api/openapi-2.0.yaml b/docs/en/api/openapi-2.0.yaml
index cf9eae6a..e47ad0df 100644
--- a/docs/en/api/openapi-2.0.yaml
+++ b/docs/en/api/openapi-2.0.yaml
@@ -1012,7 +1012,7 @@ definitions:
color:
type: string
description:
- maxLength: 255
+ maxLength: 1000
type: string
name:
maxLength: 255
diff --git a/frontend/components/Label/Chip.vue b/frontend/components/Label/Chip.vue
index bcb5ebe3..c1b4a0f8 100644
--- a/frontend/components/Label/Chip.vue
+++ b/frontend/components/Label/Chip.vue
@@ -42,6 +42,6 @@