more todos

Add todo
This commit is contained in:
Brahim Hadriche committed 2023-12-08 05:43:12 -05:00
1 parent 0ae524f88c
commit 19ecc25852
4 files changed
+6

No files matched your search

@@ -1,6 +1,8 @@
import "pkg:/source/utils/Types.bs"
function Init()
' TODO:P0 use component property with alias to fix crash
' TODO:P2 make component disposable, and stop animation when component is disposed
m.animation = m.top.findNode("loadingAnimation")
m.top.observeField("visible", FuncName(OnVisibleChanged))
OnVisibleChanged()
@@ -7,6 +7,7 @@ function Init()
end function
function FindChildren()
' TODO:P2 use component properties with alias instead of FindNode
m.titleLabel = m.top.FindNode("titleLabel")
m.authorLabel = m.top.FindNode("authorLabel")
m.viewCountDateLabel = m.top.FindNode("viewCountDateLabel")
@@ -194,6 +194,8 @@ channel_podcasts:
paginationType: Continuation
tryCount: 3
# TODO:P1 related channels are no longer working
# https://github.com/iv-org/invidious/issues/4275
channel_channels:
title: Related channels
url: /api/v1/channels/{ucid}/channels
@@ -112,6 +112,7 @@
<div class={visibility ? "" : "hidden"}>
<div class="m-4">
<!-- TODO:P2 use search HTML element -->
<form
on:submit={async (e) => {
e.preventDefault();