Skip to content

Adjust Card Chooser search bar to include Realm picker#3941

Open
FadhlanR wants to merge 3 commits intomainfrom
cs-10089-card-chooser-realm-picker
Open

Adjust Card Chooser search bar to include Realm picker#3941
FadhlanR wants to merge 3 commits intomainfrom
cs-10089-card-chooser-realm-picker

Conversation

@FadhlanR
Copy link
Contributor

@FadhlanR FadhlanR commented Feb 3, 2026

Screen.Recording.2026-02-04.at.15.28.47.mov

@github-actions
Copy link

github-actions bot commented Feb 3, 2026

Host Test Results

    1 files  ±0      1 suites  ±0   1h 45m 8s ⏱️ -6s
1 942 tests +5  1 925 ✅ +5  17 💤 ±0  0 ❌ ±0 
1 957 runs  +5  1 940 ✅ +5  17 💤 ±0  0 ❌ ±0 

Results for commit 8f8d335. ± Comparison against base commit f4e9cf3.

♻️ This comment has been updated with latest results.

@github-actions
Copy link

github-actions bot commented Feb 3, 2026

@FadhlanR FadhlanR marked this pull request as ready for review February 4, 2026 14:09
@FadhlanR FadhlanR requested a review from a team February 4, 2026 14:09
Copy link

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 8f8d335944

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment on lines 216 to +220
@onChange={{this.onChange}}
@placeholder={{@placeholder}}
@disabled={{@disabled}}
@renderInPlace={{this.renderInPlace}}
@matchTriggerWidth={{true}}
@renderInPlace={{@renderInPlace}}
@matchTriggerWidth={{@matchTriggerWidth}}

Choose a reason for hiding this comment

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

P1 Badge Restore default renderInPlace to avoid dropdown escaping

By switching to @renderInPlace={{@renderInPlace}} without a default, any Picker usage that doesn’t pass @renderInPlace now sends undefined into Ember Power Select. ember-basic-dropdown treats undefined as false, so the dropdown renders to the document body instead of in-place. This is a behavior change from the prior default (always in-place) and will cause pickers like the new realm picker to escape overflow/positioning contexts (e.g., inside the search sheet) and can break click-outside behavior and styling. Consider preserving the previous default (true) when the argument is omitted.

Useful? React with 👍 / 👎.

Copy link
Contributor

@backspace backspace left a comment

Choose a reason for hiding this comment

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

I tried this via the preview deployment, looks good. Maybe it’s called for in the design but I do find it a bit awkward that the checked realms disappear immediately upon click:

Image

I don’t know where to find discussion of this but I think the best practice is to keep things stable until the cursor has left the area, because if I changed my mind about including a realm, I now have to scroll up to find it to unclick it


get renderInPlace() {
return this.args.renderInPlace ?? true;
}
Copy link
Contributor

Choose a reason for hiding this comment

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

I don’t know all the places this is used so maybe Codex’s comment is overly imaginative, but it does seem sensible to me to provide a default for this vs leaving it undefined if the consumer doesn}t pass anything in

type: 'option',
});
}
console.log(options);
Copy link
Contributor

Choose a reason for hiding this comment

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

Did you mean to leave this in?

}
.realm-picker__loading-label {
font-weight: 500;
}
Copy link
Contributor

Choose a reason for hiding this comment

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

These are probably an LLMism but IMO since we’re using scoped CSS there‘s no reason to use BEM-style class names.

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