Repository navigation
Render the front-end chat with a front:chat tag - #34
Merged
Merged
Conversation
edalzell
added this pull request to stack #35
October 14, 2026 01:51
edalzell
force-pushed
the
feature/chat-tag
branch
from
October 14, 2026 01:58
b6861ea to
adcae69
Compare
Merged
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.
The shipped front-end integration didn't work:
head.antlers.htmlwas never registered as a view (loadViewsFromwas commented out) and it fetched/front/config, while the addon's route was/!/front/config. transformstudios.com only works because it copied both the partial and aFrontConfigControllerinto the app.Replaces all of it with
{{ front:chat }}, which renders the Front loader plus an inlineFrontChat('init', …)with the current user's details embedded server-side viaJs::from, so there's no JSON endpoint, controller or extra request. It renders nothing unlessshow_on_front_end, the chat id and the secret key are all set.ChatConfignow emitsuserHash(Front's own option name) so both the tag andcp.jsspread the config straight intoinit.Breaking:
/!/front/configis gone. Consumers swap their copied partial/controller for{{ front:chat }}in the layout head.Stacked on #33.