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

chore: set bridge selected tokens and amount #26212

Merged
merged 3 commits into from
Sep 27, 2024

Conversation

micaelae
Copy link
Member

@micaelae micaelae commented Jul 30, 2024

Description

Changes include

  • redux actions to set the selected src/dest tokens and token amount
  • redux selectors to get the selected src/dest tokens and token amount

Open in GitHub Codespaces

Related issues

Fixes: https://consensyssoftware.atlassian.net/browse/METABRIDGE-866

Manual testing steps

N/A. This doesn't change any user functionality, just setting up getters/setters

Screenshots/Recordings

N/A, redux state changes will take effect after UI for inputs is implemented

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.

@micaelae micaelae requested review from a team as code owners July 30, 2024 01:30
@micaelae micaelae changed the base branch from develop to mb866-set-network-allowlists July 30, 2024 01:30
@micaelae micaelae marked this pull request as draft July 30, 2024 01:31
@micaelae micaelae force-pushed the mb866-set-network-allowlists branch from d4c9b03 to c1dff19 Compare August 6, 2024 19:55
@micaelae micaelae force-pushed the mb866-set-token-and-amount branch from 0729ff0 to b4fc0da Compare August 6, 2024 19:55
@micaelae micaelae force-pushed the mb866-set-network-allowlists branch from c1dff19 to f5366d3 Compare August 12, 2024 22:25
@micaelae micaelae force-pushed the mb866-set-token-and-amount branch from b4fc0da to f13e6cc Compare August 12, 2024 22:27
@micaelae micaelae force-pushed the mb866-set-network-allowlists branch 3 times, most recently from f560842 to d428019 Compare August 14, 2024 00:17
@micaelae micaelae force-pushed the mb866-set-token-and-amount branch from f13e6cc to 2a62d68 Compare August 14, 2024 00:18
@micaelae micaelae force-pushed the mb866-set-network-allowlists branch from d428019 to f6e295b Compare August 14, 2024 19:02
@micaelae micaelae force-pushed the mb866-set-token-and-amount branch from 2a62d68 to ea68ad9 Compare August 14, 2024 20:36
@micaelae micaelae changed the base branch from mb866-set-network-allowlists to develop August 14, 2024 21:27
@micaelae micaelae removed the request for review from a team August 15, 2024 00:36
@micaelae micaelae force-pushed the mb866-set-token-and-amount branch from ea68ad9 to 817d1fd Compare August 16, 2024 20:50
@micaelae micaelae changed the base branch from develop to mb866-set-network-allowlists August 16, 2024 20:54
@micaelae micaelae marked this pull request as ready for review August 16, 2024 21:16
@metamaskbot
Copy link
Collaborator

Builds ready [817d1fd]
Page Load Metrics (82 ± 7 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint81144111189
domContentLoaded4910278168
load5610282147
domInteractive105329126
Bundle size diffs [🚨 Warning! Bundle size has increased!]
  • background: 1.09 KiB (0.03%)
  • ui: 169 Bytes (0.00%)
  • common: 141 Bytes (0.00%)

Copy link

codecov bot commented Aug 17, 2024

Codecov Report

Attention: Patch coverage is 68.42105% with 6 lines in your changes missing coverage. Please review.

Project coverage is 70.17%. Comparing base (8ffbb54) to head (c861c76).

Files with missing lines Patch % Lines
ui/ducks/bridge/bridge.ts 0.00% 6 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##           develop   #26212      +/-   ##
===========================================
- Coverage    70.17%   70.17%   -0.00%     
===========================================
  Files         1425     1425              
  Lines        49647    49664      +17     
  Branches     13889    13891       +2     
===========================================
+ Hits         34836    34847      +11     
- Misses       14811    14817       +6     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

BZahory
BZahory previously approved these changes Aug 21, 2024
@micaelae micaelae force-pushed the mb866-set-network-allowlists branch from f673af0 to 09f8605 Compare August 22, 2024 22:05
@micaelae micaelae force-pushed the mb866-set-token-and-amount branch from 817d1fd to 392d5ff Compare August 22, 2024 22:06
ejwessel
ejwessel previously approved these changes Aug 22, 2024
Base automatically changed from mb866-set-network-allowlists to develop August 22, 2024 22:58
@micaelae micaelae dismissed stale reviews from ejwessel and BZahory August 22, 2024 22:58

The base branch was changed.

@micaelae micaelae force-pushed the mb866-set-token-and-amount branch from 392d5ff to fdff249 Compare August 22, 2024 23:00
@metamaskbot
Copy link
Collaborator

Builds ready [fdff249]
Page Load Metrics (180 ± 222 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint781821042411
domContentLoaded48138712211
load482192180462222
domInteractive106229136
Bundle size diffs
  • background: 0 Bytes (0.00%)
  • ui: 169 Bytes (0.00%)
  • common: 0 Bytes (0.00%)

@micaelae micaelae force-pushed the mb866-set-token-and-amount branch from fdff249 to db01ffb Compare August 28, 2024 23:39
@metamaskbot
Copy link
Collaborator

Builds ready [db01ffb]
Page Load Metrics (2114 ± 150 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint66325771999377181
domContentLoaded175030612081315151
load176030642114313150
domInteractive168340199
Bundle size diffs
  • background: 0 Bytes (0.00%)
  • ui: 278 Bytes (0.00%)
  • common: 0 Bytes (0.00%)

@micaelae micaelae force-pushed the mb866-set-token-and-amount branch 2 times, most recently from 7ea1060 to c861c76 Compare September 5, 2024 22:59
Copy link

sonarqubecloud bot commented Sep 5, 2024

@metamaskbot
Copy link
Collaborator

Builds ready [c861c76]
Page Load Metrics (1924 ± 102 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint24224231843426204
domContentLoaded16322412190620598
load164124211924212102
domInteractive148938178
Bundle size diffs
  • background: 0 Bytes (0.00%)
  • ui: 278 Bytes (0.00%)
  • common: 0 Bytes (0.00%)

Copy link
Contributor

@infiniteflower infiniteflower left a comment

Choose a reason for hiding this comment

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

Left a small comment

@micaelae micaelae force-pushed the mb866-set-token-and-amount branch from c861c76 to da72b9a Compare September 25, 2024 22:37
@micaelae micaelae force-pushed the mb866-set-token-and-amount branch from da72b9a to 33f093a Compare September 26, 2024 00:01
Copy link

@metamaskbot
Copy link
Collaborator

Builds ready [33f093a]
Page Load Metrics (1891 ± 134 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint27828151812445214
domContentLoaded156727031859262126
load157528261891280134
domInteractive1492482010
Bundle size diffs
  • background: 0 Bytes (0.00%)
  • ui: 254 Bytes (0.00%)
  • common: 0 Bytes (0.00%)

@infiniteflower infiniteflower self-requested a review September 26, 2024 14:32
@micaelae micaelae merged commit 122867f into develop Sep 27, 2024
77 checks passed
@micaelae micaelae deleted the mb866-set-token-and-amount branch September 27, 2024 00:16
@github-actions github-actions bot locked and limited conversation to collaborators Sep 27, 2024
@metamaskbot metamaskbot added the release-12.6.0 Issue or pull request that will be included in release 12.6.0 label Sep 27, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
release-12.6.0 Issue or pull request that will be included in release 12.6.0 team-bridge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants