Record list fields - #2927
Conversation
…ools-theme into record-list-fields
|
After a brief review manually and bigger Claude review, here's some preliminary things to fix: The issue may have been misleading about replacing all components in the filters, since some of the filter controls don't match the component normally used for that field. FiltersRegressions
Bugs
|
|
Here is a full Claude review I did locally while it had access to a dev site running the code: Code Review: Record List Fields → Web Components (
|
cairocoder01
left a comment
There was a problem hiding this comment.
Looking pretty good. A few things to clean up yet.
|
Some additional dead code that can be removed after you confirm it is for the old UI and not needed anymore: Dead code, safe to remove
|
…ools-theme into record-list-fields
|
@cairocoder01 I just updated this PR and it's ready for review again. Thanks! |
|
Looks like everything from the previous reviews has been addressed except for tags fields still showing the add new option. New IssuesHigh
|
|
@cairocoder01 I just made those changes! I also fixed an issue where Input fields weren't being disabled properly when selected "All With" or "All Without" checkboxes on text fields. |
|
Adding tags issue is resolved.
|
|
|
@corsacca Ready for your review |
|
Hey Guys! Nice work on these upgrades! ModalIf i add a location and then remove it, it does not get removed from the added filters: Same for Assigned to, connection fields (sometimes). Got Field picker
Other notes
|
|
@corsacca Thank you for the review! For removing location/connection custom filters still showing the labels:
For sanitization, I updated it originally because the sanitization in
I fixed the other issues and will push the changes once sanitization is figured out! |
|
Thanks @brady-lamansky-gtt! Did some back and forth with claude and i think we can update save_user_filter as so: Proposed replacement:
|
@brady-lamansky-gtt Since that component update has been released, you should update the component library version in |
|
@corsacca @cairocoder01 thank you! I Just made those changes |
|
@brady-lamansky-gtt, i'm not seeing the commit here. Try pushing again? |
Sorry I committed my changes but forgot to push! |
|
Reviewed the current PR head ( High1. $params['allow_add'] ?? true;This is a dead statement — the <?php echo $allow_add ? 'allowAdd' : null ?>>
$allow_add = true;
if ( isset( $params['allow_add'] ) ) {
$allow_add = $params['allow_add'];
} else if ( isset( $params['connection']['allow_add'] ) ) {
$allow_add = $params['connection']['allow_add'];
}
2. <?php echo ( isset( $params['single'] ) && $params['single'] === true ) ? 'single' : '';?>>Previously This isn't just cosmetic: the backend ( Fix: default to Everything else in this large PR (filters, saved-filter editing, sanitization rework, field picker) looks consistent with the fixes already discussed in the review thread. Once the two |












This resolves #2845 to replace record-list fields with dt-web-components. Filtering functionality was updated to accommodate the new changes & appeared to work properly, but more testing is likely needed.
I updated these things:
@cairocoder01 let me know any suggestions!
Related Components PR: DiscipleTools/disciple-tools-web-components#208