Skip to content

[SelectPanel] single-select form support for eventually_local #3354

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 28 commits into from

Conversation

khiga8
Copy link
Contributor

@khiga8 khiga8 commented Feb 28, 2025

Relates to: https://github.com/github/primer/issues/3705#top

What are you trying to accomplish?

This PR introduces test coverage to validate that single-select form, **eventually_local** fetch strategy on SelectPanel is supported!

I discovered that multi-select for non-local strategies is not yet supported and will additional changes because e JavaScript in select-panel-element.ts overrides whatever hidden fields we add server-side. That should be addressed in a separate PR. I've started #3362 to add relevant previews/tests.

Integration

None of the eventually_local instances on dotcom involve forms, so this should not have any impact.

Risk Assessment

  • Low risk the change is small, highly observable, and easily rolled back.
  • Medium risk changes that are isolated, reduced in scope or could impact few users. The change will not impact library availability.
  • High risk changes are those that could impact customers and SLOs, low or no test coverage, low observability, or slow to rollback.

Anything you want to highlight for special attention from reviewers?

Merge checklist

  • Added/updated tests
  • Added/updated documentation
  • Added/updated previews (Lookbook)
  • Tested in Chrome
  • Tested in Firefox
  • Tested in Safari
  • Tested in Edge

Take a look at the What we look for in reviews section of the contributing guidelines for more information on how we review PRs.

Copy link

changeset-bot bot commented Feb 28, 2025

⚠️ No Changeset found

Latest commit: 3d861ed

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

Copy link
Contributor

github-actions bot commented Feb 28, 2025

⚠️ Visual or ARIA snapshot differences found

Our visual and ARIA snapshot tests found UI differences. Please review the differences by viewing the files changed tab to ensure that the changes were intentional.

Review differences

@khiga8 khiga8 force-pushed the kh-eventually-local-fetch-select-panel branch from 60744d5 to 7af8d4f Compare March 3, 2025 20:31
@khiga8 khiga8 requested review from emilybrick and TylerJDev March 3, 2025 20:50
@khiga8 khiga8 marked this pull request as draft March 3, 2025 20:51
@khiga8 khiga8 changed the base branch from kendallg/test-remote-select-panel-form to main March 3, 2025 20:51
@khiga8 khiga8 force-pushed the kh-eventually-local-fetch-select-panel branch from b63a6e4 to 20eafe7 Compare March 3, 2025 21:09
@khiga8 khiga8 changed the title [SelectPanel] feat: add form support for eventually_local [SelectPanel][tests] form support for eventually_local Mar 3, 2025
@khiga8 khiga8 force-pushed the kh-eventually-local-fetch-select-panel branch from e31155a to 855cd54 Compare March 3, 2025 21:47
@khiga8 khiga8 force-pushed the kh-eventually-local-fetch-select-panel branch from 2e38680 to f0c7059 Compare March 3, 2025 22:01
@khiga8 khiga8 changed the title [SelectPanel][tests] form support for eventually_local [SelectPanel][tests] single-select form support for eventually_local Mar 3, 2025
@khiga8 khiga8 changed the title [SelectPanel][tests] single-select form support for eventually_local [SelectPanel] single-select form support for eventually_local Mar 3, 2025
@khiga8 khiga8 changed the base branch from main to kendallg/test-remote-select-panel-form March 3, 2025 22:10
@khiga8 khiga8 requested a review from kendallgassner March 3, 2025 23:02
@khiga8 khiga8 marked this pull request as ready for review March 3, 2025 23:13
Base automatically changed from kendallg/test-remote-select-panel-form to main March 17, 2025 17:29
Copy link
Member

@TylerJDev TylerJDev left a comment

Choose a reason for hiding this comment

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

Awesome! LGTM! ✨

@khiga8 khiga8 marked this pull request as draft March 21, 2025 14:13
Copy link
Contributor

Hi! This pull request has been marked as stale because it has been open with no activity for 60 days. You can comment on the pull request or remove the stale label to keep it open. If you do nothing, this pull request will be closed in 7 days.

@github-actions github-actions bot added the Stale Automatically marked as stale. label May 20, 2025
@github-actions github-actions bot closed this May 27, 2025
@github-actions github-actions bot deleted the kh-eventually-local-fetch-select-panel branch May 27, 2025 15:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
minor release Stale Automatically marked as stale.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants