Skip to content

Commit 689ba5e

Browse files
authored
UX: Use short duration for toast on URI copy in ActivityPub (#267)
Update toast duration to `short` for improved user experience when copying a URI in `ActivityPub`. This creates a more consistent and seamless feedback experience using standard duration values.
1 parent 861e2d8 commit 689ba5e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

assets/javascripts/discourse/components/activity-pub-attribute.gjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ export default class ActivityPubAttribute extends Component {
2929
}
3030
await clipboardCopy(this.args.uri);
3131
this.toasts.success({
32-
duration: 2500,
32+
duration: "short",
3333
data: {
3434
message: i18n("discourse_activity_pub.copy_uri.copied"),
3535
},

0 commit comments

Comments
 (0)