From 5c86ae5d129b9cb9dbc6ac141f3505dbcdcfab04 Mon Sep 17 00:00:00 2001 From: Dominik Picheta Date: Wed, 16 May 2018 23:06:21 +0100 Subject: [PATCH] Add small TODO for edit box. --- redesign/postlist.nim | 3 +++ 1 file changed, 3 insertions(+) diff --git a/redesign/postlist.nim b/redesign/postlist.nim index 6446c88..2bce6f7 100644 --- a/redesign/postlist.nim +++ b/redesign/postlist.nim @@ -129,6 +129,9 @@ when defined(js): proc onEditClick(e: Event, n: VNode, p: Post) = state.editing = some(p) + # TODO: Ensure the edit box is as big as its content. Auto resize the + # text area. + proc onLoadMore(ev: Event, n: VNode, start: int, post: Post) = loadMore(start, post.moreBefore) # TODO: Don't load all!