A list read shipped every article's body, and a category page listed nothing

FixKBService
Ya
2 Septemba 2026, 04:26 UTC
Mwandishi
Kamo
Ahadi ya
61e762b

Two defects on the public reads, both visible on kamocrm.com/help-center. The index served 3.9 MB of HTML. tree-by-parent-slug returns every node with its full contentJson and contentPlainText, so the entire knowledge base -- 307 Lexical documents -- was serialized into the page in order to render sixteen headings and a list of titles. List reads now carry a 220-character excerpt instead, which is what a card actually shows and about one percent of the size. The single-article reads keep the body; listNode is a separate step from node precisely so they cannot lose it by accident. A category page rendered "In this section" above nothing. single() set hasChildren and never set the children themselves, so a visitor who reached /help-center/crm arrived at a dead end with eight sections one level below them and no way to see any of them. childLinks now carries them -- a list of links, not a nested copy of the subtree, which is how a list view ends up dragging a whole branch along. Tree nodes also gain descendantCount, and links gain childCount, so a directory can say how big a section is without asking again.

Mabadiliko yote

Je, unaona nini kuhusu usafiri?

Kila moja ya hizi updates ardhi katika nafasi yako ya kazi moja kwa moja. Kuanza bure na kuangalia kukua wiki baada ya wiki.

Kuwa Huru MileleMtazamo wa bei