UX: shorten duration of bookmark toasties (#27085)
This commit is contained in:
parent
5c09792f79
commit
1dcf756d78
|
@ -133,7 +133,7 @@ export default class BookmarkMenu extends Component {
|
||||||
// a bookmark, it switches to the other Edit/Delete menu.
|
// a bookmark, it switches to the other Edit/Delete menu.
|
||||||
this.quicksaved = true;
|
this.quicksaved = true;
|
||||||
this.toasts.success({
|
this.toasts.success({
|
||||||
duration: 3000,
|
duration: 1500,
|
||||||
views: ["mobile"],
|
views: ["mobile"],
|
||||||
data: { message: I18n.t("bookmarks.bookmarked_success") },
|
data: { message: I18n.t("bookmarks.bookmarked_success") },
|
||||||
});
|
});
|
||||||
|
@ -172,7 +172,7 @@ export default class BookmarkMenu extends Component {
|
||||||
const response = await this.bookmarkManager.delete();
|
const response = await this.bookmarkManager.delete();
|
||||||
this.bookmarkManager.afterDelete(response, this.existingBookmark.id);
|
this.bookmarkManager.afterDelete(response, this.existingBookmark.id);
|
||||||
this.toasts.success({
|
this.toasts.success({
|
||||||
duration: 3000,
|
duration: 1500,
|
||||||
data: {
|
data: {
|
||||||
icon: "trash-alt",
|
icon: "trash-alt",
|
||||||
message: I18n.t("bookmarks.deleted_bookmark_success"),
|
message: I18n.t("bookmarks.deleted_bookmark_success"),
|
||||||
|
@ -201,7 +201,7 @@ export default class BookmarkMenu extends Component {
|
||||||
try {
|
try {
|
||||||
await this.bookmarkManager.save();
|
await this.bookmarkManager.save();
|
||||||
this.toasts.success({
|
this.toasts.success({
|
||||||
duration: 3000,
|
duration: 1500,
|
||||||
views: ["mobile"],
|
views: ["mobile"],
|
||||||
data: { message: I18n.t("bookmarks.reminder_set_success") },
|
data: { message: I18n.t("bookmarks.reminder_set_success") },
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue