Edit Controls
# avo-2
c
Greetings to all, @lemon-wall-20836 Is that feature is available in AVO 2.28.3? Because I haven't found anything related to ResourceControlsComponent for the index page on AVO Doc.

https://cdn.discordapp.com/attachments/740893011994738751/1130478033174794370/Screenshot_2023-07-17_at_5.29.37_PM.png

l
Hi @curved-father-82134 , which component do you want to customize? Can you make the print with more context please?
Avo3 does have support for editable controls, check demo here https://main.avodemo.com/avo/resources/fish
Avo 2 doesn't have official support for editable controls except show controls (https://docs.avohq.io/2.0/customizable-controls.html#customize-the-controls)
c
@loud-jewelry-99127 Thanks for being here, I just want to update the edit icon to simple text.
l
Where, on each row of the table?
c
Yes, you are right.
@loud-jewelry-99127 Will this solution work in my case?

https://cdn.discordapp.com/attachments/1130478033418072074/1130481322989723648/Screenshot_2023-07-17_at_5.46.00_PM.png

l
No
That are for show controls

https://cdn.discordapp.com/attachments/1130478033418072074/1130481464555876362/image.png

this ones
Avo3 support customizable controls on each component, show, edit, row, index...
c
Yeah, this will work
One last thing, Is that Version stable?
l
What version?
c
3.0.0
l
We'll release an open beta soon
c
thank you.
l
To clarify the terminology, when we mention "show controls," we are referring to the links, buttons, and actions displayed at the top of the show page. On the other hand, "row controls" pertain to the controls that are present on each row of a table, enabling direct actions on a record from within the table.

https://cdn.discordapp.com/attachments/1130478033418072074/1130484330783838218/image.png

In Avo 3, there is built-in support for easily managing row controls, although the release is not yet available. However, if you are working with Avo 2 and need to modify row controls, it is possible by overriding and modifying the
app/components/avo/index/resource_controls_component.html.erb
file. Note that this approach is considered a monkey patch and can make the project's maintainability more challenging.
c
Alright, I will take care of it next time. "row controls" was my issue I wanted to update the icon to text e.g. "Edit"