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_: Unfurl transaction deep link #5958

Open
wants to merge 1 commit into
base: feat/deep-link-16345
Choose a base branch
from

Conversation

Cuteivist
Copy link
Contributor

Task status-im/status-desktop#16412

User stories https://www.notion.so/Transaction-deep-link-10d8f96fb65c803c85fed5f4440ad439

Status-desktop change: status-im/status-desktop#16541

NOTE unfurling is based on deep link branch.
This PR must be merged first:

Changes:

  • Added Transaction link preview structures
  • Added Transaction preview parsing
  • Updated unit tests

@status-im-auto
Copy link
Member

status-im-auto commented Oct 17, 2024

Jenkins Builds

Click to see older builds (15)
Commit #️⃣ Finished (UTC) Duration Platform Result
✖️ c89bf1c #1 2024-10-17 06:51:29 ~1 min tests 📄log
✔️ c89bf1c #1 2024-10-17 06:54:17 ~4 min ios 📦zip
✔️ c89bf1c #1 2024-10-17 06:54:25 ~4 min linux 📦zip
✔️ c89bf1c #1 2024-10-17 06:55:05 ~5 min tests-rpc 📄log
✔️ c89bf1c #1 2024-10-17 06:55:19 ~5 min android 📦aar
✔️ 64762e4 #2 2024-10-17 10:56:32 ~1 min android 📦aar
✖️ 64762e4 #2 2024-10-17 10:56:34 ~1 min tests 📄log
✔️ 64762e4 #2 2024-10-17 10:57:00 ~2 min tests-rpc 📄log
✔️ 64762e4 #2 2024-10-17 10:57:42 ~2 min ios 📦zip
✔️ 64762e4 #2 2024-10-17 10:59:13 ~4 min linux 📦zip
✔️ c8698cc #3 2024-10-17 11:07:00 ~1 min android 📦aar
✖️ c8698cc #3 2024-10-17 11:07:08 ~1 min tests 📄log
✔️ c8698cc #3 2024-10-17 11:07:38 ~2 min linux 📦zip
✔️ c8698cc #3 2024-10-17 11:09:54 ~4 min ios 📦zip
✔️ c8698cc #3 2024-10-17 11:11:13 ~5 min tests-rpc 📄log
Commit #️⃣ Finished (UTC) Duration Platform Result
✖️ 98f79c0 #4 2024-10-17 11:19:26 ~1 min tests 📄log
✔️ 98f79c0 #4 2024-10-17 11:19:45 ~1 min android 📦aar
✔️ 98f79c0 #4 2024-10-17 11:20:32 ~2 min linux 📦zip
✔️ 98f79c0 #4 2024-10-17 11:20:55 ~2 min ios 📦zip
✔️ 98f79c0 #4 2024-10-17 11:23:29 ~5 min tests-rpc 📄log
✔️ 0c7f9f3 #5 2024-10-17 11:22:32 ~1 min android 📦aar
✔️ 0c7f9f3 #5 2024-10-17 11:23:17 ~2 min linux 📦zip
✔️ 0c7f9f3 #5 2024-10-17 11:24:11 ~3 min ios 📦zip
✔️ 0c7f9f3 #5 2024-10-17 11:25:31 ~1 min tests-rpc 📄log
✔️ 0c7f9f3 #5 2024-10-17 11:53:50 ~32 min tests 📄log

Copy link

codecov bot commented Oct 17, 2024

Codecov Report

Attention: Patch coverage is 59.18367% with 20 lines in your changes missing coverage. Please review.

Project coverage is 47.44%. Comparing base (4c88939) to head (0c7f9f3).

✅ All tests successful. No failed tests found.

Files with missing lines Patch % Lines
protocol/linkpreview_unfurler_status.go 0.00% 14 Missing ⚠️
protocol/common/message_linkpreview.go 82.85% 3 Missing and 3 partials ⚠️
Additional details and impacted files
@@                   Coverage Diff                    @@
##           feat/deep-link-16345    #5958      +/-   ##
========================================================
- Coverage                 47.45%   47.44%   -0.01%     
========================================================
  Files                       835      835              
  Lines                    137789   137830      +41     
========================================================
+ Hits                      65381    65398      +17     
- Misses                    64633    64658      +25     
+ Partials                   7775     7774       -1     
Flag Coverage Δ
functional 10.40% <0.00%> (-0.04%) ⬇️
unit 46.75% <59.18%> (-0.01%) ⬇️

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

Files with missing lines Coverage Δ
protocol/common/message_linkpreview.go 76.68% <82.85%> (+3.08%) ⬆️
protocol/linkpreview_unfurler_status.go 38.09% <0.00%> (-5.87%) ⬇️

... and 28 files with indirect coverage changes

}
if len(linkTypes) > 1 {
return fmt.Errorf("multiple components set at the same time: %v", linkTypes)
} else if len(linkTypes) == 0 {
Copy link
Collaborator

Choose a reason for hiding this comment

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

No need for the else

Suggested change
} else if len(linkTypes) == 0 {
}
if len(linkTypes) == 0 {

@Cuteivist Cuteivist changed the title feat: Unfurl transaction deep link feat_: Unfurl transaction deep link Oct 17, 2024
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.

4 participants