-
-
Notifications
You must be signed in to change notification settings - Fork 249
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
[WIP & Experimental] fix: prevent memory bloat in associations when searchable is set to false #2646
Conversation
…earchable is set to false
Code Climate has analyzed commit a321956 and detected 0 issues on this pull request. View more on Code Climate. |
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Commented tests need refactor to test scenarios with |
def new | ||
@resource.hydrate(record: @record) | ||
end | ||
|
||
def options |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To increase performance we can serialize and encrypt the query and pass from new to options through params avoiding the query compute on each options request.
Closing to keep the PR list clean. |
Description
This is just a POC of
hotwire_combobox
implementation to replace the attach modal select.Can be intersting to implement
hotwire_combobox
on belongs to field and replace every select / searchable interface withhotwire_combobox
.As a con
hotwire_combobox
have dependency on rails 7 which breaks avo support for rails lower than 7.Fixes #2406
Screen.Recording.2024-03-29.at.17.04.32.mov
Checklist:
Screenshots & recording
Manual review steps
Manual reviewer: please leave a comment with output from the test if that's the case.