Skip to content

[FEATURE REQUEST] Remove a space member#4768

Merged
joragua merged 9 commits into
masterfrom
feature/remove_a_space_member
Feb 11, 2026
Merged

[FEATURE REQUEST] Remove a space member#4768
joragua merged 9 commits into
masterfrom
feature/remove_a_space_member

Conversation

@joragua

@joragua joragua commented Feb 9, 2026

Copy link
Copy Markdown
Contributor

Related Issues

App: #4725

  • Add changelog files for the fixed issues in folder changelog/unreleased. More info here
  • Add feature to Release Notes in ReleaseNotesViewModel.kt creating a new ReleaseNote() with String resources (if required)

QA

Reports: https://github.com/owncloud/QA/blob/master/Mobile/Android/Executions/Release_4.8/Spaces%20-%20Remove%20member.md

@joragua joragua self-assigned this Feb 9, 2026
@joragua joragua linked an issue Feb 9, 2026 that may be closed by this pull request
11 tasks
@joragua joragua force-pushed the feature/remove_a_space_member branch from 5ad44c8 to 71f5e34 Compare February 10, 2026 11:13
@joragua joragua marked this pull request as ready for review February 10, 2026 16:36
@joragua joragua requested a review from jesmrec February 10, 2026 16:36
@joragua joragua force-pushed the feature/remove_a_space_member branch from f05d479 to 5a288cf Compare February 11, 2026 09:31
@joragua joragua requested a review from jesmrec February 11, 2026 10:10
@jesmrec

jesmrec commented Feb 11, 2026

Copy link
Copy Markdown
Contributor

moving to QA, since #4768 (comment) is out of CR scope. In case changes are required, will be handled as a QA report.

@jesmrec

jesmrec commented Feb 11, 2026

Copy link
Copy Markdown
Contributor

(1) [FIXED]

All steps to be done in the mobile app:

  1. Current user is the only manager in a space -> no trashbin ✅
  2. Add another user as a manager -> new manager has trashbin ✅ but the existing manager does not ❌
  3. Add another user as a manager -> all managers have now trashbin ✅

Xiaomi Redmi Note 13, Android 15
Galaxy Tab A8, Android 15
3d0e7993

@jesmrec jesmrec left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

CR approved, QA time

@joragua joragua force-pushed the feature/remove_a_space_member branch from 3d0e799 to 6863e3f Compare February 11, 2026 12:19
@joragua

joragua commented Feb 11, 2026

Copy link
Copy Markdown
Contributor Author

(1): This bug is reproducible after applying the commit that comes from this comment on the CR: #4768 (comment)

I've checked it, and the best solution here is to revert all the changes and removed that commit. It's more efficient to use SpaceMembersDiffUtil instead of mixing both methods (avoiding notifyItemRangeChanged()). Using the notify method also causes all animations to be lost, which feels so strange for the UX...

I've removed the commit and it should be fixed now 😄

@jesmrec

jesmrec commented Feb 11, 2026

Copy link
Copy Markdown
Contributor

(2) [FIXED]

About accessibility:

the trashbin icon is spelt as Remove member. Is there any chance to add the name of the user to delete? so, it'd say Remove member Alice (for example)

Xiaomi Redmi Note 13, Android 15
6863e3f7f

@joragua joragua force-pushed the feature/remove_a_space_member branch from 407057e to d7f9c62 Compare February 11, 2026 12:53
@joragua

joragua commented Feb 11, 2026

Copy link
Copy Markdown
Contributor Author

Regarding (2): With the last commit, Talkback should now read "Remove member <displayName> button"

@jesmrec

jesmrec commented Feb 11, 2026

Copy link
Copy Markdown
Contributor

(1) and (2) fixed

@jesmrec

jesmrec commented Feb 11, 2026

Copy link
Copy Markdown
Contributor

Approved on my side 🚀

@joragua joragua force-pushed the feature/remove_a_space_member branch from d7f9c62 to 5f72012 Compare February 11, 2026 14:28
@joragua joragua merged commit 46332ab into master Feb 11, 2026
11 checks passed
@joragua joragua deleted the feature/remove_a_space_member branch February 11, 2026 14:48
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.

[FEATURE REQUEST] Remove a space member

4 participants