Commit Graph
8 Commits
Author SHA1 Message Date
Peter Bui 9eb3665fa7 fix: improve building comment tree (#40)
As we build the map of nodes, keep track of the minimum depth level.
Afterwards, nodes at the minimum depth level go into the tree as the
roots.

We no longer need to check if the tree belongs to a parent comment or
not.

Fixes #36 more.
2023-07-28 20:37:44 -07:00
Xyphyn 590eedc0fb misc: minor tweaks 2023-07-28 18:52:37 -07:00
Xyphyn 55a3b5cfb8 Revert "misc: possibly fix comments not working"
This reverts commit fa20d7a6a8.

	modified:   src/lib/components/lemmy/comment/Comments.svelte
	modified:   src/lib/components/lemmy/comment/comments.ts
2023-07-28 16:25:43 -07:00
Xyphyn fa20d7a6a8 misc: possibly fix comments not working 2023-07-28 14:48:40 -07:00
Xyphyn 0fb17f626f fix: Make child loading indicator only appear on parent 2023-07-19 16:09:24 -07:00
Xyphyn b0f3e01f5a misc: Split post component into more components 2023-07-18 16:38:45 -07:00
Xyphyn 32a5641a0d feat: Add 'load more' to allow infinite comment trees 2023-07-07 13:45:59 -07:00
Xyphyn 04704749b7 i forgot whatever i've been doing, i think i added an inbox 2023-07-04 18:45:15 -07:00