c2a62804b0dcf31048eeb145e569ce0605d007ea
## Summary - Show success toast notification after user is added - Refresh user list and navigate to 'normal' filter on page 1 to display the newly added user ## Problem When adding a user in Admin -> Users, the page had no feedback after submission (as reported in #1457). **Root cause:** The code only refreshed the user list if the current filter was "all" or "staff", but the default filter is "normal". Additionally, there was no success toast notification. ## Solution 1. Added toast notification to confirm successful user creation 2. After adding user, navigate to "normal" filter page 1 and refresh the list so the new user is visible ## Test plan 1. Go to Admin -> Users 2. Click "Add User" 3. Submit user information 4. ✅ Success toast should appear 5. ✅ Page should navigate to "normal" filter 6. ✅ Newly added user should be visible in the list Fixes #1457 --------- Co-authored-by: LinkinStars <linkinstar@foxmail.com>
Apache Answer - Build Q&A platform
A Q&A platform software for teams at any scales. Whether it’s a community forum, help center, or knowledge management platform, you can always count on Answer.
To learn more about the project, visit answer.apache.org.
Screenshots
Quick start
Running with docker
docker run -d -p 9080:80 -v answer-data:/data --name answer apache/answer:1.7.1
For more information, see Installation.
Plugins
Answer provides a plugin system for developers to create custom plugins and expand Answer’s features. You can find the plugin documentation here.
We value your feedback and suggestions to improve our documentation. If you have any comments or questions, please feel free to contact us. We’re excited to see what you can create using our plugin system!
You can also check out the plugins here.
Building from Source
Prerequisites
Build
# Install wire and mockgen for building. You can run `make check` to check if they are installed.
$ make generate
# Install frontend dependencies and build
$ make ui
# Install backend dependencies and build
$ make build
Contributing
Contributions are always welcome!
See CONTRIBUTING for ways to get started.
License
Description
A Q&A platform software for teams at any scales. Whether it's a community forum, help center, or knowledge management platform, you can always count on Apache Answer.|GitHub 镜像 ⭐ 15.7k · 🍴 1.4k
https://github.com/apache/answer
Readme
18 MiB
Languages
Go
60.2%
TypeScript
36.3%
HTML
1.5%
SCSS
1.2%
JavaScript
0.5%
Other
0.1%
