Skip to content

refactor: convert HTML to JSX Components  #51

@akhileshthite

Description

@akhileshthite

TODOs:

  • Convert file.html and folder.html into two separate JSX components, File.jsx and Folder.jsx.
  • Ensure that the class attributes are replaced with className for JSX compatibility.
  • Include the necessary imports and adjust the component structure to fit into the React ecosystem.
  • Instead of directly embedding SVG code or linking externally in the HTML/JSX, load SVG assets locally.
  • Update Index.jsx, popup.jsx (handleContinueWithSavedSpace function and handleContinueWithSavedSpace button) and webpack.config.js accordingly.

Expected Outcome:

  • The application successfully refactors file.html and folder.html into JSX components.
  • SVG assets are loaded locally, improving the maintainability.
    • Please use the SVG files in assets directory.
  • The webpack configuration file is updated to support these changes without affecting the current functionality.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions