Skip to content

Clear selected resource when role type changes#5574

Merged
janeewheatley merged 1 commit into
rubyforgood:mainfrom
Will-thom:fix-clear-role-resource-on-type-change
May 31, 2026
Merged

Clear selected resource when role type changes#5574
janeewheatley merged 1 commit into
rubyforgood:mainfrom
Will-thom:fix-clear-role-resource-on-type-change

Conversation

@Will-thom
Copy link
Copy Markdown
Contributor

@Will-thom Will-thom commented May 24, 2026

Fixes #5565. Summary: clear the selected resource whenever the role resource type changes in the double select controller; add a system spec covering the Organization to Partner switch without selecting a new partner resource. Validation: git show --check; node --check app/javascript/controllers/double_select_controller.js. Local RSpec was not run because Ruby is not available on this machine. The regression is covered by the added system spec and ready for the project's CI.

@Will-thom Will-thom marked this pull request as ready for review May 24, 2026 15:51
@dorner
Copy link
Copy Markdown
Collaborator

dorner commented May 29, 2026

Looks OK, but the fact that "Ruby is not available on this machine" makes me leery of this. @ruestitch @janeewheatley over to you for QA.

@janeewheatley
Copy link
Copy Markdown
Collaborator

janeewheatley commented May 31, 2026

I pulled this down and verified locally. Nice job!

@janeewheatley janeewheatley merged commit 990985a into rubyforgood:main May 31, 2026
16 of 17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

3 participants