Expand description
The thread view for Avestruz: the conversation one note is part of, in reading order, in a scroller.
Every note is under the one it answers, set in from it. The popup is narrow, so only the first few answers deep are set in further; past that a note keeps the place of the one above it. The note the thread was opened for is picked out, and shows in full; a click on any other opens that noteβs thread over this one.
ConstantsΒ§
- FOCUSED_
PADDING π - FOCUSED_
RADIUS π - FOCUSED_
TINT π - How strongly the accent colour tints the note the thread was opened for, and how much room the tint has around the note.
- THREAD_
GUIDE_ πGAP - The gap between the line that marks an answer and the answer.
- THREAD_
INDENT π - How far an answer is set in from the note it answers, and how many answers deep that goes on.
- THREAD_
MAX_ πINDENTS
FunctionsΒ§
- estimated_
row_ height - How tall a thread row will be, near enough, before it has been laid
out, set in
sizesin a listwidthwide, with the long notes amongexpandedin full. An answer set in is a little narrower than the estimate assumes, and so sometimes a line taller: the list finds out when the row is in view. - picked_
out π note, the row of the note the thread was opened for, picked out from the others by a tint of the accent colour.- set_in π
note, the row of an answerdepthdeep, set in under what it answers with a line down its left.