mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2024-11-21 17:37:29 -07:00
[client] remove unimplemented timetravel button & handlers
Signed-off-by: Mae Dartmann <hello@maedartmann.name>
This commit is contained in:
parent
a695ffaf49
commit
50b25c88c7
3 changed files with 33 additions and 29 deletions
|
@ -44,14 +44,15 @@ const keymap = $computed(() => ({
|
||||||
t: focus,
|
t: focus,
|
||||||
}));
|
}));
|
||||||
|
|
||||||
async function timetravel() {
|
// removed for iceshrimp.dev/iceshrimp/iceshrimp !551
|
||||||
const { canceled, result: date } = await os.inputDate({
|
// async function timetravel() {
|
||||||
title: i18n.ts.date,
|
// const { canceled, result: date } = await os.inputDate({
|
||||||
});
|
// title: i18n.ts.date,
|
||||||
if (canceled) return;
|
// });
|
||||||
|
// if (canceled) return;
|
||||||
tlEl.timetravel(date);
|
//
|
||||||
}
|
// tlEl.timetravel(date);
|
||||||
|
// }
|
||||||
|
|
||||||
function settings() {
|
function settings() {
|
||||||
router.push(`/my/antennas/${props.antennaId}`);
|
router.push(`/my/antennas/${props.antennaId}`);
|
||||||
|
|
|
@ -187,14 +187,15 @@ function saveSrc(
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
async function timetravel(): Promise<void> {
|
// removed for iceshrimp.dev/iceshrimp/iceshrimp !551
|
||||||
const { canceled, result: date } = await os.inputDate({
|
// async function timetravel(): Promise<void> {
|
||||||
title: i18n.ts.date,
|
// const { canceled, result: date } = await os.inputDate({
|
||||||
});
|
// title: i18n.ts.date,
|
||||||
if (canceled) return;
|
// });
|
||||||
|
// if (canceled) return;
|
||||||
tlComponent.timetravel(date);
|
//
|
||||||
}
|
// tlComponent.timetravel(date);
|
||||||
|
// }
|
||||||
|
|
||||||
function focus(): void {
|
function focus(): void {
|
||||||
tlComponent.focus();
|
tlComponent.focus();
|
||||||
|
|
|
@ -50,23 +50,25 @@ function settings() {
|
||||||
router.push(`/my/lists/${props.listId}`);
|
router.push(`/my/lists/${props.listId}`);
|
||||||
}
|
}
|
||||||
|
|
||||||
async function timetravel() {
|
// removed for iceshrimp.dev/iceshrimp/iceshrimp !551
|
||||||
const { canceled, result: date } = await os.inputDate({
|
// async function timetravel() {
|
||||||
title: i18n.ts.date,
|
// const { canceled, result: date } = await os.inputDate({
|
||||||
});
|
// title: i18n.ts.date,
|
||||||
if (canceled) return;
|
// });
|
||||||
|
// if (canceled) return;
|
||||||
tlEl.timetravel(date);
|
//
|
||||||
}
|
// tlEl.timetravel(date);
|
||||||
|
// }
|
||||||
|
|
||||||
const headerActions = $computed(() =>
|
const headerActions = $computed(() =>
|
||||||
list
|
list
|
||||||
? [
|
? [
|
||||||
{
|
// removed for iceshrimp.dev/iceshrimp/iceshrimp !551
|
||||||
icon: "ph-calendar-blank ph-bold ph-lg",
|
// {
|
||||||
text: i18n.ts.jumpToSpecifiedDate,
|
// icon: "ph-calendar-blank ph-bold ph-lg",
|
||||||
handler: timetravel,
|
// text: i18n.ts.jumpToSpecifiedDate,
|
||||||
},
|
// handler: timetravel,
|
||||||
|
// },
|
||||||
{
|
{
|
||||||
icon: "ph-gear-six ph-bold ph-lg",
|
icon: "ph-gear-six ph-bold ph-lg",
|
||||||
text: i18n.ts.settings,
|
text: i18n.ts.settings,
|
||||||
|
|
Loading…
Reference in a new issue