icon-action-toolbar icon indicating copy to clipboard operation
icon-action-toolbar copied to clipboard

Enhancement request! Only use these icons for specific resource or actions.

Open superuser-me opened this issue 1 year ago • 5 comments

It works perfectly fine but can we have a option to just use it for specific actions or resource?

i want to use this to show icon for standalone action, not for whole Nova Panel.

superuser-me avatar Nov 21 '23 18:11 superuser-me

Also In default installation it got duplicate icons(delete) in every resources. Also 5 icons on every row looks very cluttered, Nova's default style is good here. please allow us to use nova's default styles.

Your package is great btw. CleanShot 2023-11-21 at 11 40 54 PM@2x

superuser-me avatar Nov 21 '23 18:11 superuser-me

same issue duplicate delete button

bocanhcam avatar May 22 '24 06:05 bocanhcam

Ok, I'm having same situation with delete icon, when any of action has ->sole() method, delete icon is doubled.

webard avatar Jun 11 '24 19:06 webard

Hello,

Same problem here.

image

Delete button is duplicated.

Moving further:

I can see the following code in this package:

            if (resource.authorizedToDelete && !resource.softDeleted && Nova.$router.page.component !== 'Nova.Index') {

                actions.push({
                    name: __('Delete Resource'),
                    uriKey: '__delete-resource-action__',
                    iconActionToolbar: { icon: config.icons.delete_resource },
                    onClick: () => instance.parent.ctx.openDeleteModal(),
                })

            }

I guess that's where the main problem lies. I also use https://github.com/eminiarts/nova-tabs package, and probably the router behaviour is different.

vbezruchkin avatar Dec 16 '24 04:12 vbezruchkin

+1 here

scramatte avatar Dec 24 '24 00:12 scramatte