Skip to content
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

Add a RemoteSelect base component #2616

Merged
merged 4 commits into from
Nov 22, 2023

Conversation

tvdeyen
Copy link
Member

@tvdeyen tvdeyen commented Nov 21, 2023

What is this pull request for?

Extracts whats common on NodeSelect and PageSelect into a RemoteSelect base component

Also fixes a filtering bug in the recently added NodeSelect

Checklist

  • I have followed Pull Request guidelines
  • I have added a detailed description into each commit message
  • I have added tests to cover this change

@tvdeyen tvdeyen added this to the 7.1 milestone Nov 21, 2023
@tvdeyen tvdeyen requested a review from a team November 21, 2023 20:40
@tvdeyen tvdeyen force-pushed the remote-select-component branch 3 times, most recently from 2b56122 to bdf87c9 Compare November 22, 2023 07:57
Useful for dispatching custom `Alchemy` prefixed events.
@tvdeyen tvdeyen force-pushed the remote-select-component branch from bdf87c9 to 5fa2cac Compare November 22, 2023 08:12
Extracts whats common on NodeSelect and PageSelect into a RemoteSelect base component
The param used for ransack is filter and not q
Also we need to safelist the page association.
Since this has a uniquness validation it is not possible to have more
than 3 of it. That makes it hard to test many pages manually.
@tvdeyen tvdeyen force-pushed the remote-select-component branch from 956edea to 9274425 Compare November 22, 2023 09:42
@tvdeyen tvdeyen enabled auto-merge November 22, 2023 09:42
@tvdeyen tvdeyen merged commit 29eca96 into AlchemyCMS:main Nov 22, 2023
29 checks passed
@tvdeyen tvdeyen deleted the remote-select-component branch November 22, 2023 09:46
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