OneCoke - RepTool.zip
What's new
### Added
- **Real-time ETA.** Alongside "N kills to Revered", RepTool now also estimates "~18m to Revered" based on your actual session-wide rep/minute pace (not the rep-per-kill rate). Shown inline on overlay rows, in the hover tooltip, and per-standing in the expanded kill breakdown. Needs at least 30 seconds of session data before it appears, since a rate from a few seconds is too noisy to trust. Toggle via the new "Show Time Estimate" checkbox.
- **Auto-detect new zone factions.** Entering a zone tied to a reputation faction you're not tracking yet (e.g. Zangarmarsh → Cenarion Expedition/Sporeggar, Shadowmoon Valley → Netherwing/Ashtongue Deathsworn) now prompts a one-click "start tracking?" popup. Only prompts once per faction per session, and only for factions currently unlocked/visible in your reputation pane. Toggle via the new "Suggest Factions By Zone" checkbox.
- **LibDataBroker support.** RepTool now registers an LDB data source, so broker-display addons (Titan Panel, ChocolateBar, etc.) can show/dock it instead of (or alongside) the minimap icon.
- **Minimap icon click behavior redefined:** left-click shows/hides the faction table overlay; right-click opens settings. Rebuilt on the standard LibDBIcon-1.0 library (bundled) instead of hand-rolled drag code, so it also plays nicely with minimap-button-collector addons.
### Fixed
- **Addon wasn't loading** the `.toc` file was named `RepTool.toc` but the addon folder is `OneCoke - RepTool`. WoW requires the `.toc` filename to match the folder name exactly, so the client never found it. Renamed to `OneCoke - RepTool.toc`.
- **Minimap icon position wasn't saved** dragging the icon never persisted its position, so it reset to the default spot on every reload/login. Now uses LibDBIcon-1.0, which persists position in `RepToolDB.minimapIcon` and restores it on login.
- **Stale TOC Interface version** bumped `## Interface: 20505` to `20506` to match the current TBC Anniversary client build, avoiding an "out of date" flag after a patch.
### Changed
- **Priority-tier sorting now actually promotes the faction you just gained rep with.** Previously, the "recently active" faction only jumped ahead of others when it tied *exactly* on both priority and kills-to-next-standing with another faction which almost never happened, so the feature was effectively inert. Sorting now:
1. Groups strictly by priority tier (Urgent → Ignore).
2. Within a tier, puts whichever faction you're currently gaining rep with at the top.
3. Falls back to kills-to-next-standing (closest first), then faction name.
- **"Recently active" highlight now fades.** It used to stick to one faction indefinitely until you gained rep with a *different* tracked faction. Now it expires 45 seconds after your last rep gain (checked via a periodic timer) and the faction drops back into normal kill-order sort within its tier.
This mod has no additional files

