fleetdm / fleet

Open-source platform for IT, security, and infrastructure teams. (Linux, macOS, Chrome, Windows, cloud, data center)
https://fleetdm.com
Other
3.12k stars 431 forks source link

Add Script Editor To Scripts View in Fleet UI #23767

Open nonpunctual opened 4 days ago

nonpunctual commented 4 days ago

RachelElysia commented 4 days ago

@nonpunctual Probably some kind of iteration to the designs in #22446 which allowed you to view, but add the ability to edit and click save.

nonpunctual commented 4 days ago

Related:

https://github.com/fleetdm/fleet/issues/19925#issuecomment-2374475068 https://github.com/fleetdm/fleet/issues/19582 https://github.com/fleetdm/fleet/issues/22452

From discussion:

I will say I think just viewing the script READ ONLY in a colorized script editor is safer to build.

Sometimes the query parser is wrong & that would happen even more with scripts because shell script syntax is looser so the parser would have to be less opinionated, ie, more potential uncaught errors

But, that said, whatever Jamf has is just some lib for text editing with some bells & whistles (ike VSCode or Sublime Text) in the web view

noahtalerman commented 3 days ago

Creating new issue from https://github.com/fleetdm/fleet/issues/19925#issuecomment-2374475068 per @zayhanlon

This issue is related to: https://github.com/fleetdm/fleet/issues/17993

This FR contributes to product maturity / MDM feature parity.

noahtalerman commented 3 days ago

@zayhanlon can you please add the Gong snippet for this request?

zayhanlon commented 3 days ago

@noahtalerman yes we can! this one came up on slack - https://fleetdm.slack.com/archives/C064WRT4F54/p1731510447893639 but we can bring it up on the call next week @pintomi1989 fyi

nonpunctual commented 3 days ago

@noahtalerman @zayhanlon @pintomi1989 added gong snippet