Skip to content

Conversation

@georgyangelov
Copy link
Contributor

Allows overriding what happens when the Login button in the header is clicked. In some cases we want to be able to open a popup, not just render a user/pass dialog as in current Scratch.

Proposed Changes

Exposes onClickLogin event to the embedder app. Preserves current behavior if it's not passed.

Reason for Changes

NGP

Test Coverage

I have not ^^ but current tests should still pass.

Allows overriding what happens when the Login button in the header
is clicked. In some cases we want to be able to open a popup, not
just render a user/pass dialog as in current Scratch.
@github-actions
Copy link

github-actions bot commented Oct 22, 2025

Test report for scratch-gui

  2 files  ±0   62 suites  ±0   9m 5s ⏱️ -42s
398 tests ±0  390 ✅ ±0  8 💤 ±0  0 ❌ ±0 
416 runs  ±0  408 ✅ ±0  8 💤 ±0  0 ❌ ±0 

Results for commit a630a64. ± Comparison against base commit 9a14ef1.

♻️ This comment has been updated with latest results.

Copy link
Contributor

@KManolov3 KManolov3 left a comment

Choose a reason for hiding this comment

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

Looks good and safe

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.

3 participants