feat: chat widget redesign, branding & sound/timestamp controls#173
Open
HardeepAsrani wants to merge 3 commits into
Open
feat: chat widget redesign, branding & sound/timestamp controls#173HardeepAsrani wants to merge 3 commits into
HardeepAsrani wants to merge 3 commits into
Conversation
7f83eb0 to
0754cb5
Compare
3b68f4b to
f480aac
Compare
abaicus
approved these changes
Jun 30, 2026
- Redesign the frontend chat widget (header with avatar/name/status, modern bubbles, pill input, refined launcher, entrance animation). - Add a global "Chat Sound" toggle and a per-visitor mute control in the chat menu; remove the open/close click sound. - Add a "Message Timestamp" show/hide toggle. - Show the welcome message and suggested questions on first load of the inline chat block. - Inline the chat-button SVGs server-side (no runtime fetch / icon flash) and use a bundled SVG as the default icon instead of an emoji. - Keep the typing dots, suggestion chips, and menu legible on similar colors, and theme the menu from the chat colors. - Resolve outstanding PHPStan issues (gmdate guard, require_once ignore).
f480aac to
450dbce
Compare
Member
Author
|
@copilot resolve the merge conflicts in this pull request |
Merge conflicts resolved in commit 5d25be9.
|
# Conflicts: # inc/Main.php # src/frontend/App.js Co-authored-by: HardeepAsrani <2649903+HardeepAsrani@users.noreply.github.com>
5d25be9 to
0d47983
Compare
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.
Pro PR: https://github.com/Codeinwp/hyve/pull/213
Modernizes the chat widget and adds the customization options requested across several issues. Branding/preview bits that are Pro-only live in the companion Hyve PR (Codeinwp/hyve), which links back here.
What's included
Redesigned chat widget
Appearance settings are now available for free
Chat position
Live Customization Preview (Codeinwp/hyve#207 and Codeinwp/hyve#214)
Suggested questions (Codeinwp/hyve#190)
Sound controls (Codeinwp/hyve#161)
Message timestamp (part of Codeinwp/hyve#179)
Inline chat block fix (Codeinwp/hyve#171)
Readability/theming fixes
Closes Codeinwp/hyve#171
Closes Codeinwp/hyve#161
Closes Codeinwp/hyve#190
Closes Codeinwp/hyve#179
Closes Codeinwp/hyve#105
Closes Codeinwp/hyve#207
Closes Codeinwp/hyve#214
QA
Chat widget (frontend)
Inline block (Codeinwp/hyve#171)
4. Add the "Chat Inline" block to a page and view it logged-out / in a fresh browser. On first load it should already show the welcome message + suggested questions (not an empty box).
Sound (Codeinwp/hyve#161)
5. General settings → set Chat Sound to Enable. On the frontend, sending and receiving a message plays a soft ping; opening/closing the chat is silent.
6. Open the chat menu (⋯) → Mute Sound → confirm no more sounds, and that it stays muted after a reload. Unmute restores it.
7. Set Chat Sound to Disable → no sounds at all, and the per-visitor Mute option disappears from the menu.
Chat position (Appearance)
8. Appearance settings → set Chat Position to Left → the chat button and window move to the bottom-left of the screen; set back to Right → they return to the bottom-right.
Timestamp (part of Codeinwp/hyve#179, Appearance)
9. Appearance settings → Message Timestamp = Hide → messages show no time. Set to Show → the time appears under each message.
Color readability
10. (Using the Pro Appearance colors) set the chat, assistant, user, and icon colors to similar shades — first all light, then all dark. Confirm the typing dots, the suggestion button labels, and the ⋯ menu remain readable, and that the menu matches the chosen colors.