Skip to content

fix #26 allow adding members that share names with deleted members#78

Open
noobte wants to merge 3 commits into
caarmen:masterfrom
noobte:master
Open

fix #26 allow adding members that share names with deleted members#78
noobte wants to merge 3 commits into
caarmen:masterfrom
noobte:master

Conversation

@noobte
Copy link
Copy Markdown

@noobte noobte commented Apr 10, 2025

Description

Made the input validator check only for existing users
Refactored the delete member function, creating a private method for scheduling the deletion.
Added a parameter for updating the name.
Made the delete member function call the schedule function with the updated name.

Deleted users are renamed to "[name] (deleted: YYYY-MM-DD)"

Screenshots

Bob deleted:
image
New bob joins the team:
image

Quality checklist

  • Self review: I have reviewed this PR myself before opening it for review.
  • Tests I have done:
  • tested deleting members and re-adding them
  • tested adding duplicate members (doesn't work which is correct)
  • tested renaming new bobs after previous bob was deleted.

@noobte noobte marked this pull request as ready for review April 10, 2025 18:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant