Skip to content

docs: refresh README to reflect current addon state (#181)#182

Merged
Xerrion merged 1 commit intomasterfrom
docs/181-update-readme
Apr 29, 2026
Merged

docs: refresh README to reflect current addon state (#181)#182
Xerrion merged 1 commit intomasterfrom
docs/181-update-readme

Conversation

@Xerrion
Copy link
Copy Markdown
Owner

@Xerrion Xerrion commented Apr 29, 2026

Description

Refreshes README.md so it accurately reflects DragonToast as it sits on master. The previous README described the 1.x/2.x feature set and listed stale Interface versions; this brings it in sync with current source (TOC, listeners, slash commands, locales, integration API).

No source code changes - documentation only.

Type of Change

  • Documentation update

Related Issues

Closes #181

Testing

All claims verified against current source on master (TOC, listeners, slash commands, locale files, MessageBridge):

  • Luacheck passes (luacheck .) - n/a, no Lua changed
  • Tested in-game manually - n/a, docs only
  • WoW version(s) tested on: n/a (documentation update)

Changes

  • Fixed Supported Versions table to match DragonToast.toc (Retail 120005, TBC 20505, Mists 50503)
  • Rewrote Features for the 3.x feature set (roll-win toasts, mail/reputation/currency toasts, hover-pause, inventory item count badge, skin presets, bundled default sounds, full-lifetime stacking)
  • New Sub-addons section documenting DragonToast + DragonToast_Options + DragonWidgets embed
  • New Toast Types section listing all 7 toast categories
  • New Localization section listing the 11 shipped locales
  • Slash command table now includes aliases (config/options/settings, lock/unlock/move, ?)
  • Expanded Configuration table to include honor/reputation/mail filters and missing display/appearance settings
  • Integration API now covers the legacy DragonLoot translation bridge and per-source 120s safety timer
  • License link corrected from main to master
  • Added CurseForge and Wago badges/links

Screenshots

n/a - no UI changes.

Checklist

  • My code follows the project's code style (4-space indent, 120 char lines)
  • I have tested my changes in-game - n/a, docs only
  • Luacheck reports no warnings - n/a, no Lua changed
  • My commits follow conventional commit format

Summary by CodeRabbit

  • Documentation
    • Updated installation instructions with direct download links and two-addon setup guidance
    • Refreshed slash command documentation with new aliases for reset, options, and movement
    • Reorganized configuration reference into categorized settings structure
    • Enhanced API integration documentation with message payload examples
    • Added supported version compatibility information and expanded localization details

Updates Supported Versions table to match DragonToast.toc, rewrites Features for the 3.x feature set (roll-win toasts, mail/reputation/currency toasts, hover-pause, inventory item count, skin presets, bundled sounds), adds new Sub-addons / Toast Types / Localization sections, documents slash command aliases and full filter set, expands Integration API to cover the legacy DragonLoot bridge and 120s safety timer.

Closes #181
@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented Apr 29, 2026

📝 Walkthrough

Walkthrough

README.md updated to reflect current addon state: adds CurseForge/Wago badges, refreshes feature list and version table, documents DragonToast_Options sub-addon, revises installation and command documentation, updates API integration details, and adds explicit localization and contributing guidance.

Changes

Cohort / File(s) Summary
Badge & Metadata Updates
README.md
CurseForge and Wago badges added; License badge link changed to direct GitHub URL.
Feature List & Product Description
README.md
Feature bullets expanded to include all toast types (roll-win, mail, reputation, currency), hover-pause, inventory badges, skin presets, and sound picker; queueing/performance emphasized.
Supported Versions Table
README.md
Version mappings corrected for Retail (120001), TBC (20505), and Mists Classic (50503) to align with shipped TOC values; removed outdated Retail entries.
Installation & Sub-addon Documentation
README.md
Download instructions replaced with direct links; manual install steps expanded to document both DragonToast and DragonToast_Options split; sub-addon arrangement clarified.
Slash Command Documentation
README.md
Command list streamlined with updated aliases (reset, options/settings, unlock/move); redundant test/stacking commands removed.
Configuration API Documentation
README.md
Configuration section converted from bullet-list format to organized table referencing DragonToastDB structure (general, filter, display, animation, appearance, profile categories).
Integration API Documentation
README.md
Framing shifted from fire-and-forget AceEvent to AceComm-3.0 listening model; payload table added with queue action; Lua example code included for queuing toasts.
Localization, Contributing & Support
README.md
Explicit list of 11 shipped locales added; contributing guide updated to reference AGENTS.md, luacheck, and busted tooling; support section slightly revised; author hyperlink removed.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~12 minutes

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed Title follows Conventional Commit format (docs: scope) and accurately describes the README refresh documentation changes.
Linked Issues check ✅ Passed All coding-related objectives from #181 are met: Supported Versions corrected, Features expanded for 3.x, Sub-addons documented, Toast Types listed, Localization documented, slash command aliases added, filters expanded, and Integration API enhanced.
Out of Scope Changes check ✅ Passed All changes are scoped to README.md documentation updates as stated in PR objectives; no unrelated code modifications present.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.


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.

❤️ Share
Review rate limit: 0/1 reviews remaining, refill in 60 minutes.

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link
Copy Markdown
Contributor

@coderabbitai coderabbitai Bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 2

🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In `@README.md`:
- Around line 108-129: Replace the incorrect "AceComm-3.0" reference with
"AceEvent-3.0" in the README description so it matches the actual message bus
used (see DRAGONTOAST_QUEUE_TOAST, DRAGONTOAST_SUPPRESS, DRAGONTOAST_UNSUPPRESS
and the example calling LibStub("AceEvent-3.0"):SendMessage), and ensure the
text and any headings or introductory sentence referencing the listener
explicitly say "AceEvent-3.0" to align with MessageBridge.lua's handler pattern.
- Line 33: The README line describing "DragonLoot AceComm integration" is
incorrect: replace the reference to AceComm with AceEvent because the
integration uses LibStub("AceEvent-3.0"):SendMessage() and the message handler
pattern in MessageBridge.lua; update the sentence to read something like
"DragonLoot AceEvent integration: suppresses duplicate loot toasts and queues
celebration toasts for roll wins" so it correctly references AceEvent-3.0 and
aligns with the example code and MessageBridge.lua.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Repository YAML (base), Organization UI (inherited)

Review profile: CHILL

Plan: Pro

Run ID: 8233afe0-9d5b-47c5-bbb6-93077eaab923

📥 Commits

Reviewing files that changed from the base of the PR and between e76495f and bdb7ff8.

📒 Files selected for processing (1)
  • README.md

Comment thread README.md
- LibSharedMedia integration: full control over fonts, background textures, and borders
- Sound picker with bundled default notification sounds
- Defer-in-combat option to delay toast display until after combat ends
- DragonLoot AceComm integration: suppresses duplicate loot toasts and queues celebration toasts for roll wins
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

⚠️ Potential issue | 🟡 Minor

Factual error: AceComm should be AceEvent.

The integration uses AceEvent-3.0 (internal message bus), not AceComm-3.0 (addon channel communication). This is confirmed by the example code on line 120 which calls LibStub("AceEvent-3.0"):SendMessage() and the message handler pattern in MessageBridge.lua.

📝 Proposed correction
-- DragonLoot AceComm integration: suppresses duplicate loot toasts and queues celebration toasts for roll wins
+- DragonLoot AceEvent integration: suppresses duplicate loot toasts and queues celebration toasts for roll wins
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
- DragonLoot AceComm integration: suppresses duplicate loot toasts and queues celebration toasts for roll wins
- DragonLoot AceEvent integration: suppresses duplicate loot toasts and queues celebration toasts for roll wins
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@README.md` at line 33, The README line describing "DragonLoot AceComm
integration" is incorrect: replace the reference to AceComm with AceEvent
because the integration uses LibStub("AceEvent-3.0"):SendMessage() and the
message handler pattern in MessageBridge.lua; update the sentence to read
something like "DragonLoot AceEvent integration: suppresses duplicate loot
toasts and queues celebration toasts for roll wins" so it correctly references
AceEvent-3.0 and aligns with the example code and MessageBridge.lua.

Comment thread README.md
Comment on lines 108 to +129

DragonToast provides a generic AceEvent messaging API for other addons to control toast behavior:
DragonToast listens for AceComm-3.0 messages. Other addons can trigger or suppress toasts without a hard dependency.

| Message | Payload | Description |
|:--------|:--------|:------------|
| `DRAGONTOAST_SUPPRESS` | `source` (string) | Suppress normal loot toasts (120s safety timer) |
| `DRAGONTOAST_UNSUPPRESS` | `source` (string) | Clear suppression for the given source |
| `DRAGONTOAST_QUEUE_TOAST` | `data` (table) | Queue a toast with a custom data payload |

### Example Usage

```lua
-- Queue a custom toast via AceEvent-3.0
local payload = {
itemName = "Sulfuras, Hand of Ragnaros",
itemIcon = 132711,
itemQuality = 5,
quantity = 1,
isSelf = true
}
LibStub("AceEvent-3.0"):SendMessage("DRAGONTOAST_QUEUE_TOAST", payload)
```
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

⚠️ Potential issue | 🟡 Minor

Factual error: AceComm should be AceEvent.

Line 109 claims DragonToast "listens for AceComm-3.0 messages", but line 120 contradicts this by showing the correct usage: LibStub("AceEvent-3.0"):SendMessage(). The message handler pattern in MessageBridge.lua confirms this is AceEvent (internal message bus), not AceComm (addon channel communication).

📝 Proposed correction
-DragonToast listens for AceComm-3.0 messages. Other addons can trigger or suppress toasts without a hard dependency.
+DragonToast listens for AceEvent-3.0 messages. Other addons can trigger or suppress toasts without a hard dependency.
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
DragonToast provides a generic AceEvent messaging API for other addons to control toast behavior:
DragonToast listens for AceComm-3.0 messages. Other addons can trigger or suppress toasts without a hard dependency.
| Message | Payload | Description |
|:--------|:--------|:------------|
| `DRAGONTOAST_SUPPRESS` | `source` (string) | Suppress normal loot toasts (120s safety timer) |
| `DRAGONTOAST_UNSUPPRESS` | `source` (string) | Clear suppression for the given source |
| `DRAGONTOAST_QUEUE_TOAST` | `data` (table) | Queue a toast with a custom data payload |
### Example Usage
```lua
-- Queue a custom toast via AceEvent-3.0
local payload = {
itemName = "Sulfuras, Hand of Ragnaros",
itemIcon = 132711,
itemQuality = 5,
quantity = 1,
isSelf = true
}
LibStub("AceEvent-3.0"):SendMessage("DRAGONTOAST_QUEUE_TOAST", payload)
```
DragonToast listens for AceEvent-3.0 messages. Other addons can trigger or suppress toasts without a hard dependency.
| Message | Payload | Description |
|:--------|:--------|:------------|
| `DRAGONTOAST_SUPPRESS` | `source` (string) | Suppress normal loot toasts (120s safety timer) |
| `DRAGONTOAST_UNSUPPRESS` | `source` (string) | Clear suppression for the given source |
| `DRAGONTOAST_QUEUE_TOAST` | `data` (table) | Queue a toast with a custom data payload |
### Example Usage
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@README.md` around lines 108 - 129, Replace the incorrect "AceComm-3.0"
reference with "AceEvent-3.0" in the README description so it matches the actual
message bus used (see DRAGONTOAST_QUEUE_TOAST, DRAGONTOAST_SUPPRESS,
DRAGONTOAST_UNSUPPRESS and the example calling
LibStub("AceEvent-3.0"):SendMessage), and ensure the text and any headings or
introductory sentence referencing the listener explicitly say "AceEvent-3.0" to
align with MessageBridge.lua's handler pattern.

@Xerrion Xerrion merged commit 82cb382 into master Apr 29, 2026
3 checks passed
@Xerrion Xerrion deleted the docs/181-update-readme branch April 29, 2026 09:32
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.

[Feature]: Refresh README to reflect current addon state

1 participant