Skip to content

chore(chat): remove unused legacy MessageList and MessageNode - #1615

Merged
bmc08gt merged 1 commit into
code/cashfrom
chore/remove-legacy-message-list
Sep 29, 2026
Merged

bmc08gt merged 1 commit into
code/cashfrom
chore/remove-legacy-message-list

Conversation

@bmc08gt

@bmc08gt bmc08gt commented Sep 29, 2026

Copy link
Copy Markdown
Collaborator

The public MessageList in :ui:components has no callers: messenger renders its transcript with its own internal MessageList. MessageNode was only called from that legacy list, and everything under chat/messagecontents and chat/utils was reachable only through MessageNode, so those go too. The drawables and ui/components strings that only those files used go with them.

MessageNodeDefaults moves to its own file, since messenger's GatedTranscriptPlaceholder still uses it. MessageNodeOptions and MessageNodeScope are deleted because their only users were the removed messagecontents files.

A few ui/resources strings and ic_kin_white_small are now unreferenced. They're left for a separate change because that module's strings are shared and partly localized.

Messenger renders its transcript with its own internal MessageList, so the
public MessageList in :ui:components had no callers, and MessageNode was only
called from it. Everything under chat/messagecontents and chat/utils was
reachable only through MessageNode, so it goes too, along with the drawables
and ui/components strings that only those files used.

MessageNodeDefaults moves to its own file because messenger's
GatedTranscriptPlaceholder still uses it. MessageNodeOptions and
MessageNodeScope are deleted: their only users were the removed
messagecontents files.
@bmc08gt bmc08gt self-assigned this Sep 29, 2026
@github-actions github-actions Bot added type: chore Maintenance, config, CI/CD area: ui Compose UI, theme, components, resources and removed type: chore Maintenance, config, CI/CD labels Sep 29, 2026
@bmc08gt
bmc08gt merged commit e15cc13 into code/cash Sep 29, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: ui Compose UI, theme, components, resources

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant