mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2024-11-25 03:17:38 -07:00
Add antenna timeline explanation
This commit is contained in:
parent
0952a37e86
commit
dad82682e8
3 changed files with 12 additions and 0 deletions
|
@ -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"
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -46,6 +46,10 @@ export const defaultStore = markRaw(
|
|||
where: "device",
|
||||
default: false,
|
||||
},
|
||||
tlAntennaHintClosed: {
|
||||
where: "device",
|
||||
default: false,
|
||||
},
|
||||
keepCw: {
|
||||
where: "account",
|
||||
default: true,
|
||||
|
|
Loading…
Reference in a new issue