Skip to content
This repository was archived by the owner on Oct 16, 2026. It is now read-only.

feat(fuselage): Add truncate to ItemMeta - #2311

Draft
juliajforesti wants to merge 4 commits into
mainfrom
feat/item-meta-truncate
Draft

juliajforesti wants to merge 4 commits into
mainfrom
feat/item-meta-truncate

Conversation

@juliajforesti

@juliajforesti juliajforesti commented Oct 14, 2026 •

Copy link
Copy Markdown
Contributor

Proposed changes (including videos or screenshots)

Adds a truncate prop to ItemMeta. With it, long trailing meta text, such as a slash command's parameters, truncates with an ellipsis instead of pushing the title.

Adds a CommandSuggestions story to Item, with a unit test and visual snapshot.

Issue(s)

Related: RocketChat/Rocket.Chat#42520, which uses it in the composer's slash-command popup.

Further comments

Part of the Item migration, split into three independent PRs off main:

If #2310 merges first, this PR needs a rebase and yarn jest -u. Only generated React ids in the Item snapshots change.

🤖 Generated with Claude Code

juliajforesti and others added 4 commits October 14, 2026 11:30
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…stions` story

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@changeset-bot

changeset-bot Bot commented Oct 14, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: f76ce60

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@rocket.chat/fuselage Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

This branch has not been deployed

No deployments
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant