dipdup icon indicating copy to clipboard operation
dipdup copied to clipboard

An additional step in `dipdup new` to choose addons

Open droserasprout opened this issue 1 year ago • 4 comments

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.

droserasprout avatar Sep 13 '24 17:09 droserasprout

@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.

droserasprout avatar Sep 15 '24 15:09 droserasprout

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:

ooochoche avatar Sep 26 '24 08:09 ooochoche

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.

petersdt avatar Sep 26 '24 09:09 petersdt

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.

tosoham avatar Sep 27 '24 05:09 tosoham