Rename server 'Change Password' to 'Change Server Password' (#9230)#10035
Rename server 'Change Password' to 'Change Server Password' (#9230)#10035dpage wants to merge 1 commit into
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (2)
✅ Files skipped from review due to trivial changes (1)
🚧 Files skipped from review as they are similar to previous changes (1)
WalkthroughThe PR updates pgAdmin 4 version 9.16 release notes to document the rename of the server password dialog from "Change Password..." to "Change Server Password..." for Issue ChangesServer password dialog clarification
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 inconclusive)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
1165ed2 to
f73dd38
Compare
…org#9230 The "Change Password" menu option and dialog on a server node was ambiguous - it changes the PostgreSQL server password, not the pgAdmin login password. Renamed the menu and dialog title to "Change Server Password" and included the connected username in the dialog title to disambiguate. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
f73dd38 to
245aeb4
Compare
There was a problem hiding this comment.
Pull request overview
Clarifies pgAdmin’s server-node “Change Password…” action by renaming it to “Change Server Password…” and updating the dialog title to include the connected username, reducing confusion with pgAdmin account password changes.
Changes:
- Renamed the server context menu label to “Change Server Password...”.
- Updated the change-password dialog title to “Change Server Password ()” when the connected username is available.
- Added a v9.16 release note entry for the change.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| web/pgadmin/browser/server_groups/servers/static/js/server.js | Renames the menu label and updates the dialog title to include the connected username. |
| docs/en_US/release_notes_9_16.rst | Documents the UI wording change in the v9.16 bug fixes section. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| label: gettext('Change Server Password...'), priority: 10, | ||
| enable : 'is_connected',data: { | ||
| data_disabled: gettext('Please connect server to enable change password.'), | ||
| }, |
asheshv
left a comment
There was a problem hiding this comment.
Rename is incomplete — two user-visible places still say "Change Password":
web/pgadmin/static/js/Dialogs/index.jsx:208— the pgpass-warning alert that fires right after a successful password change still hastitle: gettext('Change Password'). The user sees the old label immediately following the action this PR is renaming.web/pgadmin/browser/server_groups/servers/static/js/server.js:131—data_disabledreadsgettext('Please connect server to enable change password.'). The disabled-state tooltip on the renamed menu still says "change password".
Note: utils.js:124 and PgAdminPermissions.py:132 reference the pgAdmin login password (user menu / admin perms), so those should stay as "Change Password" — confirming they're correctly out of scope.
Catalogs (messages.pot + per-locale .po) will need regenerating before release — matches the pattern of commit 2b20beb03. Worth either folding into this PR or noting in the release notes.
Summary
Fixes #9230.
The Change Password... menu option on a server node (and its dialog) is ambiguous — it changes the PostgreSQL server password, but reads as if it might change the pgAdmin login password. As discussed on the issue, this renames the menu option and dialog to Change Server Password and includes the connected username in the dialog title to make the target unmistakable.
Changes
server.js: menu labelChange Password...→Change Server Password...; dialog title →Change Server Password (<username>).🤖 Generated with Claude Code
Summary by CodeRabbit
Bug Fixes
Documentation