1
0
mirror of https://github.com/bitwarden/browser synced 2026-02-10 05:30:01 +00:00

Update name and description on add attachment achievement

This commit is contained in:
Daniel James Smith
2025-03-21 10:54:19 +01:00
parent 47669b9d8c
commit 4216cceed2
2 changed files with 8 additions and 3 deletions

View File

@@ -14,8 +14,8 @@ const FiveItemsCreatedAchievement = "five-vault-items-created" as AchievementId;
const TotallyAttachedValidator = {
achievement: TotallyAttachedAchievement,
name: "Totally attached <3",
description: "Attached a file to a send or item",
name: "Attachment theory",
description: "Added an attachment to a vault item",
validator: Type.HasTag,
active: "until-earned",
hidden: false,

View File

@@ -14,8 +14,13 @@ export class AttachmentAddedValidator implements AchievementValidator {
return "item-attached" as AchievementId;
}
get name() {
return "1st attachment added to item";
return "Attachment theory";
}
get description() {
return "Added an attachment to a vault item";
}
get metric() {
// Does this need to match vault-item-created-count-validator metric id for "item-quantity"
return "item-quantity" as MetricId;