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

Create component for dynamic values to be injected into code blocks #17

Open
2 tasks done
st3phhays opened this issue Jan 31, 2025 · 0 comments
Open
2 tasks done
Assignees
Labels
0- _Triaging Issue is accepted, but a milestone has yet to be added for the issue ChocolateyDocs

Comments

@st3phhays
Copy link
Member

st3phhays commented Jan 31, 2025

Checklist

  • I have verified this is the correct repository for opening this issue.
  • I have verified no other issues exist related to my request.

Is Your Feature Request Related To A Problem? Please describe.

We want our scripts to be customizable to the user, and have them ready to go once they are copied over. Right now, a user would need to copy a code block, and then adjust variables in the script before it would work.

Describe The Solution. Why is it needed?

Create the functionality to allow a user to enter values and have those values injected dynamically into a code block. When the user goes to copy the code block, the entered values are copied as well. We currently have this functionality on https://chocolatey.org/install, however, it is very tied to that specific instance. We need to make this functionality more modular, and somehow allow any input variable to be entered in.

This functionality should be created within a modular component that can be reused in a simple way.

Additional Context

No response

Related Issues

  • ENGTASKS-4263

┆Issue is synchronized with this Github issue by Unito

@st3phhays st3phhays self-assigned this Jan 31, 2025
@st3phhays st3phhays added 0- _Triaging Issue is accepted, but a milestone has yet to be added for the issue ChocolateyDocs labels Jan 31, 2025
@st3phhays st3phhays changed the title Allow for dynamic values to be injected into code blocks Create component for dynamic values to be injected into code blocks Jan 31, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0- _Triaging Issue is accepted, but a milestone has yet to be added for the issue ChocolateyDocs
Projects
None yet
Development

No branches or pull requests

1 participant