Skip to content

Add bridge-based profession recipe crafting UI - #15

Merged
Wishmaster117 merged 1 commit into
mainfrom
Add-bridge-based-profession-recipe-crafting-UI
May 3, 2026
Merged

Add bridge-based profession recipe crafting UI#15
Wishmaster117 merged 1 commit into
mainfrom
Add-bridge-based-profession-recipe-crafting-UI

Conversation

@Wishmaster117

Copy link
Copy Markdown
Owner

No description provided.

@Wishmaster117
Wishmaster117 merged commit cd5bbdd into main May 3, 2026
2 of 4 checks passed
@Wishmaster117
Wishmaster117 deleted the Add-bridge-based-profession-recipe-crafting-UI branch May 3, 2026 19:07

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 0f42497494

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

if MultiBot.Comm and MultiBot.Comm.RunProfessionRecipeCraft then
local token = MultiBot.Comm.RunProfessionRecipeCraft(frame.botName, skillId, spellId, itemId)
if token then
frame.pendingCrafts[getRecipePendingKey(frame.botName, skillId, spellId)] = true

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Clear pending craft state when result message is missing

Setting frame.pendingCrafts[...] = true here relies on receiving OnBridgeProfessionRecipeCraftResult to clear the flag, but there is no fallback clear on disconnect/reconnect or when a fresh recipe list arrives. If the bridge drops the PROFESSION_RECIPE_CRAFT reply (e.g., transient disconnect after sending the RUN command), this recipe stays permanently marked pending and render() keeps the Craft button disabled (...) for that bot/skill/spell until UI reload.

Useful? React with 👍 / 👎.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant