Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Checkbox for multiple optional policies #64

Open
MichaelLambert78 opened this issue May 24, 2023 · 5 comments
Open

Checkbox for multiple optional policies #64

MichaelLambert78 opened this issue May 24, 2023 · 5 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@MichaelLambert78
Copy link

Note: While all requests are welcome, finding available cycles to custom-code a feature we won't use in our production environment is always challenging.

Is your feature request related to a problem? Please describe.
A clear, concise description of the problem. (i.e., I'm frustrated when ...)
No

Describe the solution you'd like
A clear, concise description of what you want to happen.
Would like to give the user the option to enable or disable an optional policy. For example, we currently utilize two different configurations, one with and one without Office. In this feature request I would like to be able to have a checkbox with Office checked and the user have the option to uncheck it if desired, as well as enable other options as desired (if we find more we'd like to use)

Describe alternatives you've considered
A clear, concise description of any alternative solutions or features you've considered.
Stick to using current solutions that are built in

Additional context
Add any other context or screenshots about the feature request here.

@rougegoat
Copy link
Contributor

Can you clarify if your request is for changing the dropdown that you pick your configuration from into a checkbox or if it's something closer to the example on the swiftDialog 2.2 announcement?
234565903-dad6db14-60c3-46aa-9a11-041aeeca8ffc
The former I think was added in 1.11.0, but the latter would probably require a rewrite of how the policyJSON is generated. It'd probably need an extra page added as well depending on how many options you'd be giving the user.

@MichaelLambert78
Copy link
Author

The example is more in line of what I was envisioning when I thought, but if using more than one or two of these, then the original drop down configuration would make more sense. This would just be more for a simplified scope if you had two options where the difference would be say a single policy difference.

@GadgetGeekNI
Copy link
Contributor

My use case is as follows:

We have a lot of apps that people may choose to install from personal preference, we enforce the patch levels of these apps so we would like to offer a subset of them as 'optional apps' in SYM.
Apps such as VS code for developers, ITerm2, Some might prefer Firefox over Chrome or Brave etc, or even Monday.com. Things that we do not force on the base install app list as they may not get used but they're nice to haves for anyone looking to expedite their onboarding to not have to go and install these apps themselves.

Rather than forcing these apps through having multiple multiple configurations specifically tailored to each department, I personally think having this might offer a better and more tailored/personal experience to the end user.

Similar to my initial request here dan-snelson/dialog-scripts#37

Ideally I'd like to see something similar to the following mockup
image

A bit of the technical side as posted in Slack;
My idea is to firstly only have this enabled via a feature flag at the top of the script, if set to false continue as normal.. If set to true, display button 3 to prompt the user into the optional apps pane. From there, have a JSON similar to the policyJSON already in SYM that populates things such as Icon, App Name, Description, Trigger & Validation.
Any App selected will be stored with their Json attributes that we parse and work through to install the apps with a progress bar.

@dan-snelson
Copy link
Collaborator

To Do: Review @ooftee's dialog-starterkit for possible concurrent execution.

@dan-snelson dan-snelson removed their assignment Jun 7, 2024
@dan-snelson dan-snelson added the help wanted Extra attention is needed label Jun 7, 2024
@dan-snelson
Copy link
Collaborator

Reviewed on 2024-06-07-052441; un-assigned myself; help wanted

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

4 participants