dipdup
dipdup copied to clipboard
An additional step in `dipdup new` to choose addons
Checkboxes, resulting array stored in replay.yaml. Example of optional layers: Swarm deploy, Squid Cloud deploy. Changes in config shouldn't be breaking. If not set, use what's currently in base.
@Josue19-08
Hi! Thanks for your interest. OD Hack 8 will begin September 26th. After that you will need to apply via the OnlyDust platform. Please wait for announcements in the next few days.
I am applying to this issue via OnlyDust platform.
My background and how it can be leveraged
Hello I am a Back End Developer
How I plan on tackling this issue
I will use this approach to solve the problem
- Extend the dipdup new Command
- Add Checkbox Functionality:
- Integrate Add-ons:
- Test Configuration Changes:
I am applying to this issue via OnlyDust platform.
My background and how it can be leveraged
I'm proficient in multiple programming languages, including Cairo, JavaScript, Python.
How I plan on tackling this issue
Step 1: Define the checkbox options I'll define the checkbox options for the optional layers, such as Swarm deploy and Squid Cloud deploy. These options will be used to generate the array of selected layers.
Step 2: Create a checkbox component I'll create a checkbox component that will render the defined options. This component will allow users to select one or more optional layers.
Step 3: Store the selected layers in an array I'll store the selected layers in an array, which will be updated dynamically as users check or uncheck the checkboxes.
Step 4: Write the array to replay.yaml I'll write the array of selected layers to replay.yaml when the user saves their changes. This will ensure that the selected layers are persisted across sessions.
Step 5: Implement default behavior I'll implement default behavior to use the current values in the base configuration if no optional layers are selected. This will ensure that changes to the config are not breaking.
Step 6: Test the implementation I'll test the implementation to ensure that the checkboxes work correctly, the array is stored and retrieved correctly from replay.yaml, and the default behavior is implemented correctly.
I am applying to this issue via OnlyDust platform.
My background and how it can be leveraged
I am a python dev. A new-comer here, willing and ready to contribute to solve this issue.