Releases: Cidan/BetterBags
Releases · Cidan/BetterBags
v0.4.7
BetterBags
v0.4.7 (2026-02-18)
Full Changelog Previous Releases
- feat: The previous attempt to add a tooltip to the category lis... (#892)
- feat(config): add tooltip to category list items in options screen
When hovering over a category entry in the category options list,
show a GameTooltip with the text:
"Shift-click to move this category to the pinned category section"
This re-adds the tooltip that was previously removed, ensuring users
know about the shift-click pinning shortcut. The tooltip is shown via
GameTooltip:SetOwner/SetText/Show in OnEnter, and hidden via
GameTooltip:Hide in OnLeave. Header items are excluded (they already
have no OnEnter/OnLeave handlers).
Co-Authored-By: Claude Sonnet 4.6 noreply@anthropic.com - fix(config): correct GameTooltip:SetText alpha parameter in category list tooltip
The tooltip was not displaying correctly because GameTooltip:SetText() has the
signature SetText(text, r, g, b, alpha, textWrap), but the call was passing only
5 arguments withtrueas the 5th argument. This causedtrueto be interpreted
as the alpha value instead of the textWrap flag, meaning textWrap was absent
(defaulted to false). With long tooltip text and no wrapping, the tooltip text
overflowed off-screen and was effectively invisible.
Fix: add the missing alpha=1 argument so textWrap=true is correctly passed as
the 6th argument:
GameTooltip:SetText(text, 1, 1, 1, 1, true)
Co-Authored-By: Claude Sonnet 4.6 noreply@anthropic.com - feat: The previous attempt to add a tooltip to the category lis...
Automated commit generated by the Nanomite code tool.
Prompt:
The previous attempt to add a tooltip to the category list in BetterBags (PR #891) didn't work. The user reports no tooltip is appearing. Task: 1. Re-examineconfig/categorypane.luaand how the category list is implemented. 2. Check if theOnEnterandOnLeavehandlers are actually being triggered on the correct frame. 3. Verify ifGameTooltipis being used correctly in this context (e.g., is it being obscured, or is the frame not mouse-enabled?). 4. Fix the implementation so the toolt...
Co-authored-by: Claude Sonnet 4.6 noreply@anthropic.com - feat(config): add tooltip to category list items in options screen
- feat(sorting): add Expansion sort option for items (#890)
Add a new "Expansion" sort option to the Item Order dropdown, allowing
users to sort items chronologically by the expansion they were introduced
in (Classic -> TBC -> ... -> Midnight).
Changes:- core/constants.lua:273: Add EXPANSION = 4 to ITEM_SORT_TYPE enum
- config/config.lua:220-228: Add "Expansion" option to Item Order dropdown
for both Backpack and Bank, mapping to const.ITEM_SORT_TYPE.EXPANSION - util/sort.lua:220-242: Implement SortItemsByExpansion function that:
- Uses data.itemInfo.expacID for expansion ordering
- Defaults to 0 (Classic) for items with missing expacID
- Falls back to alphabetical sort when expansions are equal
- Falls back to item count and GUID for stable sorting
- util/sort.lua:61-76: Update GetItemSortFunction to return
SortItemsByExpansion when EXPANSION sort type is selected
The expansion ID is already populated by the WoW API via C_Item.GetItemInfo()
and stored in itemInfo.expacID. Lower expansion IDs represent older content
(0 = Classic, 11 = Midnight), providing chronological ordering.
All luacheck validation passes with no warnings or errors.
Co-authored-by: Claude Sonnet 4.5 noreply@anthropic.com
- feat(ui): add item list support to search categories (#888)
- feat(categories): add item list support to search categories
Search categories can now have both a search query and a manually-added
item list, allowing users to supplement query results with additional
items.
Changes:
- config/categorypane.lua:
- Added item list UI section to CreateSearchDetailPanel (similar to
manual categories) - Repositioned Save/Rename/Delete buttons to bottom with divider
- Added drag-and-drop support for adding items to search categories
- Updated ShowSearchCategoryDetail to load item list on display
- Item list label clarifies these are "Additional Items" to supplement
the search query
- Added item list UI section to CreateSearchDetailPanel (similar to
- data/categories.lua:
- Removed blocking logic in AddItemToCategory that prevented items
from being added to categories with searchCategory field (lines
175-176 and 184-185) - Search categories can now accumulate items in their itemList just
like manual categories
How it works:
- Removed blocking logic in AddItemToCategory that prevented items
- Search query results are cached in items:RefreshSearchCache and
looked up via searchCache[kind][slotkey] - Manually added items are stored in category.itemList and found via
categories:GetCustomCategory - When an item matches both the search query AND is in the itemList,
the priority system determines which takes precedence (both will
return the same category name, so priority comparison is consistent) - The UI now exposes the item list for search categories, making the
dual-matching behavior accessible to users
Technical details:
- The items module already supported this pattern - it checks both
searchCache and GetCustomCategory, comparing priorities when both
match - SaveSearchCategory already preserved itemList via "itemList =
filter.itemList or {}" (line 801) - The blocking logic was the only thing preventing this feature from
working
Co-Authored-By: Claude Sonnet 4.5 noreply@anthropic.com
- fix(config): display item list for search categories in Category Pane
The Category Pane's "Additional Items" list was not displaying for search
categories, even when items had been manually added. This was because the
LoadItemList function was hardcoded to only update the manualDetail.itemListFrame,
ignoring the searchDetail.itemListFrame that search categories use.
Changes made:
- Modified LoadItemList() to detect which detail panel is currently active
(searchDetail or manualDetail) and update the correct item list frame
accordingly. This allows both manual categories and search categories to
display their item lists properly. - Updated the bags/Draw event handler to refresh the item list when EITHER
a manual category OR a search category is selected, ensuring that items
added via drag-and-drop appear immediately in the UI for both category types.
The item list UI elements (frames, drag-and-drop handlers) were already present
in the searchDetail panel, and the ShowSearchCategoryDetail() function was
already calling LoadItemList(). The issue was purely that LoadItemList() was
not routing to the correct frame for search categories.
Fixes the "Additional Items" list display for search categories.
Co-Authored-By: Claude Sonnet 4.5 noreply@anthropic.com
Co-authored-by: Claude Sonnet 4.5 noreply@anthropic.com - feat(categories): add item list support to search categories
- feat(ci): add luacheck GitHub Action workflow (#887)
- feat(ci): add luacheck GitHub Action workflow
Add automated luacheck validation on all pull requests to the main branch.
This workflow:
- Runs on every pull request targeting the main branch
- Installs Lua 5.1 and LuaRocks using official GitHub Actions
- Installs luacheck via LuaRocks
- Executes luacheck on the entire repository
- Respects the existing .luacheckrc configuration
- Fails the PR check if luacheck finds any issues
This ensures code quality standards are maintained and catches Lua
syntax errors, undefined globals, and other issues before merging.
Co-Authored-By: Claude Sonnet 4.5 noreply@anthropic.com
- chore: exclude .luarocks directory from luacheck
Updated .luacheckrc to ignore the .luarocks directory, which contains
installed LuaRocks dependencies. This prevents luacheck from linting
third-party code and improves performance.
Co-Authored-By: Claude Sonnet 4.5 noreply@anthropic.com
Co-authored-by: Claude Sonnet 4.5 noreply@anthropic.com - feat(ci): add luacheck GitHub Action workflow
- Bug - Bag Cell Layout is Inconsistent (#874)
- CalculateColums - ensure there are no extra columns
- feat(categories): add priority support for item list based categories (#886)
- feat(categories): add priority support for item list based categories
Implements priority-based category selection for item list categories,
allowing them to compete with search categories based on configurable
priority values. This resolves GitHub issue #884.
Changes
- feat(categories): add priority support for item list based categories
- UI Layer (config/categorypane.lua)
- Added priority input field (0-99) to manual category detail panel
- Updated ShowManualCategoryDetail to populate priority field from category data
- Updated SaveManualCategory to save priority field when category is saved
- Modified category list display to show priority for all categories (not just search)
- Changed note display logic to show priority for both search and item list categories
- Data Layer (data/categories.lua)
- Updated GetCustomCategory to return both category name AND priority
- Modified return type from
string|niltostring|nil, number|nil - Ensured all code paths return p...
v0.4.6
BetterBags
v0.4.6 (2026-02-12)
Full Changelog Previous Releases
- fixed bank issue in retail
- added support for deleting old categories
added explicit links in the code for sub categories and their parents - fixed item list icons in classic
- fixed a bug with item lists in classic
- fixed bank error on close in classic
- fixed X button on bank not closing bank
- fixed visible scroll bars in bank
- fixed color selection and added reset color
v0.4.5
BetterBags
v0.4.5 (2026-02-10)
Full Changelog Previous Releases
- Revert "reworked search caching so it's less intensive when looting items"
The incremental search cache optimization is causing issues with search
category assignments. Reverting to the original full-rebuild approach
until the cache implementation can be fixed.
Co-Authored-By: Claude Sonnet 4.5 noreply@anthropic.com
v0.4.4
v0.4.3
BetterBags
v0.4.3 (2026-02-10)
Full Changelog Previous Releases
- Updated TOC for patch day
- added show/hide category in options screen
- removed minimum ilvl for color calc
- fixed color reset
- item level color fixes
- reworked search caching so it's less intensive when looting items
- fixed a few errors on renaming of groups and categories
v0.4.2
BetterBags
v0.4.2 (2026-02-07)
Full Changelog Previous Releases
- fixed for MOP
- itemlevel recolors as it's updated
- small bugfix
- max ilvl per character
- small fixes
- auto colors
v0.4.1
BetterBags
v0.4.1 (2026-02-06)
Full Changelog Previous Releases
- fix lint errors
- Update README.md for Midnight (#876)
Update images to new look.
Update supported versions.
Add descriptions of new features (category groups/character bank tabs/profiles/import+export/group by).
Update feature development. - fixed quickfind swapping tabs
- fixed renaming stale groupby
- rename bug fix
- cat rename
- list fixes
- redone selection system
- quickfind support complete
- removed qf delay
- qf search box
- more config
- added label
- initial qf implementation
- qf wip
v0.4.0
BetterBags
v0.4.0 (2026-02-05)
Full Changelog Previous Releases
- fixed profile copy
- profile wip
- dropdown fix
- profile wip
- small fix for clicks
- working indicator
- drag cursor fix
- better drop behavior
- tab drag wip
- first pass
- fixed tab gap on backpack
- drag to item list
- fixed delete prompt
- fixed color bleed
- color wip
- fixed item list update
- fixed item list in category list
- instructions
- fixed tabs in classic versions
fixed currency in classic versions - removed old gw2 icons not needed on bag anymore
- undo column fix
- scroll box fixes
- fixing button
- tab adjustment
- highlight fix
- tab fixes
- added groups to TOC
- fixed a few lint issues and bugs
- fix hover on currency
- fixed toggle
- fix highlight
- currency move wip
- small visual bug fix for tabs on options
- small tab visual fix
- fixed inline rendering
- split functions
- theme switch
- fixed query sync
fixed deletion of categories - text area edit
- align text
- remove plus button
- fix index list order bug
- fixed list in options
- fixed missing backpack option
- small adjust to index list offset
- small adjust to padding on top of options
- fixed list width and elements on load
- display fix
- categories config rework wip
- added group by query string
- added group by feature
- fix default highlight
- default tab
- tabs appear/disappear on toggle
- toggle for showing groups
- fixed linting issues
- section highlights fix
- dragging wip
- fixed min window size
- empty window
- fixed decoration cells
- help text
- tab functionality wip
- tabs for bags working
- group creation working
- tab wip
- tab group wip
- small doc fix
v0.3.49
BetterBags
v0.3.49 (2026-01-31)
Full Changelog Previous Releases
- bank frame closes on esc and more docs
- esc taint fix
- increased item button pool on boot (combat taint fix)
added option to have bags animate on show/hide
v0.3.48
BetterBags
v0.3.48 (2026-01-31)
Full Changelog Previous Releases
- fixed gw2 theme icons
- better drawing of tab selection
- added subsections without index in options screen
- fixed debug frame logic
fixed scrollbars in option screen - wip more subsecton fixes
- removed options subsections
- wip options rework
- tab click fix
- highlight fix
- ordering fix
bank purchase tab - better purchase ux
- taint on buying tabs fixed
- potential fixes for bank taint
- added midnight exp search
- added logs disable