feat(dashboard): add dashboard:refresh embed event and refresh() method - #267
Open
bwebs wants to merge 1 commit into
Open
feat(dashboard): add dashboard:refresh embed event and refresh() method#267bwebs wants to merge 1 commit into
bwebs wants to merge 1 commit into
Conversation
bwebs
force-pushed
the
bryan/feat-dashboard-refresh
branch
2 times, most recently
from
August 10, 2026 22:51
aa96fa0 to
a0d293f
Compare
…od (#266) Add support for the dashboard:refresh embed event and a corresponding refresh() method on DashboardConnection and ILookerEmbedDashboard. - Add LookerDashboardRefreshOptions interface to src/types.ts - Add refresh(options?: LookerDashboardRefreshOptions) to ILookerEmbedDashboard and ILookerConnection - Implement refresh() in DashboardConnection and EmbedConnection - Add typed entry for dashboard:loaded in LookerEmbedEventMap - Add unit tests in DashboardConnection.spec.ts and EmbedConnection.spec.ts - Add UI controls and event handlers to demo pages Closes #266
bwebs
force-pushed
the
bryan/feat-dashboard-refresh
branch
from
August 12, 2026 08:00
81451a2 to
1740a19
Compare
bwebs
marked this pull request as ready for review
August 12, 2026 08:02
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.
Summary
Add support for the
dashboard:refreshembed event and a correspondingrefresh(options?: LookerDashboardRefreshOptions)method onDashboardConnectionandILookerEmbedDashboard.Closes #266
Changes
LookerDashboardRefreshOptionsinterface (run?: boolean,delay?: number).refresh(options?: LookerDashboardRefreshOptions): Promise<void>toILookerEmbedDashboardandILookerConnection.'dashboard:loaded'inLookerEmbedEventMap.DashboardConnection.refresh(options?: LookerDashboardRefreshOptions)usingsendAndReceive('dashboard:refresh', options).EmbedConnection.refreshdelegation fordashboardspage type.refresh()andrefresh(options)intests/DashboardConnection.spec.ts.refresh()intests/EmbedConnection.spec.ts.demo_single_frame,demo_multi_frame, andmessage_example.Verification
npm run lintpassesnpm testpasses (all 149 tests across 11 test suites)npm run buildcompiles clean bundle and type declarations