mirror of
https://iceshrimp.dev/crimekillz/iceshrimp-161sh.git
synced 2024-11-25 05:29:07 +01:00
Add antenna timeline explanation
This commit is contained in:
parent
0952a37e86
commit
dad82682e8
@ -424,6 +424,8 @@ withFileAntenna: "Only posts with files"
|
|||||||
enableServiceworker: "Enable Push-Notifications for your Browser"
|
enableServiceworker: "Enable Push-Notifications for your Browser"
|
||||||
antennaUsersDescription: "List one username per line"
|
antennaUsersDescription: "List one username per line"
|
||||||
antennaInstancesDescription: "List one server host 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"
|
caseSensitive: "Case sensitive"
|
||||||
withReplies: "Include replies"
|
withReplies: "Include replies"
|
||||||
connectedTo: "Following account(s) are connected"
|
connectedTo: "Following account(s) are connected"
|
||||||
|
@ -101,6 +101,9 @@ if (props.src === "antenna") {
|
|||||||
antennaId: props.antenna,
|
antennaId: props.antenna,
|
||||||
});
|
});
|
||||||
connection.on("note", prepend);
|
connection.on("note", prepend);
|
||||||
|
|
||||||
|
tlHint = i18n.ts.antennaTimelineHint;
|
||||||
|
tlHintClosed = defaultStore.state.tlAntennaHintClosed;
|
||||||
} else if (props.src === "home") {
|
} else if (props.src === "home") {
|
||||||
endpoint = "notes/timeline";
|
endpoint = "notes/timeline";
|
||||||
query = {
|
query = {
|
||||||
@ -220,6 +223,9 @@ function closeHint() {
|
|||||||
case "global":
|
case "global":
|
||||||
defaultStore.set("tlGlobalHintClosed", true);
|
defaultStore.set("tlGlobalHintClosed", true);
|
||||||
break;
|
break;
|
||||||
|
case "antenna":
|
||||||
|
defaultStore.set("tlAntennaHintClosed", true);
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -46,6 +46,10 @@ export const defaultStore = markRaw(
|
|||||||
where: "device",
|
where: "device",
|
||||||
default: false,
|
default: false,
|
||||||
},
|
},
|
||||||
|
tlAntennaHintClosed: {
|
||||||
|
where: "device",
|
||||||
|
default: false,
|
||||||
|
},
|
||||||
keepCw: {
|
keepCw: {
|
||||||
where: "account",
|
where: "account",
|
||||||
default: true,
|
default: true,
|
||||||
|
Loading…
Reference in New Issue
Block a user