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(communities): Process declined requests #8056

Closed
wants to merge 1 commit into from

Conversation

borismelnik
Copy link
Contributor

@borismelnik borismelnik commented Oct 26, 2022

Part of: #7072
fixes #8316

StatusGo PR here

What does the PR do

Process declined community requests

Affected areas

Membership requests

Screenshot of functionality (including design for comparison)

  • I've checked the design and this PR matches it
decline_request.mov

Copy link
Member

@jrainville jrainville left a comment

Choose a reason for hiding this comment

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

Looks good. Just nit comments.

Make sure to assign a QA to this since it's a new feature

self.myCommunityRequests.add(membershipRequest)
self.events.emit(SIGNAL_COMMUNITY_MY_REQUEST_REJECTED, CommunityRequestArgs(communityRequest: membershipRequest))
singletonInstance.globalEvents.myRequestToJoinCommunityRejected("Community Request Rejected",
fmt "Your request to join community is rejected", membershipRequest.communityId)
Copy link
Member

Choose a reason for hiding this comment

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

nit: can you add an indent on those two lines to show they are the same as the event

Copy link
Contributor Author

Choose a reason for hiding this comment

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

fixed

self.myCommunityRequests.add(communityRequest)
self.events.emit(SIGNAL_COMMUNITY_MY_REQUEST_ADDED, CommunityRequestArgs(communityRequest: communityRequest))
except Exception as e:
error "Error fetching my community requests", msg = e.msg
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
error "Error fetching my community requests", msg = e.msg
error "Error fetching my declined community requests", msg = e.msg

Copy link
Contributor Author

Choose a reason for hiding this comment

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

fixed

@status-im-auto
Copy link
Member

status-im-auto commented Oct 26, 2022

Jenkins Builds

Click to see older builds (15)
Commit #️⃣ Finished (UTC) Duration Platform Result
✔️ 990db05 #1 2022-10-26 16:39:33 ~5 min linux-cpp 📦pkg
✔️ 990db05 #1 2022-10-26 16:44:06 ~9 min macos 📦dmg
✔️ 990db05 #1 2022-10-26 16:46:04 ~11 min linux 📦tgz
990db05 #1 2022-10-26 16:55:17 ~20 min e2e 📄log
✔️ 990db05 #1 2022-10-26 16:56:56 ~22 min windows 📦exe
✔️ 27cbeb1 #2 2022-10-26 19:10:43 ~4 min linux-cpp 📦pkg
✔️ 27cbeb1 #2 2022-10-26 19:16:06 ~9 min macos 📦dmg
✔️ 27cbeb1 #2 2022-10-26 19:17:25 ~11 min linux 📦tgz
⁉️ 27cbeb1 #2 2022-10-26 19:25:44 ~19 min e2e 📄log
✔️ 27cbeb1 #2 2022-10-26 19:26:56 ~20 min windows 📦exe
✔️ 87c5380 #3 2022-10-27 08:26:39 ~4 min linux-cpp 📦pkg
87c5380 #3 2022-10-27 08:29:37 ~6 min e2e 📄log
✔️ 87c5380 #3 2022-10-27 08:33:18 ~11 min linux 📦tgz
✔️ 87c5380 #3 2022-10-27 08:36:18 ~14 min macos 📦dmg
✔️ 87c5380 #3 2022-10-27 08:42:08 ~19 min windows 📦exe
Commit #️⃣ Finished (UTC) Duration Platform Result
✔️ 3764681 #4 2022-10-27 18:42:56 ~4 min linux-cpp 📦pkg
✔️ 3764681 #4 2022-10-27 18:48:48 ~10 min macos 📦dmg
✔️ 3764681 #4 2022-10-27 18:49:31 ~11 min linux 📦tgz
✔️ 3764681 #4 2022-10-27 19:02:01 ~23 min windows 📦exe
⁉️ 3764681 #4 2022-10-27 19:27:27 ~21 min e2e 📄log
✔️ f7768c7 #5 2022-10-28 08:52:25 ~4 min linux-cpp 📦pkg
f7768c7 #5 2022-10-28 08:57:23 ~9 min windows 📄log
✔️ f7768c7 #5 2022-10-28 08:57:40 ~9 min macos 📦dmg
✔️ f7768c7 #5 2022-10-28 09:01:30 ~13 min linux 📦tgz
f7768c7 #5 2022-10-28 10:01:58 ~24 min e2e 📄log

@jrainville jrainville requested review from a team and glitchminer and removed request for a team October 26, 2022 20:02
Copy link
Contributor

@MishkaRogachev MishkaRogachev left a comment

Choose a reason for hiding this comment

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

Looks good

@anastasiyaig
Copy link
Contributor

@jrainville @iurimatias do we want this feature to be landed or not? is it still in scope of 0.9.0?

@jrainville jrainville removed the 0.8.0 label Dec 7, 2022
@anastasiyaig
Copy link
Contributor

@jrainville please revisit this, i am not sure we still want it, also the PR is really old. I removed the 0.9.0 milestone for the ticket

@jrainville
Copy link
Member

Closing as we do not want this in the end

@jrainville jrainville closed this Jan 11, 2023
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.

Support declining community join requests
5 participants