Open IdoPeled8 opened 9 months ago
@IdoPeled8 Can I work on this?
hey @IdoPeled8 No one got back to me about getting the project running
Hey @IdoPeled8 I have a question?
Do I just create the modal with placeholder data that shows it works or do I need to go further and add one of the available features as an example
Hi,
We have a GenericEditingModal component that currently only the workspaces are using. You need to make all the other places use this component instead of creating a new modal for each component that needs it. This is particularly for simple modals like edit, add, delete with only one input.
For a start, add it in one place where it's needed and create a pull request so the maintainers can review it. Once confirmed, we can proceed to implement it everywhere.
I have added a photo of the generic component and a photo of the component that is currently using the modal.
Thanks,
To clarify, I don't need to create another modal from scratch right(which I did initially before asking). I just need to implement this for other usecases?
To clarify, I don't need to create another modal from scratch right(which I did initially before asking). I just need to implement this for other usecases?
Yes use the existing one, But if you think you made a better modal than the existing one you can use him
I'll be using the existing one, the modal is created is quite similar and the existing one is a touch more better. I
there is a lot of edit\delete\add modals that are the same. 1 - change all of them to use the new generic modal. 2 - make the modals work using query params instead of state for better navigation