ita-social-projects / SpaceToStudy-Client

MIT License
24 stars 16 forks source link

(SP: 2) Replace the old InputWithIcon with a new InputField all over the project #2904

Open PavloButynets opened 5 days ago

PavloButynets commented 5 days ago

Replace InputWithIcon for InputField all over the project

Summary

Replace all instances of the old AppButton component with the newly designed and implemented Button component throughout the project.

Description

A new Button component has been created to improve styling, functionality, and accessibility. This issue involves identifying and replacing all occurrences of the old AppButton in the codebase to ensure consistency and maintainability.

Tasks

  1. Identify Instances of the Old InputWithIcon

    • Search the codebase for all uses of the old InputWithIcon component.
    • Document instances to ensure all are covered.
  2. Replace with New InputField

    • Import the new InputField component in relevant files.
    • Replace the old InputWithIcon with the new component, ensuring to adjust props as needed to match the updated API.
  3. Testing

    • Verify that all affected inputs render and function correctly.
    • Check that styling, accessibility, and any conditional functionality work as expected with the new component.
    • Run automated tests where applicable, and create or update tests if necessary.

Acceptance Criteria