ChrisYounger / config_explorer

Config viewer and file editor for Splunk. Based on VSCode.
GNU Affero General Public License v3.0
28 stars 7 forks source link

Custom actions buttons are inactive #21

Closed a-l-h closed 3 years ago

a-l-h commented 3 years ago

Hello Chris,

Huge thanks for your App, I use it every day, it makes everything easier! 🙏🏻🙏🏻🙏🏻

I have just discovered custom actions so I am trying to set one from the provided examples first.

My local/config_explorer.conf:

[global]
write_access = true
run_commands = true

[action:restart_splunk]
label = restart splunk
action = run-safe:echo restart splunk triggered; nohup sh -c "sleep 2; ./bin/splunk restart" >/dev/null 2>1 &
order = 90

The 'restart splunk' button appears but remains inactive: it is not clickable, the cursor does not switch to a hand when mousing over.

Not sure if I missed something of if it is an issue.

Thanks again,

Alexis

ChrisYounger commented 3 years ago

Hi Alexis, glad the app is helpful to you. Interesting problem, I am not sure why it is happening as it seems like you have done the correct steps. Can you please give me some more information so I can try find out the root cause? What browser are you using? Do the default buttons (such as btool check) work correctly? Can you provide a screenshot?

Thanks for reporting this issue and your assistance

a-l-h commented 3 years ago

Hello Chris,

Sorry for the very late answer.

It turns out that it must be a company Chrome browser related issue because:

Thanks anyhow for the feedback and thanks a lot again for the App!

ChrisYounger commented 3 years ago

Thanks for the update