Open mfendeksilverstripe opened 1 year ago
From memory, you had to create a custom form builder, or extend the form builder for assets to get custom actions. Is that supported in the new react based forms for assets?
Not sure, this requires further investigation but I think there were some recent improvements to the React based UI. Maybe @maxime-rainville can chime in with some insight ;-)
From memory, we could extend form builder, and decorate the actions list. I don't remember how much control it gave over styling / layout / extra menus.
Then we just needed to add the actual action to the AssetAdmin controller (I think there's already a fluent extension that does this for other admins).
Hey @maxime-rainville is this something we can get prioritised?
Asset admin edit form actions
Looks like we don't have a proper locale aware customisation in the Asset admin actions UI in the edit form. This covers the case where content is being inherited from another locale. For example, for pages we would display UI indicating that you can localise the page (copy and copy & publish buttons instead of regular action buttons).
Individual asset actions
Publish buttons reflects the correct state but the rest of the UI needs tweaking.
Localisation badges
Content authors need to know if assets has localised content, inherited content or no content. We can achieve this by adding a badge to the asset card.
Batch actions
Impacted version
All versions (tested on version
6
).