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

Transform deleting user alert into modal with extendable details #2054

Open
datitisev opened this issue Mar 6, 2020 · 0 comments
Open

Transform deleting user alert into modal with extendable details #2054

datitisev opened this issue Mar 6, 2020 · 0 comments
Labels
Milestone

Comments

@datitisev
Copy link
Member

@datitisev datitisev commented Mar 6, 2020

Currently, when deleting a user, we use a JavaScript alert() and simply mention that the posts won't be deleted (flarum/lang-english#157).

We will want to transform this alert to a JS Modal that is easily extensible to allow extensions to add their own info about what of their data will be deleted and/or kept when deleting a user.

E.g. Moderation notes (fof/moderator-notes) are deleted when the user they are for is deleted, but the notes that a deleted user created are kept. The extension would add this info to the Modal that appears when a user is deleted.

@franzliedke franzliedke added this to the 0.3 milestone Mar 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.