Skip to content

fix: replace hardcoded Casey name in App Home with dynamic bot name#66

Open
mwbrooks wants to merge 3 commits intomainfrom
mwbrooks-hardcoded-casey-mention
Open

fix: replace hardcoded Casey name in App Home with dynamic bot name#66
mwbrooks wants to merge 3 commits intomainfrom
mwbrooks-hardcoded-casey-mention

Conversation

@mwbrooks
Copy link
Copy Markdown
Member

@mwbrooks mwbrooks commented Apr 17, 2026

Summary

This pull request removes hardcoded "Casey" references in the App Home view and replaces them with generic text and a dynamic bot mention using context.bot_user_id. This allows the app name to be customized without the App Home being out of sync.

  • Header changed from "I'm Casey, your IT helpdesk agent" to "I'm your IT helpdesk agent"
  • Mention text uses <@bot_user_id> instead of backtick @Casey
  • Static "Casey has access to…" strings replaced with "This agent has access to…"
  • Added tests for the bot_user_id parameter

Preview

image

Testing

  • Run the app and open the App Home tab
  • Verify the header no longer says "Casey"
  • Verify the context block shows a dynamic @mention of the bot
  • Verify the MCP status section uses generic "This agent" / "this agent" text
  • Rename the app and confirm the App Home still renders correctly

@mwbrooks mwbrooks changed the title fix: replace hardcoded Casey name in App Home with dynamic bot mention fix: replace hardcoded Casey name in App Home with dynamic bot name Apr 17, 2026
@mwbrooks mwbrooks self-assigned this Apr 17, 2026
@mwbrooks mwbrooks added the enhancement New feature or request label Apr 17, 2026
Copy link
Copy Markdown
Member Author

@mwbrooks mwbrooks left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Comments for the kind ones! 📝

"text": {
"type": "plain_text",
"text": "Hey there :wave: I'm Casey, your IT helpdesk agent.",
"text": "Hey there :wave: I'm your IT helpdesk agent.",
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

note: "Helpdesk" is renamed in PR #65

{
"type": "mrkdwn",
"text": "You can also mention me in any channel with `@Casey` or send me a DM.",
"text": f"You can also mention me in any channel{mention} or send me a DM.",
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

note: Again, this reads funny but it does allow for a safe fallback when no bot id provided.

@mwbrooks mwbrooks marked this pull request as ready for review April 17, 2026 22:33
@mwbrooks mwbrooks requested a review from a team as a code owner April 17, 2026 22:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant