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(block)!: remove desktop BlockContact function for parity #6172

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

jrainville
Copy link
Member

Needed for status-im/status-desktop#16640

In Desktop, we still used a "forked" version of the BlockContact function that had as differences that it didn't leave the chat nor delete the messages.

However, we want to have parity now and those features, so it makes no sense to use a different function.

This is a breaking change because it removes an API, but I took care of removing the use of that function in the Desktop app and Mobile never used it, so it's an inoffensive breaking change.

Additionally, I added the notifications to the messenger response.

@jrainville jrainville requested review from osmaczko, qfrank, Parveshdhull and igor-sirotin and removed request for osmaczko and qfrank December 5, 2024 15:34
Copy link

github-actions bot commented Dec 5, 2024

Looks like you have BREAKING CHANGES in your PR.
Please make sure to follow 💔How to introduce breaking changes guide:

Check-list

@status-im-auto
Copy link
Member

status-im-auto commented Dec 5, 2024

Jenkins Builds

Commit #️⃣ Finished (UTC) Duration Platform Result
✔️ db71074 #1 2024-12-05 15:39:20 ~5 min linux 📦zip
✔️ db71074 #1 2024-12-05 15:40:24 ~6 min windows 📦zip
✔️ db71074 #1 2024-12-05 15:40:45 ~6 min android 📦aar
✔️ db71074 #1 2024-12-05 15:41:29 ~7 min tests-rpc 📄log
✔️ db71074 #1 2024-12-05 15:41:48 ~7 min macos 📦zip
✔️ db71074 #1 2024-12-05 16:04:45 ~30 min tests 📄log
✔️ db71074 #2 2024-12-05 19:00:58 ~5 min ios 📦zip
✔️ 3b06014 #2 2024-12-12 18:50:34 ~3 min macos 📦zip
✔️ 3b06014 #3 2024-12-12 18:51:49 ~4 min ios 📦zip
✔️ 3b06014 #2 2024-12-12 18:52:33 ~5 min linux 📦zip
✔️ 3b06014 #2 2024-12-12 18:52:49 ~5 min android 📦aar
✔️ 3b06014 #2 2024-12-12 18:53:23 ~5 min windows 📦zip
✔️ 3b06014 #2 2024-12-12 18:53:42 ~6 min tests-rpc 📄log
✔️ 3b06014 #2 2024-12-12 18:57:53 ~10 min macos 📦zip
✔️ 3b06014 #2 2024-12-12 19:18:38 ~31 min tests 📄log

Copy link

codecov bot commented Dec 5, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 61.25%. Comparing base (5a8310d) to head (3b06014).

Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #6172      +/-   ##
===========================================
+ Coverage    61.22%   61.25%   +0.02%     
===========================================
  Files          833      833              
  Lines       109910   109895      -15     
===========================================
+ Hits         67295    67316      +21     
+ Misses       34746    34723      -23     
+ Partials      7869     7856      -13     
Flag Coverage Δ
functional 19.30% <0.00%> (+<0.01%) ⬆️
unit 60.07% <100.00%> (+0.03%) ⬆️

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

Files with missing lines Coverage Δ
protocol/messenger_contacts.go 62.06% <100.00%> (+1.06%) ⬆️
services/ext/api.go 7.02% <ø> (+0.02%) ⬆️

... and 29 files with indirect coverage changes

Needed for status-im/status-desktop#16640

In Desktop, we still used a "forked" version of the BlockContact function that had as differences that it didn't leave the chat nor delete the messages.

However, we want to have parity now and those features, so it makes no sense to use a different function.

This is a breaking change because it removes an API, but I took care of removing the use of that function in the Desktop app and Mobile never used it, so it's an inoffensive breaking change.

Additionally, I added the notifications to the messenger response.
@jrainville jrainville force-pushed the fix/dekstop-block-contact-delete-messages branch from db71074 to 3b06014 Compare December 12, 2024 18:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants