diff --git a/locales/en-US.yml b/locales/en-US.yml index 0245d1709..2bd9cfa2d 100644 --- a/locales/en-US.yml +++ b/locales/en-US.yml @@ -424,6 +424,8 @@ withFileAntenna: "Only posts with files" enableServiceworker: "Enable Push-Notifications for your Browser" antennaUsersDescription: "List one username per line" antennaInstancesDescription: "List one server host per line" +antennaTimelineHint: "Antennas display matching posts in order they have been received in, + which is not necessarily chronological." caseSensitive: "Case sensitive" withReplies: "Include replies" connectedTo: "Following account(s) are connected" diff --git a/packages/client/src/components/MkTimeline.vue b/packages/client/src/components/MkTimeline.vue index a44d64184..e4c415d53 100644 --- a/packages/client/src/components/MkTimeline.vue +++ b/packages/client/src/components/MkTimeline.vue @@ -101,6 +101,9 @@ if (props.src === "antenna") { antennaId: props.antenna, }); connection.on("note", prepend); + + tlHint = i18n.ts.antennaTimelineHint; + tlHintClosed = defaultStore.state.tlAntennaHintClosed; } else if (props.src === "home") { endpoint = "notes/timeline"; query = { @@ -220,6 +223,9 @@ function closeHint() { case "global": defaultStore.set("tlGlobalHintClosed", true); break; + case "antenna": + defaultStore.set("tlAntennaHintClosed", true); + break; } } diff --git a/packages/client/src/store.ts b/packages/client/src/store.ts index f0febab17..38bf256ec 100644 --- a/packages/client/src/store.ts +++ b/packages/client/src/store.ts @@ -46,6 +46,10 @@ export const defaultStore = markRaw( where: "device", default: false, }, + tlAntennaHintClosed: { + where: "device", + default: false, + }, keepCw: { where: "account", default: true,