Skip to content

Merge window#221

Merged
bryans99 merged 4 commits into
masterfrom
merge-window
Jun 11, 2025
Merged

Merge window#221
bryans99 merged 4 commits into
masterfrom
merge-window

Conversation

@bryans99

Copy link
Copy Markdown
Collaborator

No description provided.

bryans99 added 2 commits June 10, 2025 16:54
1. Adds types and listeners for cancellable merge edit.
2. Adds demo of how to render merge edit in a embedded
host application.
3. Deprecates getLookerVersion and replaces with getLookerMajorVersion
   and getLookerMinorVersion
4. Deprecates LookerUrlParam and provides alternate LookerUrlArgs
@bryans99 bryans99 requested a review from a team as a code owner June 10, 2025 16:58

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Summary of Changes

Hello @bryans99, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request enhances the embed SDK by adding support for the dashboard:tile:merge event. This allows embedding applications to intercept the default behavior of editing merged queries from dashboard tiles and implement custom handling, such as opening the edit page in a new window. A new demo page is included to showcase embedding the merge query edit experience.

Highlights

  • New Event Support: Added support for the dashboard:tile:merge event in the embed SDK. This event is fired when a user attempts to edit a merged query from a dashboard tile.
  • Custom Merge Edit Handling: Introduced a canceller callback (openMergeQuery) that intercepts the dashboard:tile:merge event. This callback prevents the default behavior (opening the edit page within the same iframe) and instead opens the merge query edit page in a new browser window.
  • New Demo Page: Added a new demo page (demo/demo_merge_edit_frame.html and .ts) specifically designed to demonstrate embedding the 'Edit Merge Query' page itself.
  • Main Demo Update: Updated the main single-frame demo page (demo/demo_single_frame.ts) to utilize the new dashboard:tile:merge event handler, ensuring consistency in how merge query edits are handled across demo contexts.
  • Documentation: Added documentation for the new DashboardTileMergeEvent interface and updated existing documentation files to reflect the new event and associated types.
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point in your pull request via creating an issue comment (i.e. comment on the pull request page) using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in issue comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist is currently in preview and may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments to provide feedback.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configureGemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request introduces functionality for handling merge query edits in a separate window, including new demo files (demo_merge_edit_frame.html and demo_merge_edit_frame.ts) and event handling for dashboard:tile:merge. It also includes updates to documentation to reflect new event types and interfaces.

My review focuses on improving type safety in the new TypeScript code and correcting a conditional logic for version checking. These changes will enhance code robustness and maintainability.

bryans99 and others added 2 commits June 10, 2025 17:57
Bumps [http-proxy-middleware](https://github.com/chimurai/http-proxy-middleware) from 2.0.7 to 2.0.9.
- [Release notes](https://github.com/chimurai/http-proxy-middleware/releases)
- [Changelog](https://github.com/chimurai/http-proxy-middleware/blob/v2.0.9/CHANGELOG.md)
- [Commits](chimurai/http-proxy-middleware@v2.0.7...v2.0.9)

---
updated-dependencies:
- dependency-name: http-proxy-middleware
  dependency-version: 2.0.9
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
@bryans99 bryans99 merged commit 968a56c into master Jun 11, 2025
7 checks passed
@bryans99 bryans99 deleted the merge-window branch June 11, 2025 00:02
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