-
-
Notifications
You must be signed in to change notification settings - Fork 10.2k
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
update all the place to show user name instead of ID #5215
base: master
Are you sure you want to change the base?
Conversation
WalkthroughThe changes involve modifications to the Changes
Poem
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (invoked as PR comments)
Additionally, you can add CodeRabbit Configuration File (
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 0
Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Files selected for processing (3)
- apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/controller/PermissionController.java (1 hunks)
- apollo-portal/src/main/resources/static/app/setting.html (2 hunks)
- apollo-portal/src/main/resources/static/system-role-manage.html (1 hunks)
Additional comments not posted (6)
apollo-portal/src/main/resources/static/system-role-manage.html (2)
68-68
: LGTM!The
ng-bind
directive is correctly updated to binduser.name
, improving the user interface.The code changes are approved.
71-71
: LGTM!The
ng-click
directive is correctly updated to useuser.userId
, ensuring the correct identifier is passed to the function.The code changes are approved.
apollo-portal/src/main/resources/static/app/setting.html (2)
78-78
: LGTM!The
ng-bind
directive is correctly updated to binduser.name
, improving the user interface.The code changes are approved.
223-223
: LGTM!The newline added before the closing
</html>
tag is a minor formatting improvement.The code changes are approved.
apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/controller/PermissionController.java (2)
326-326
: LGTM!The return type change from
List<String>
toSet<UserInfo>
enhances the method's output by providing more detailed user information.The code changes are approved.
327-327
: LGTM!The implementation update to return a set of
UserInfo
objects simplifies the control flow and improves performance.The code changes are approved.
hello @nobodyiam @shoothzj |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This changes the compatibility of REST API. I would suggest to design a new API, @nobodyiam WDYT?
This is a breaking change. @kalavt would you please help to describe the background of this change? |
@shoothzj @nobodyiam let me know if you considering we shall implement a another API for keep the backward capability. |
|
This pull request has been automatically marked as stale because it has not had activity in the last 30 days. It will be closed in 14 days if no further activity occurs. Please feel free to give a status update now, ping for review, or re-open when it's ready. Thank you for your contributions! |
What's the purpose of this PR
update all the place to show user name instead of ID
Brief changelog
update all the place to show user name instead of ID
Follow this checklist to help us incorporate your contribution quickly and easily:
mvn clean test
to make sure this pull request doesn't break anything.CHANGES
log.Summary by CodeRabbit
New Features
Bug Fixes