# Decor Vendor Changelog
## Version 2.00

### Main UI Redesign

- Reworked the main Decor Vendor window into a section-based Home dashboard.
- Removed the old bottom tab navigation from the visible UI.
- Added large section cards for:
  - Vendors
  - Professions
  - Quests
  - Achievements
  - Boss Drops
  - Gallery Browser
- Added a `Home` button to return to the section menu at any time.
- Added a small bottom tip reminding users that `Home` returns to the section menu.
- Improved the main frame flow so selecting a section opens the original vendor/profession/quest/achievement/drop browser views.

### Welcome Panel Removed

- Removed the old one-time Welcome Panel.
- The new Home dashboard now acts as the main landing page for Decor Vendor.
- Simplified the startup/opening experience by opening directly into the main section menu.

### Gallery Browser Integration

- Updated the Gallery Browser card to open the Gallery directly from the new Home dashboard.
- Improved Gallery-to-Decor Vendor navigation so returning from the Gallery opens the main Decor Vendor Home dashboard correctly.
- Fixed an issue where opening Decor Vendor from the Gallery could show an empty main frame.
- Updated Gallery opening behavior so the main Decor Vendor frame hides when the Gallery is opened.
- Added/updated loading tips for the Gallery so users know the first load may take a moment.

### Upcoming Patch Decor Updates

- Continued adding and cleaning up upcoming patch décor data.
- Added additional PTR/upcoming décor records as they become available.
- Continued reviewing Housing Catalog differences between live/PTR builds.
- Improved handling for décor that may exist in addon data before appearing in the in-game Housing Catalog.
- Added better tracking for upcoming or hidden décor using fields such as:
  - `minInterface`
  - `unreleased`
  - `hideFromGallery`
  - `modelBroken`
- Continued cleanup of shop, promo, other, and unreleased source categories for upcoming patch testing.

### Data / Debug Cleanup

- Kept debug tools separated by addon module:
  - Decor Vendor debug tools remain in `DecorVendor`
  - shared data/catalog debug tools remain in `DecorVendor_Data`
  - Gallery debug and dump tools remain in `DecorVendor_Gallery`
- Improved workflow for checking ActiveItems against the current Housing Catalog.
- Improved handling for catalog records that may be hidden, removed, or disabled on PTR builds.
- Reduced unnecessary catalog status messages in chat for normal users.

### Fixes

- Fixed Home dashboard navigation not finding the original section handlers.
- Fixed the Gallery card not hiding the main Decor Vendor frame.
- Fixed Decor Vendor returning from Gallery into an empty frame.
- Fixed bottom tab logic so the old tab buttons can still power section switching internally while remaining hidden from the UI.
- Improved Home/dashboard visibility so the old sidebar and content area do not bleed through behind the Home panel.
- Improved header button layout after removing the old Gallery header button.
- Improved tip text placement and readability in the main frame.

### Notes

Version 2.00 is a major UI cleanup update. Decor Vendor now opens into a cleaner Home dashboard instead of relying on bottom tabs or a separate Welcome Panel.

Upcoming patch décor support is still being finalized as PTR data changes, especially for items that appear in datamined sources before they are fully available in the in-game Housing Catalog.

## Version 1.99

### ActiveItems Database Updates

- Re-merged the split expansion ActiveItems files back into one combined `ActiveItems.lua` file.
- Kept expansion/category registration intact while simplifying long-term editing and maintenance.
- Cleaned up ActiveItems so it focuses more on core item data such as:
  - `itemID`
  - `decorID`
  - `model3D`
  - `source`
  - `soldBy`
  - `mapID`
  - `zone`
  - `sourceAction`
  - `bossevent`
  - `minInterface`
- Moved more Gallery-specific display text into `GalleryItemDetails.lua` where appropriate.
- Reduced duplicate note handling between ActiveItems, Gallery details, and boss/drop source data.

### Gallery Details Improvements

- Improved Gallery preview details for boss drops, treasures, events, and profession-related décor.
- Added better support for showing source location/zone text in Gallery details.
- Added support for showing `Profession:` text before event, treasure, or source-action details.
- Added support for `Learned From:` recipe text using Gallery item detail fields such as:
  - `professionText`
  - `recipeName`
  - `recipeItemID`
- Improved handling for décor that is crafted by a profession but learned from a treasure, recipe, or special source.
- Improved Gallery item notes so custom notes can appear under generated event/drop location lists.
- Added duplicate-note protection to reduce repeated notes in the preview panel.

### Source Action / Map Updates

- Improved shared source action handling for map-based sources.
- Added support for extra source notes from `Shared.SourceActions`.
- Improved handling for grouped map actions and multi-location sources.
- Improved parent/overview map support using `openMapID`.
- Continued improving source-action matching between:
  - `sourceAction`
  - `bossevent`
  - `dropName`
  - `treasureName`
  - `eventName`

### Profession / Recipe Display Updates (Still in process)

- Added Gallery display support for profession décor learned from recipes.
- Added recipe display text without requiring recipe vendors to be added to the main Decor Vendor vendor list.
- Improved profession source text so crafted décor can show both:
  - the profession requirement
  - the recipe or learned-from source
- Cleaned up recipe-related Gallery item detail formatting.

### Fixes

- Fixed profession text being skipped when an item also used event/drop/source-action text.
- Fixed Gallery notes being ignored when event/drop text returned early.
- Fixed some duplicate boss/drop notes appearing in Gallery preview details.
- Fixed source-action notes not being carried into the final preview text.
- Fixed boss/drop zone names not appearing clearly in Gallery details.
- Improved handling for Gallery-only item detail overrides.
- Improved source detail ordering in the Gallery preview panel.

### Notes

This update focuses heavily on Gallery data cleanup, source display accuracy, and making the shared data easier to maintain.

The ActiveItems data has been consolidated again into one main file, while Gallery-specific display information remains in the Gallery detail files.


## Version 1.98

### Packaging / Addon Suite Updates

- Updated addon folder structure for CurseForge packaging.
- Renamed supporting modules for better CurseForge compatibility:
  - `DecorVendor_Data`
  - `DecorVendor_Gallery`
- Updated addon dependency references to use the new folder names.
- Updated Gallery loading logic so the main Decor Vendor addon correctly loads `DecorVendor_Gallery`.
- Added compatibility globals so older internal references can still use:
  - `DecorVendorData`
  - `DecorVendorGallery`

### Gallery Browser Fixes

- Fixed the Gallery button failing to open after the folder rename.
- Updated Gallery loader checks to use the correct load-on-demand addon name.
- Improved Gallery global lookup support for both old and new naming styles.
- Added safer fallback handling when opening the Gallery from the welcome screen.

### Data Module Updates

- Added alias support for the renamed data module.
- `DecorVendor_Data` now supports both:
  - `_G.DecorVendorData`
  - `_G.DecorVendor_Data`
- Improved shared data bridge compatibility between Decor Vendor and DecorVendor Gallery.

### Welcome Screen Updates

- Added a new welcome screen for Decor Vendor.
- Added a Gallery Browser development notice.
- Improved welcome screen readability and font sizing.
- Added buttons for opening Decor Vendor or launching the Gallery Browser.

### Fixes

- Fixed Gallery Browser load errors caused by the addon folder rename.
- Fixed incorrect addon name references in the Gallery loader.
- Fixed compatibility issues caused by CurseForge folder naming requirements.
- Improved multi-folder addon packaging support.

### Notes

Decor Vendor is now packaged as a multi-folder addon suite. The package includes:

- `DecorVendor`
- `DecorVendor_Data`
- `DecorVendor_Gallery`

All three folders should remain installed together for the full addon experience.