Skip to content

Commit

Permalink
Add full stop on relative time as per design
Browse files Browse the repository at this point in the history
The full stop acts a separator between the relative time and note
  • Loading branch information
akabiru committed Dec 9, 2024
1 parent 5e1e42b commit 2ad579f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ export class InAppNotificationRelativeTimeComponent implements OnInit {
return this.text.updated_by_at(time);
}

return time;
return `${time}.`;
}),
distinctUntilChanged(),
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
center.within_item(notification_reminder) do
expect(page).to have_text("Date alert, Mentioned, Reminder")
expect(page).to have_no_text("Actor user")
expect(page).to have_text("a few seconds ago\nNote: “This is an important reminder”")
expect(page).to have_text("a few seconds ago.\nNote: “This is an important reminder”")
end
end
end
Expand Down

0 comments on commit 2ad579f

Please sign in to comment.