Skip to content

Conversation

@warricksothr
Copy link

Summary

Extends HangarXPLOR to enhance the RSI Buyback Pledges page with filtering, sorting, search, and export capabilities.

Changes

  • Buyback page enhancements: Pre-load all pages, filter by type (Ships, Packages, Upgrades, Paints, Add-Ons, Components, Weapons, Decorations, Subscriber Items), sort by name/type/date, search across items
  • Pagination controls: Custom pager matching hangar page style with items-per-page dropdown and page buttons
  • Summary panel: Shows total item counts by category
  • Export support: JSON and CSV export for buyback items
  • Caching: Local storage caching for faster subsequent loads
  • Type normalization: Standardized type names (e.g., "Standalone Ship" → "Standalone Ships") for consistent exports
  • UI polish: Removed RSI's native pagination to prevent accidental page navigation, styled controls to match site theme

Files Added

  • HangarXPLOR.DrawBuybackUI.js - UI controls rendering
  • HangarXPLOR.FilterBuyback.js - Filtering and sorting logic
  • HangarXPLOR.RenderBuyback.js - Display rendering
  • HangarXPLOR.ParseBuybackPledge.js - DOM parsing
  • HangarXPLOR.BuybackBulkUI.js - Summary panel
  • HangarXPLOR.LoadBuybackPage.js / LoadBuybackCache.js / SaveBuybackCache.js - Data loading and caching
  • HangarXPLOR.ProcessBuybackPage.js - Page processing

Resolves #25, resolves #67

## Summary

Extends HangarXPLOR to enhance the RSI Buyback Pledges page with filtering, sorting, search, and export capabilities.

## Changes

- **Buyback page enhancements**: Pre-load all pages, filter by type (Ships, Packages, Upgrades, Paints, Add-Ons, Components, Weapons, Decorations, Subscriber Items), sort by name/type/date, search across items
- **Pagination controls**: Custom pager matching hangar page style with items-per-page dropdown and page buttons
- **Summary panel**: Shows total item counts by category
- **Export support**: JSON and CSV export for buyback items
- **Caching**: Local storage caching for faster subsequent loads
- **Type normalization**: Standardized type names (e.g., "Standalone Ship" → "Standalone Ships") for consistent exports
- **UI polish**: Removed RSI's native pagination to prevent accidental page navigation, styled controls to match site theme

## Files Added

- `HangarXPLOR.DrawBuybackUI.js` - UI controls rendering
- `HangarXPLOR.FilterBuyback.js` - Filtering and sorting logic
- `HangarXPLOR.RenderBuyback.js` - Display rendering
- `HangarXPLOR.ParseBuybackPledge.js` - DOM parsing
- `HangarXPLOR.BuybackBulkUI.js` - Summary panel
- `HangarXPLOR.LoadBuybackPage.js` / `LoadBuybackCache.js` / `SaveBuybackCache.js` - Data loading and caching
- `HangarXPLOR.ProcessBuybackPage.js` - Page processing
@warricksothr
Copy link
Author

Some images of it in action on my local development version in Firefox. I have not tested Chrome or Edge for consistency.

image image

@warricksothr
Copy link
Author

warricksothr commented Dec 5, 2025

I've pre-built unsigned plugins (Chrome, Edge, and Firefox) with my local development environment -
HangarXPLOR-pr-build-3.17.0.15.zip (SHA256: 8ad17969b417448415c788640254ead236bff586eefd51f96dd7aa72d1a73ecb)

⚠️ As with all things from the internet, especially code, read/confirm the source matches what you expect before using it. At a very minimum review the manifest.json file in the plugin to confirm what it will have access to. ⚠️

These are unsigned plugins so you'll need to use your browser developer features to load them before using them.

Mistakenly ported local development documentation links while preparing the pull request for upstream
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.

Are buybacks not supported? Let plugin handle Buy Back Pledges page too

1 participant