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(groups): group user list #810

Merged
merged 8 commits into from
Nov 6, 2024
Merged

fix(groups): group user list #810

merged 8 commits into from
Nov 6, 2024

Conversation

Flemmli97
Copy link
Contributor

@Flemmli97 Flemmli97 commented Oct 31, 2024

What this PR does 📖

@github-actions github-actions bot added the Missing dev review Two dev reviews are required on PR label Oct 31, 2024
Copy link

github-actions bot commented Oct 31, 2024

Download the app installers for this pull request:

@github-actions github-actions bot added the Failed Automated Test Failed Automated Tests CI label Oct 31, 2024
@stavares843 stavares843 removed the Failed Automated Test Failed Automated Tests CI label Oct 31, 2024
Copy link

github-actions bot commented Oct 31, 2024

Automated tests execution is complete! You can find the Playwright test report here and the Allure Test Report here

@phillsatellite
Copy link
Contributor

Hey Kevin! I think this bug fits the scope of this pr but we can handle it in another ticket if need be. So while testing it seems removing a user on the top bar will work fine but if you scroll through the list and remove them from there it doesn't actually remove them it will just reselect them

Screen.Recording.2024-11-01.at.12.51.17.PM.mov

@phillsatellite phillsatellite added the QA Requested Changes Changes need to be addressed, something is not working as expected. label Nov 1, 2024
@Flemmli97
Copy link
Contributor Author

Hey Kevin! I think this bug fits the scope of this pr but we can handle it in another ticket if need be. So while testing it seems removing a user on the top bar will work fine but if you scroll through the list and remove them from there it doesn't actually remove them it will just reselect them

Screen.Recording.2024-11-01.at.12.51.17.PM.mov

yes thats intended. the list shows ALL friends of yours. if they are selected they are in the group

@Flemmli97 Flemmli97 removed the QA Requested Changes Changes need to be addressed, something is not working as expected. label Nov 4, 2024
@phillsatellite
Copy link
Contributor

phillsatellite commented Nov 4, 2024

Hey Kevin! I think this bug fits the scope of this pr but we can handle it in another ticket if need be. So while testing it seems removing a user on the top bar will work fine but if you scroll through the list and remove them from there it doesn't actually remove them it will just reselect them
Screen.Recording.2024-11-01.at.12.51.17.PM.mov

yes thats intended. the list shows ALL friends of yours. if they are selected they are in the group

Yeah I see the list shows all your friends but check out the video I added again. If you try to unselect someone from the list it just re adds them quickly same with trying to select someone from the list when you click them it'll select them for a moment and then unselect them

src/lib/components/group/ViewMembers.svelte Outdated Show resolved Hide resolved
src/lib/components/group/ViewMembers.svelte Outdated Show resolved Hide resolved
src/lib/components/group/ViewMembers.svelte Outdated Show resolved Hide resolved
src/lib/components/group/ViewMembers.svelte Outdated Show resolved Hide resolved
@phillsatellite phillsatellite added the QA Requested Changes Changes need to be addressed, something is not working as expected. label Nov 4, 2024
@Flemmli97 Flemmli97 removed the QA Requested Changes Changes need to be addressed, something is not working as expected. label Nov 5, 2024
@lgmarchi
Copy link
Collaborator

lgmarchi commented Nov 5, 2024

@Flemmli97 It just work to add a user to the group, but it does not work to remove user from a group.

See the video video below to understand:

Screen.Recording.2024-11-05.at.13.26.26.mov

@lgmarchi lgmarchi added the QA Requested Changes Changes need to be addressed, something is not working as expected. label Nov 5, 2024
@Flemmli97
Copy link
Contributor Author

@Flemmli97 It just work to add a user to the group, but it does not work to remove user from a group.

See the video video below to understand:

Screen.Recording.2024-11-05.at.13.26.26.mov

hmm its working on my end

2024-11-05.17-34-02.mp4

can you post the logs?

Copy link
Collaborator

@lgmarchi lgmarchi left a comment

Choose a reason for hiding this comment

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

There are some changes necessary yet.

src/lib/components/group/ViewMembers.svelte Outdated Show resolved Hide resolved
src/lib/components/group/ViewMembers.svelte Outdated Show resolved Hide resolved
src/lib/components/group/ViewMembers.svelte Outdated Show resolved Hide resolved
@lgmarchi lgmarchi removed the Missing dev review Two dev reviews are required on PR label Nov 5, 2024
@lgmarchi
Copy link
Collaborator

lgmarchi commented Nov 5, 2024

@Flemmli97 It just work to add a user to the group, but it does not work to remove user from a group.
See the video video below to understand:
Screen.Recording.2024-11-05.at.13.26.26.mov

hmm its working on my end

2024-11-05.17-34-02.mp4
can you post the logs?

Never mind, probably was a cache problem here. Now it is working good.

@Flemmli97 Flemmli97 removed the QA Requested Changes Changes need to be addressed, something is not working as expected. label Nov 5, 2024
Copy link
Collaborator

@lgmarchi lgmarchi left a comment

Choose a reason for hiding this comment

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

Code looks good and it is working as expected as well.

Screen.Recording.2024-11-05.at.14.18.53.mov

@lgmarchi lgmarchi added the ⌨️ Ready for Test PR is ready for test label Nov 5, 2024
@phillsatellite phillsatellite added being tested and removed ⌨️ Ready for Test PR is ready for test labels Nov 5, 2024
Copy link
Member

@stavares843 stavares843 left a comment

Choose a reason for hiding this comment

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

Gravacao.do.ecra.2024-11-05.as.23.57.38.mov

does not work if you are not the group creator

flow

  • someone else creates the group
  • try to do the above flow
  • it removes and after some seconds adds right away

only works if you are the group creator

@stavares843 stavares843 added QA Requested Changes Changes need to be addressed, something is not working as expected. and removed being tested labels Nov 6, 2024
@Flemmli97
Copy link
Contributor Author

Gravacao.do.ecra.2024-11-05.as.23.57.38.mov
does not work if you are not the group creator

flow

  • someone else creates the group
  • try to do the above flow
  • it removes and after some seconds adds right away

only works if you are the group creator

yes. permission got redone with new wasm update

@lgmarchi lgmarchi added ⌨️ Ready for Test PR is ready for test 🫡 Dev Approved Review Dev reviewed the code and approved it. and removed QA Requested Changes Changes need to be addressed, something is not working as expected. labels Nov 6, 2024
@stavares843 stavares843 added QA Requested Changes Changes need to be addressed, something is not working as expected. and removed ⌨️ Ready for Test PR is ready for test labels Nov 6, 2024
@Flemmli97
Copy link
Contributor Author

i would suggest we keep this pr as is as ill address the permission thing in another pr

@Flemmli97 Flemmli97 removed the QA Requested Changes Changes need to be addressed, something is not working as expected. label Nov 6, 2024
@stavares843
Copy link
Member

added blocked label, being discussed with flem

@stavares843
Copy link
Member

after discussing with flem, merging as is and will fix the non admin stuff in another PR

@stavares843 stavares843 merged commit 7d02493 into dev Nov 6, 2024
11 checks passed
@stavares843 stavares843 deleted the fix-group-user-list branch November 6, 2024 20:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🔒 blocked 🫡 Dev Approved Review Dev reviewed the code and approved it.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

bug(Groups): Cannot add friend to already existing groups
4 participants