Skip to content

merge: chat emoji autocomplete and ui - #6

Merged
burgerfan41 merged 1 commit into
EdenGuild:masterfrom
SirKaiMartin:master
Jul 13, 2026
Merged

merge: chat emoji autocomplete and ui#6
burgerfan41 merged 1 commit into
EdenGuild:masterfrom
SirKaiMartin:master

Conversation

@SirKaiMartin

Copy link
Copy Markdown
Contributor

TL;DR
Adds in-chat Eden emote tools: inline :shortcode: rendering while typing, emote autocomplete, and a chat emote picker with favorites/settings. It also changes /eden emojis so it opens the picker instead of printing a clickable emote list in chat.

User-facing functional changes

  • Complete :shortcode: tokens now render as inline emotes directly inside the chat box while you type.
  • Chat now offers emote autocomplete when you type a :shortcode fragment.
  • A chat emote picker can now be opened from chat and from /eden emojis.
  • The picker supports inserting emotes at the current chat cursor position.
  • The picker supports favorites, a favorites-only view, and configurable picker layout/settings.
  • The Eden config screen now includes a Chat emote tools setting to control the chat emote UI/autocomplete behavior.

Quick user info

  • Typing a full emote shortcode like :cartiye: keeps the raw text in your chat input, but shows the emote glyph visually while editing.
  • Autocomplete suggests matching emotes as you type and supports keyboard navigation plus mouse selection.
  • The emote picker defaults to a middle-click binding.
  • Middle-clicking an emote inside the picker toggles it as a favorite.
  • The picker can be configured to show only favorites, and autocomplete can also be restricted to favorites only.
  • Picker layout/settings persist in the mod config, including rows, columns, favorites, and open-position behavior.

New / changed commands

  • Changed: /eden emojis now opens the chat emote picker
  • Changed: /eden help now describes /eden emojis as opening the picker instead of listing emotes

Fixes / Adjustments

  • Added a dedicated chat-screen mixin for chat emote UI behavior.
  • Added config migration for older chat emote toggle data into the new tools-mode setting.
  • Added picker open modes for cursor, centered, and custom positions.
  • Polished picker interactions so favorites, settings, scrolling, and insertion behave cleanly together.
  • Removed older/unused chat emote overlay artifacts from earlier iterations.

CHANGES

* feat: render chat emotes inline while typing
- add a chat-screen mixin that formats complete :shortcode: tokens inside the editor
- introduce ChatEmoteFormatter to swap known shortcodes to emote glyphs without changing the underlying input text
- register the chat-screen mixin in the client mixin config

* feat: add chat emote autocomplete
- detect active :shortcode fragments in the chat editor and suggest matching emotes
- render autocomplete rows with both the emote preview and its shortcode text
- support keyboard navigation and mouse selection across a scrolling suggestion window

* feat: add an emote picker with favorites and settings
- add a right-click chat picker for emotes with paging, inline previews, and insertion at the current chat cursor
- support middle-click favorites, a favorites-only filter, and picker-side grid/autocomplete settings
- persist chat emote UI state in BridgeConfig, including picker rows, columns, favorites, and the global chat emote tools toggle
- expose the global chat emote tools toggle in the /eden config screen

* feat: polish chat emote picker interactions
- keep the emote grid interactive for middle-click favorites even while the detached settings panel is open
- stop showing follow-up autocomplete suggestions after an emote has been inserted into chat
- place the settings menu icon to the right of the favorite star in the picker header

* chore: remove unused chat emote overlay artifacts
- drop stale picker constants left over from earlier icon and slider iterations
- remove an unused picker row helper that no longer participates in layout or scrolling

* feat: open the emote picker from /eden emojis
- replace the old clickable emoji chat output with a centered picker opener
- queue the picker open through the client singleton so it works whether chat is already open or must be opened first
- consume the pending picker request inside the chat overlay mixin and open the picker at screen center
@burgerfan41
burgerfan41 merged commit d0bf56d into EdenGuild:master Jul 13, 2026
1 check failed
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