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

settings: Add synchronization in deactivating users. #29926

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

Conversation

roanster007
Copy link
Collaborator

Previously, when a user is activated or deactivated through the "Organization Settings", the corresponding tables of deactivated or activated users are not updated until the modal is re rendered.

This is fixed by updating the table with new entries every time a new event to either activate or deactivate the user is received.

Fixes #29891

Self-review checklist
  • Self-reviewed the changes for clarity and maintainability
    (variable names, code reuse, readability, etc.).

Communicate decisions, questions, and potential concerns.

  • Explains differences from previous plans (e.g., issue description).
  • Highlights technical choices and bugs encountered.
  • Calls out remaining decisions and concerns.
  • Automated tests verify logic where appropriate.

Individual commits are ready for review (see commit discipline).

  • Each commit is a coherent idea.
  • Commit message(s) explain reasoning and motivation for changes.

Completed manual review and testing of the following:

  • Visual appearance of the changes.
  • Responsiveness and internationalization.
  • Strings and tooltips.
  • End-to-end functionality of buttons, interactions and flows.
  • Corner cases, error conditions, and easily imagined bugs.

@zulipbot
Copy link
Member

zulipbot commented May 2, 2024

Hello @zulip/server-settings members, this pull request was labeled with the "area: settings UI" label, so you may want to check it out!

@roanster007 roanster007 force-pushed the iss-29891 branch 4 times, most recently from 50de61e to 2a511b6 Compare May 2, 2024 20:09
Previously, when a user is activated or deactivated through the
"Organization Settings", the corresponding tables of deactivated
or activated users are not updated until the modal is re rendered.

This is fixed by updating the table with new entries every time
a new event to either activate or deactivate the user is received.

Fixes zulip#29891
@timabbott
Copy link
Sponsor Member

So I think this might be better tabled in favor of our plans to merge the different panels? @sahil839 FYI for thoughts on that.

@sahil839
Copy link
Collaborator

sahil839 commented May 8, 2024

Yes, that would be better. That PR was close to completion with a couple of refactors remaining, I will check what is the current status of that PR.

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.

Add synchronization in deactivating users.
4 participants