This is an automated email from the ASF dual-hosted git repository.
kumfo pushed a commit to branch feat/1.4.0/badge
in repository https://gitbox.apache.org/repos/asf/incubator-answer.git
The following commit(s) were added to refs/heads/feat/1.4.0/badge by this push:
new 23b6b11f feat(badge): badge init add icon
23b6b11f is described below
commit 23b6b11f9ea5f78c33902525d74509eca635992e
Author: kumfo <[email protected]>
AuthorDate: Wed Aug 7 17:13:32 2024 +0800
feat(badge): badge init add icon
---
internal/migrations/v22.go | 28 ++++++++++++++--------------
1 file changed, 14 insertions(+), 14 deletions(-)
diff --git a/internal/migrations/v22.go b/internal/migrations/v22.go
index b0016671..de15cea6 100644
--- a/internal/migrations/v22.go
+++ b/internal/migrations/v22.go
@@ -40,7 +40,7 @@ var (
CreatedAt: time.Now(),
UpdatedAt: time.Now(),
Name:
"badge.default_badges.autobiographer.name",
- Icon: "",
+ Icon: "person-badge-fill",
AwardCount: 0,
Description:
"badge.default_badges.autobiographer.desc",
Status: entity.BadgeStatusActive,
@@ -55,7 +55,7 @@ var (
CreatedAt: time.Now(),
UpdatedAt: time.Now(),
Name: "badge.default_badges.editor.name",
- Icon: "",
+ Icon: "pencil-fill",
AwardCount: 0,
Description: "badge.default_badges.editor.desc",
Status: entity.BadgeStatusActive,
@@ -70,7 +70,7 @@ var (
CreatedAt: time.Now(),
UpdatedAt: time.Now(),
Name: "badge.default_badges.first_flag.name",
- Icon: "",
+ Icon: "flag-fill",
AwardCount: 0,
Description: "badge.default_badges.first_flag.desc",
Status: entity.BadgeStatusActive,
@@ -85,7 +85,7 @@ var (
CreatedAt: time.Now(),
UpdatedAt: time.Now(),
Name: "badge.default_badges.first_upvote.name",
- Icon: "",
+ Icon: "hand-thumbs-up-fill",
AwardCount: 0,
Description: "badge.default_badges.first_upvote.desc",
Status: entity.BadgeStatusActive,
@@ -100,7 +100,7 @@ var (
CreatedAt: time.Now(),
UpdatedAt: time.Now(),
Name:
"badge.default_badges.first_reaction.name",
- Icon: "",
+ Icon: "emoji-smile-fill",
AwardCount: 0,
Description:
"badge.default_badges.first_reaction.desc",
Status: entity.BadgeStatusActive,
@@ -115,7 +115,7 @@ var (
CreatedAt: time.Now(),
UpdatedAt: time.Now(),
Name: "badge.default_badges.first_share.name",
- Icon: "",
+ Icon: "share-fill",
AwardCount: 0,
Description: "badge.default_badges.first_share.desc",
Status: entity.BadgeStatusActive,
@@ -130,7 +130,7 @@ var (
CreatedAt: time.Now(),
UpdatedAt: time.Now(),
Name: "badge.default_badges.scholar.name",
- Icon: "",
+ Icon: "check-circle-fill",
AwardCount: 0,
Description: "badge.default_badges.scholar.desc",
Status: entity.BadgeStatusActive,
@@ -145,7 +145,7 @@ var (
CreatedAt: time.Now(),
UpdatedAt: time.Now(),
Name: "badge.default_badges.solved.name",
- Icon: "",
+ Icon: "check-square-fill",
AwardCount: 0,
Description: "badge.default_badges.solved.desc",
Status: entity.BadgeStatusActive,
@@ -160,7 +160,7 @@ var (
CreatedAt: time.Now(),
UpdatedAt: time.Now(),
Name: "badge.default_badges.nice_answer.name",
- Icon: "",
+ Icon: "chat-square-text-fill",
AwardCount: 0,
Description: "badge.default_badges.nice_answer.desc",
Status: entity.BadgeStatusActive,
@@ -175,7 +175,7 @@ var (
CreatedAt: time.Now(),
UpdatedAt: time.Now(),
Name: "badge.default_badges.good_answer.name",
- Icon: "",
+ Icon: "chat-square-text-fill",
AwardCount: 0,
Description: "badge.default_badges.good_answer.desc",
Status: entity.BadgeStatusActive,
@@ -190,7 +190,7 @@ var (
CreatedAt: time.Now(),
UpdatedAt: time.Now(),
Name: "badge.default_badges.great_answer.name",
- Icon: "",
+ Icon: "chat-square-text-fill",
AwardCount: 0,
Description: "badge.default_badges.great_answer.desc",
Status: entity.BadgeStatusActive,
@@ -205,7 +205,7 @@ var (
CreatedAt: time.Now(),
UpdatedAt: time.Now(),
Name: "badge.default_badges.nice_question.name",
- Icon: "",
+ Icon: "question-circle-fill",
AwardCount: 0,
Description: "badge.default_badges.nice_question.desc",
Status: entity.BadgeStatusActive,
@@ -220,7 +220,7 @@ var (
CreatedAt: time.Now(),
UpdatedAt: time.Now(),
Name: "badge.default_badges.good_question.name",
- Icon: "",
+ Icon: "question-circle-fill",
AwardCount: 0,
Description: "badge.default_badges.good_question.desc",
Status: entity.BadgeStatusActive,
@@ -235,7 +235,7 @@ var (
CreatedAt: time.Now(),
UpdatedAt: time.Now(),
Name:
"badge.default_badges.great_question.name",
- Icon: "",
+ Icon: "question-circle-fill",
AwardCount: 0,
Description:
"badge.default_badges.great_question.desc",
Status: entity.BadgeStatusActive,