Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat: Implement <RouteItem> Component Based on New Mock-Up #126

Merged
merged 10 commits into from
Jul 30, 2024

Conversation

juliopavila
Copy link
Collaborator

Description:

closes #116
This PR addresses the implementation of the <RouteItem> component based on the provided mock-up and enhances the codebase by making necessary updates following recent nomenclature changes.

Changes Introduced:

  1. Implementation of <RouteItem> Component:

    • Developed the <RouteItem> component following the mock-up design: Figma Mock-up.
  2. Nomenclature Updates:

    • Updated references from "Connection" to "Route" in the new routes data model.
    • Retained LegacyConnection interface for backward compatibility.
    • Implemented asLegacyConnection(route) function to transform routes into legacy connections for components that are not yet updated.
    • Clarified that the connection property in route waypoints is unrelated to the Pilot legacy connection.

Impact:

This PR enhances the application by aligning it with the new data model and improving performance through dependency reduction.

Summary of Changes:

  • src/assets/icons/: Multiple SVG additions
  • src/chains.ts: Added network icons and updated chain data
  • src/components/Address/: Refactored component
  • src/components/BlockieStack/: New component added
  • src/components/Box/: Minor updates
  • src/components/ConnectionBubble/: Style updates
  • src/components/ConnectionStack/: Refactored for new route model
  • src/components/NetworkIcon/: New component added
  • src/routes/RoutesDrawer/: Multiple updates for new route model

Screenshots

image image

@jfschwarz jfschwarz changed the base branch from main to dev July 30, 2024 14:31
extension/.gitignore Outdated Show resolved Hide resolved
@jfschwarz jfschwarz merged commit 0876cb1 into dev Jul 30, 2024
1 check passed
@jfschwarz jfschwarz deleted the issue-#116_route_item branch July 30, 2024 15:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Implement new Route item component
2 participants