Skip to content

Suggest: do not embed the @components expansion links - #116

Merged
davisagli merged 1 commit into
mainfrom
kid/114/suggest-include-expansion-main
Aug 19, 2026
Merged

Suggest: do not embed the @components expansion links#116
davisagli merged 1 commit into
mainfrom
kid/114/suggest-include-expansion-main

Conversation

@reekitconcept

Copy link
Copy Markdown
Member

Refs #114, follow-up to #105 / #106.

Per @davisagli's review comment on #106 (#106 (review)): the full serialization in serialize_brain() also merged in expandable_elements(), so every fully serialized suggestion carried the @components dict (breadcrumbs, navigation, actions...) that the suggest dropdown never follows. Pass include_expansion=False alongside include_items=False.

This is a cherry-pick of the second commit of #115 (the feature-ai-rag counterpart), mirrored separately so the fix makes the v2 release ahead of the feature branch merge.

Test: test_full_serialization_omits_the_expansion_components added to the serialize_brain suite.

Follow-up to the include_items fix cherry-picked from #106, per David's
review comment on that PR: the full serialization also merged in
expandable_elements(), so every fully serialized suggestion carried the
@components dict (breadcrumbs, navigation, actions...) that the suggest
dropdown never follows. Pass include_expansion=False alongside
include_items=False.

This commit is kept separate from the cherry-pick so it can itself be
cherry-picked onto main for the v2 release, ahead of the feature branch
merge.

(cherry picked from commit e9a2b1e)
@davisagli
davisagli merged commit 98b9d7c into main Aug 19, 2026
19 checks passed
@davisagli
davisagli deleted the kid/114/suggest-include-expansion-main branch August 19, 2026 18:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants