-
Notifications
You must be signed in to change notification settings - Fork 835
Fix misleading AI activity messages that could be mistaken for actual database operations. #9722
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
Open
dpage
wants to merge
1
commit into
pgadmin-org:master
Choose a base branch
from
dpage:ai_activity_messages
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+54
−40
Open
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,51 @@ | ||
| ///////////////////////////////////////////////////////////// | ||
| // | ||
| // pgAdmin 4 - PostgreSQL Tools | ||
| // | ||
| // Copyright (C) 2013 - 2026, The pgAdmin Development Team | ||
| // This software is released under the PostgreSQL Licence | ||
| // | ||
| ////////////////////////////////////////////////////////////// | ||
|
|
||
| import gettext from 'sources/gettext'; | ||
|
|
||
| // Fun elephant-themed processing messages (avoid anything that sounds | ||
| // like a real database operation, as that can be misleading). | ||
| const THINKING_MESSAGES = [ | ||
| gettext('Consulting the elephant...'), | ||
| gettext('Joining the herds...'), | ||
| gettext('Querying the watering hole...'), | ||
| gettext('Rolling back the peanuts...'), | ||
| gettext('Trumpeting for answers...'), | ||
| gettext('Herding the elephants...'), | ||
| gettext('Foraging for ideas...'), | ||
| gettext('Pondering pachyderm thoughts...'), | ||
| gettext('Charging through the tall grass...'), | ||
| gettext('Flapping those big ears...'), | ||
| gettext('Stomping through the jungle...'), | ||
| gettext('Swishing the trunk...'), | ||
| gettext('Calling the herd...'), | ||
| gettext('Splashing in the watering hole...'), | ||
| gettext('Following the elephant trail...'), | ||
| gettext('Munching on some peanuts...'), | ||
| gettext('Doing a trunk stand...'), | ||
| gettext('Remembering everything...'), | ||
| gettext('Migrating across the plains...'), | ||
| gettext('Shaking off the dust...'), | ||
| gettext('Tiptoeing through the tulips...'), | ||
| gettext('Taking a mud bath...'), | ||
| gettext('Polishing the tusks...'), | ||
| gettext('Stretching the trunk...'), | ||
| gettext('Packing the trunk...'), | ||
| gettext('Wading through the river...'), | ||
| gettext('Gathering the herd...'), | ||
| gettext('Tromping through the underbrush...'), | ||
| gettext('Listening with big ears...'), | ||
| gettext('Raising the trunk in triumph...'), | ||
| gettext('Thundering across the savanna...'), | ||
| gettext('Napping under the baobab tree...'), | ||
| ]; | ||
|
|
||
| export function getRandomThinkingMessage() { | ||
| return THINKING_MESSAGES[Math.floor(Math.random() * THINKING_MESSAGES.length)]; | ||
| } | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
A few shared strings still read like database activity.
This list still contains DB-adjacent verbs such as “Joining”, “Querying”, “Rolling back”, and “Migrating”. Because both UI surfaces now reuse this module, those phrases can still be interpreted as real engine work, which leaves the PR objective only partially met. Please swap those entries for wording that is fully whimsical and non-operational.
💡 Suggested wording update
const THINKING_MESSAGES = [ gettext('Consulting the elephant...'), - gettext('Joining the herds...'), - gettext('Querying the watering hole...'), - gettext('Rolling back the peanuts...'), + gettext('Roaming with the herd...'), + gettext('Peeking at the watering hole...'), + gettext('Juggling the peanuts...'), gettext('Trumpeting for answers...'), ... - gettext('Migrating across the plains...'), + gettext('Wandering across the plains...'), ... ];Based on learnings, pgAdmin UI messages should stay concise and avoid technical jargon or terminology that can confuse users.
📝 Committable suggestion
🤖 Prompt for AI Agents