Skip to content

Conversation

@joepavitt
Copy link
Contributor

@joepavitt joepavitt commented Nov 13, 2024

Description

  • Adds new widget-sync event
  • Updates Events Architecture & in-app helper text to detail the new functionality
  • The new event ensure that multiple clients all reflect the single source of truth, without a need to refresh the page
  • This functionality is locked behind the same validClient test that the msg._client data is, so that functionality is now a consistent "single source of truth" vs. "separate clients" toggle.

Notes

I will be following this up with #1294 as it'll clean the custom onSync functions out entirely, but was no need to merge it all together in the name of iteration.

Related Issue(s)

Closes #679

@joepavitt joepavitt requested a review from Steve-Mcl November 13, 2024 10:15
@joepavitt joepavitt mentioned this pull request Nov 22, 2024
10 tasks
@joepavitt joepavitt requested a review from Steve-Mcl November 29, 2024 16:52
@joepavitt joepavitt merged commit 85a9cf1 into main Dec 4, 2024
1 of 2 checks passed
@joepavitt joepavitt deleted the 679-sync-widgets branch December 4, 2024 16:34
@bartbutenaers bartbutenaers mentioned this pull request Jan 9, 2025
10 tasks
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.

Clients get out of sync from centralised datastore

4 participants