Skip to content

Implement generic modal #98

@hanifisenturk

Description

@hanifisenturk

Hi! @armagandalkiran, @aahmetcakir!
https://www.figma.com/file/3Rvo2R5AWAse3O09KtuhZT/GurubuV2?type=design&node-id=73-9675&mode=design&t=qoRnfA7F8ifD6tbe-4

I've observed that there's a modal designed for updating user nicknames. However, we have the opportunity to enhance its dynamism. By utilizing ContextAPI, we can manage this modal using just one instance. Currently, the modal lacks confirm or cancel buttons, but we can incorporate them in the future and manage their functionality through custom onConfirm and onCancel functions.

Let me illustrate this with a simple API example:
carbon

Despite the current absence of proper confirm and cancel buttons in the design, we can utilize a custom closeModal function to close the modal once the associated logic is completed.

And you can assign it to me if you want. 🚀

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions