Skip to content

Keep the previous preview while the template re-renders - #47

Merged
chrisllontop merged 1 commit into
chrisllontop:show-languages-in-the-dashboardfrom
akemihiga:show-languages-in-the-dashboard
Oct 30, 2026
Merged

chrisllontop merged 1 commit into
chrisllontop:show-languages-in-the-dashboardfrom
akemihiga:show-languages-in-the-dashboard

Conversation

@akemihiga

Copy link
Copy Markdown
Contributor

Summary

  • Keep the last rendered subject and metadata visible while the template preview query refetches after edits, using placeholderData: keepPreviousData on the editor preview query (same pattern as Deliveries and Schedules).

Test plan

  • Open a template email channel, switch to a non-default language, edit the HTML body and confirm the Subject line no longer blinks empty between debounced preview requests.
  • Confirm the email iframe still updates after typing stops (expected full reload).

Complements #46.

@chrisllontop
chrisllontop merged commit c43e8a5 into chrisllontop:show-languages-in-the-dashboard Oct 30, 2026
1 check passed
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