Skip to content

fix: update issue template branding (#778) and implement toast queue (#775)#801

Open
MrRealORG wants to merge 1 commit into
XiaomiMiMo:mainfrom
MrRealORG:fix/auto-0616-template-toast-queue
Open

fix: update issue template branding (#778) and implement toast queue (#775)#801
MrRealORG wants to merge 1 commit into
XiaomiMiMo:mainfrom
MrRealORG:fix/auto-0616-template-toast-queue

Conversation

@MrRealORG

Copy link
Copy Markdown

Summary

Fixes #778 and #775

Issue template branding (#778)

  • Replace OpenCode version with MiMo Code version in bug report template
  • Change template field id from opencode-version to mimo-version
  • Update error-component.tsx to use mimo-version param for GitHub template pre-fill consistency

Toast queue (#775)

  • Replace single-toast system with a toast queue (max 3 simultaneous toasts)
  • Each toast gets its own independent timeout; auto-dismisses after duration ms
  • When a 4th toast arrives, the oldest is evicted (and its timeout cleared)
  • Toasts stack vertically with dynamic height calculation based on content length
  • Preserves backward-compatible currentToast getter (returns last toast)

Files changed

  • .github/ISSUE_TEMPLATE/bug-report.yml — 3 line changes (field id, label, description)
  • packages/opencode/src/cli/cmd/tui/component/error-component.tsx — 1 line (version param name)
  • packages/opencode/src/cli/cmd/tui/ui/toast.tsx — restructured from single to queue model

…ast queue (XiaomiMiMo#775)

- Replace 'OpenCode version' with 'MiMo Code version' in bug report template
- Change template field id from 'opencode-version' to 'mimo-version'
- Update error-component.tsx to use 'mimo-version' param for template pre-fill
- Replace single-toast system with toast queue (max 3 simultaneous toasts)
- Each toast gets its own timeout; oldest evicted when at capacity
- Toasts stack vertically with dynamic height calculation
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.

Bug report template references "OpenCode" instead of "MiMo Code"

1 participant