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: multi rpc modal #11685

Merged
merged 7 commits into from
Oct 9, 2024
Merged

feat: multi rpc modal #11685

merged 7 commits into from
Oct 9, 2024

Conversation

salimtb
Copy link
Contributor

@salimtb salimtb commented Oct 8, 2024

Description

This PR introduces the UI implementation for the Multi-RPC Modal, which is part of the broader initiative to support multiple RPC endpoints for networks. The modal allows users to view and select from multiple RPC options for a specific network, ensuring a smoother transition or switch between different endpoints.

UI Only: This PR focuses solely on the implementation of the UI. The modal is not yet integrated or functional in the application as it requires the upgrade of the Network Controller to version v21.

Related issues

Fixes:

Manual testing steps

  1. this Modal is not called yet , it's require the network controller v21 to be used
  2. the use of this modal will be done on this PR

Screenshots/Recordings

Before

After

Screenshot 2024-10-04 at 11 44 15

Pre-merge author checklist

Pre-merge reviewer checklist

  • I've manually tested the PR (e.g. pull and build branch, run the app, test code being changed).
  • I confirm that this PR addresses all acceptance criteria described in the ticket it closes and includes the necessary testing evidence such as recordings and or screenshots.

Copy link
Contributor

github-actions bot commented Oct 8, 2024

CLA Signature Action: All authors have signed the CLA. You may need to manually re-run the blocking PR check if it doesn't pass in a few minutes.

@salimtb salimtb force-pushed the salim/multi-rpc-ui-changes branch 3 times, most recently from f03f774 to 9f18cd9 Compare October 8, 2024 13:46
@salimtb salimtb added the Run Smoke E2E Triggers smoke e2e on Bitrise label Oct 8, 2024
Copy link
Contributor

github-actions bot commented Oct 8, 2024

https://bitrise.io/ Bitrise

🔄🔄🔄 pr_smoke_e2e_pipeline started on Bitrise...🔄🔄🔄

Commit hash: 9f18cd9
Build link: https://app.bitrise.io/app/be69d4368ee7e86d/pipelines/40586aca-3e89-4fec-ac8d-4cd656c7634e

Note

  • This comment will auto-update when build completes
  • You can kick off another pr_smoke_e2e_pipeline on Bitrise by removing and re-applying the Run Smoke E2E label on the pull request

@salimtb salimtb added Run Smoke E2E Triggers smoke e2e on Bitrise and removed Run Smoke E2E Triggers smoke e2e on Bitrise labels Oct 8, 2024
Copy link
Contributor

github-actions bot commented Oct 8, 2024

https://bitrise.io/ Bitrise

❌❌❌ pr_smoke_e2e_pipeline failed on Bitrise! ❌❌❌

Commit hash: 429cd76
Build link: https://app.bitrise.io/app/be69d4368ee7e86d/pipelines/31c335bd-b770-49fb-b9fb-816f42ed4e2b

Note

  • You can kick off another pr_smoke_e2e_pipeline on Bitrise by removing and re-applying the Run Smoke E2E label on the pull request

Tip

  • Check the documentation if you have any doubts on how to understand the failure on bitrise

@salimtb salimtb marked this pull request as ready for review October 8, 2024 14:29
@salimtb salimtb requested review from a team as code owners October 8, 2024 14:29
@salimtb salimtb added Run Smoke E2E Triggers smoke e2e on Bitrise and removed Run Smoke E2E Triggers smoke e2e on Bitrise labels Oct 8, 2024
Copy link
Contributor

github-actions bot commented Oct 8, 2024

https://bitrise.io/ Bitrise

✅✅✅ pr_smoke_e2e_pipeline passed on Bitrise! ✅✅✅

Commit hash: 4b26e2c
Build link: https://app.bitrise.io/app/be69d4368ee7e86d/pipelines/100c7026-0292-4caf-9793-c82c6c7c80e7

Note

  • You can kick off another pr_smoke_e2e_pipeline on Bitrise by removing and re-applying the Run Smoke E2E label on the pull request

Copy link
Member

@andreahaku andreahaku left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi, just a couple of suggestions for optimisation

app/components/Nav/Main/index.js Show resolved Hide resolved
app/components/Nav/Main/index.js Outdated Show resolved Hide resolved
@salimtb salimtb removed the Run Smoke E2E Triggers smoke e2e on Bitrise label Oct 8, 2024
andreahaku
andreahaku previously approved these changes Oct 8, 2024
Copy link
Member

@andreahaku andreahaku left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@salimtb salimtb added the Run Smoke E2E Triggers smoke e2e on Bitrise label Oct 8, 2024
Copy link
Contributor

github-actions bot commented Oct 8, 2024

https://bitrise.io/ Bitrise

✅✅✅ pr_smoke_e2e_pipeline passed on Bitrise! ✅✅✅

Commit hash: 25fa281
Build link: https://app.bitrise.io/app/be69d4368ee7e86d/pipelines/a624be17-4451-4b29-937c-fc785fc6ecbf

Note

  • You can kick off another pr_smoke_e2e_pipeline on Bitrise by removing and re-applying the Run Smoke E2E label on the pull request

EtherWizard33
EtherWizard33 previously approved these changes Oct 8, 2024
app/components/Nav/Main/index.js Outdated Show resolved Hide resolved
@salimtb salimtb removed the Run Smoke E2E Triggers smoke e2e on Bitrise label Oct 8, 2024
@salimtb salimtb added Run Smoke E2E Triggers smoke e2e on Bitrise and removed Run Smoke E2E Triggers smoke e2e on Bitrise labels Oct 8, 2024
Copy link
Contributor

github-actions bot commented Oct 8, 2024

https://bitrise.io/ Bitrise

✅✅✅ pr_smoke_e2e_pipeline passed on Bitrise! ✅✅✅

Commit hash: 6c5cce2
Build link: https://app.bitrise.io/app/be69d4368ee7e86d/pipelines/e0282ada-8fa3-4227-8e71-0a95d7f59809

Note

  • You can kick off another pr_smoke_e2e_pipeline on Bitrise by removing and re-applying the Run Smoke E2E label on the pull request

@salimtb salimtb added Run Smoke E2E Triggers smoke e2e on Bitrise and removed Run Smoke E2E Triggers smoke e2e on Bitrise labels Oct 9, 2024
Copy link
Contributor

@tommasini tommasini left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Thanks @salimtb !

@salimtb salimtb added the Run Smoke E2E Triggers smoke e2e on Bitrise label Oct 9, 2024
Copy link
Contributor

github-actions bot commented Oct 9, 2024

https://bitrise.io/ Bitrise

✅✅✅ pr_smoke_e2e_pipeline passed on Bitrise! ✅✅✅

Commit hash: 6d761c4
Build link: https://app.bitrise.io/app/be69d4368ee7e86d/pipelines/ed40ab4b-f0d4-4365-b70d-9a8ce994d2a0

Note

  • You can kick off another pr_smoke_e2e_pipeline on Bitrise by removing and re-applying the Run Smoke E2E label on the pull request

@salimtb salimtb removed the request for review from a team October 9, 2024 11:12
Copy link

sonarcloud bot commented Oct 9, 2024

@salimtb salimtb requested review from brianacnguyen and removed request for brianacnguyen October 9, 2024 11:47
@EtherWizard33 EtherWizard33 self-requested a review October 9, 2024 11:50
@salimtb salimtb added this pull request to the merge queue Oct 9, 2024
Merged via the queue into main with commit ea3948c Oct 9, 2024
39 of 40 checks passed
@salimtb salimtb deleted the salim/multi-rpc-ui-changes branch October 9, 2024 12:05
@github-actions github-actions bot locked and limited conversation to collaborators Oct 9, 2024
Copy link
Member

@andreahaku andreahaku left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

showButtonIcon?: boolean;

buttonProps?: {
/**
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@salimtb you should've imported the button props here

@@ -19,7 +19,7 @@ exports[`ListItemMultiSelectButton should render correctly with default props 1`
"opacity": 1,
"padding": 16,
"position": "relative",
"width": "95%",
"width": "90%",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do not use percentage width

Copy link
Contributor

@brianacnguyen brianacnguyen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Design System did not approve this PR

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants