Repository navigation
Conversation
Shortcuts like ;gg expand into the chat input on Space/Tab, or via the emote autocomplete menu. Pure matcher with node:test coverage. Co-Authored-By: Claude Opus 5.5 <[email protected]>
The editor writes the list directly to the provider, but the add-on read it via settings.get(), which only sees profile-prefixed keys, so the list was always empty and nothing expanded. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Previews resolve emote names against the Twitch and FFZ/BTTV/7TV tab-completion caches FFZ keeps on the emote provider and render them as inline images. Pure buildPreview() with node:test coverage. Co-Authored-By: Claude Opus 5.5 <[email protected]>
- validateShortcuts() flags rows parseShortcuts() would skip, plus names that include the prefix; shown inline in the editor. - Editor rows show the emote-rendered preview using the open chat's emotes. - Expansion logic moved to pure expandAt(); Backspace immediately after an expansion restores the original text. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
- Editor text fields autocomplete emotes with ':' (or Tab without colon), following the user's FFZ tab-completion settings. - With no chat open, the editor uses the user's global/personal FFZ, BTTV and 7TV emote sets. - Pure emote matching (emotes.js) mirroring FFZ's rules, with tests. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds Chat Shortcuts: user-defined shortcuts like
;ggthat expand into text in the chat input. Text is only ever placed in the input — nothing is sent automatically.Features
;name+ Space/Tab expands in place; Backspace immediately after undoes it.;).Notes for reviewers
buildTwitchCache/buildFFZCacheand theffz_twitch_cache/ffz_ffz_cache/_ffz_*fields on the emote provider, mirroringinline-tab-completion's approach. All hooks are wrapped in try/catch and fall back to default behavior.shortcut-list-editor.vue(same pattern as CustomCmds). Shortcuts are stored directly on the settings provider (global, not per-profile).matcher.js,preview.js,emotes.js) hasnode:testcoverage in*.test.js; these aren't webpack entries. Happy to drop them if you'd rather not have test files in the repo.🤖 Generated with Claude Code