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

fix(app): prevent longpress to analysis failed protocol #13050

Merged
merged 3 commits into from
Jul 6, 2023

Conversation

koji
Copy link
Contributor

@koji koji commented Jul 6, 2023

Overview

According to Mel, any interaction on that card should lead to that pop up asking them to delete it.

Test Plan

  1. All Protocols
    2-a. tap a failed protocol -> delete modal shows up
    2-b. long press a failed protocol -> delete modal shows up

Changelog

  • update ProtocolCard component and test

Review requests

Risk assessment

low

when longpressing, app needs to prevent displaying the modal
@codecov
Copy link

codecov bot commented Jul 6, 2023

Codecov Report

Merging #13050 (2328c8c) into edge (2249c7a) will not change coverage.
The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##             edge   #13050   +/-   ##
=======================================
  Coverage   72.28%   72.28%           
=======================================
  Files        2372     2372           
  Lines       65042    65042           
  Branches     7286     7286           
=======================================
  Hits        47015    47015           
  Misses      16324    16324           
  Partials     1703     1703           
Flag Coverage Δ
app 71.26% <100.00%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
app/src/pages/ProtocolDashboard/ProtocolCard.tsx 57.44% <100.00%> (ø)

@koji koji requested review from jerader and a team July 6, 2023 14:57
@koji koji marked this pull request as ready for review July 6, 2023 14:57
@koji koji requested a review from a team as a code owner July 6, 2023 14:57
@koji koji removed the request for review from a team July 6, 2023 17:15
Copy link
Collaborator

@jerader jerader left a comment

Choose a reason for hiding this comment

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

lgtm!

@koji koji merged commit 84c0a0e into edge Jul 6, 2023
@koji koji deleted the fix_prevent-longpress-to-analysis-failed-protocol branch July 8, 2023 22:29
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.

2 participants