link_to_record: true, remember ?via_record_id=xxx&via_resource_class=yyy #3475
Labels
Enhancement
Not necessarily a feature, but something has improved
Help wanted
We could use some help with this
Stale exempt
Feature
see https://www.loom.com/share/eb42935e2725476f945e60b79ff84d40
When clicking on rows within an association and you have the
link_to_record: true
,we go the right record ✅ but forget the association ❌ which makes the user experience inconsistent
This is especially the case with the global
config.click_row_to_view_record = true
which does the right thing on all non belongs-to columns, but forgets about the via_record_id parameter on belongs_to fields...Current workarounds
switch all :belongs_to to :text and
format_using
in!view.form?
but feels very dirtyThe text was updated successfully, but these errors were encountered: