activeadmin icon indicating copy to clipboard operation
activeadmin copied to clipboard

Adds hide_attribute to Resource DSL for hiding attribute from UI.

Open garo opened this issue 4 years ago • 1 comments

The hide_attribute is useful if the default index and show interfaces would be perfect without any customisation, except that one of more attributes (database columns) should just be completely hidden from the UI.

The hide_attribute works like the global Application filter_attributes setting which allows hiding certain attributes from every resource.

garo avatar Aug 01 '21 09:08 garo

Any comments from the maintainers?

garo avatar Aug 27 '21 05:08 garo

Personally, I'm not a fan in general with this and the defaults we use. I wouldn't accept this as I think ideally all pages should be declared by the AA user rather than dynamically generated. I wouldn't want the overhead of having to maintain this as well and the various combinations or side effects introduced. If other maintainers want though, it can be reopened.

javierjulio avatar Mar 12 '23 02:03 javierjulio