Giter VIP home page Giter VIP logo

hangarxplor's Introduction

HangarXPLOR Build status

This project aims to improved the default Hangar page at https://robertsspaceindustries.com/account/pledges.

Current features include:

  • Pre-load ALL pages of your hangar at once
  • Correct the thumbnail image for upgraded ships
  • Correct the name of upgraded ships for easier searching
  • Modified filtering, allowing more accurate grouping of ships/packages/flair and upgrades
  • See each individual Pledge IDs to assist with upgrades
  • Filter on Value / LTI / Gift / Warbond status, etc.
  • See what the base item in a package was
  • See the melt value of each item in your hangar
  • Cache your hangar for faster load times
  • Export your ships in Hangar Transfer Format for use with other apps
  • Export your ships in CSV format

Browser Support

Screenshots

New and improved UI

hangarxplor's People

Contributors

dilandau avatar jan-krueger avatar peter-dolkens avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

hangarxplor's Issues

Feature Request: 24 hour melt

Not sure if the information is available for the filter, but the ability to know if the ship is meltable or not because for the 24 hour non-melt period. If still in the first 24 hours, don't show as meltable.

New "Customize the 300 Series" option breaks Total Spent

Hey! Love this idea and it has worked great.

So with the new Customize your 300 series option on RSI now, purchasing a customization for your 300 series ship, even a free one, breaks the total spent amount of the floating widget. Shows a NaN.
2019-06-06_1123_-_SC

Just a heads up. Thanks!

CIG says HangarXPLOR is not be compatible with naming ships

You've probably already heard about this, but I create a new issue for it here so it's duly recorded in the project.

The naming feature CIG have made available is said to cause problems if the HangarXPLOR extention is enabled when you try to name a ship. See https://support.robertsspaceindustries.com/hc/en-us/articles/360019839074 for more info, and the excerpt screenshot I've attached below.

NOTE: I use version 3.3.65 of HangarXPLOR (for Opera) at the moment and that version don't have any issues when naming ships, as far as I can see. I've named several ships the recent days when HangarXPLOR is running and enabled, and with no problems. But a friend of mine, who runs version 3.3.106 said to me he had this issue and therefore had to disable the extention before naming his ships.

This may be a clue to something that changed between these two versions and affected the naming feature.

Obviously, disabling the HangarXPLOR extention is a real pain when you then have to browse through, maybe, hundreds of pledges, 10 at a time, to find the ship you're interested in naming. That's why we need this issue fixed ASAP. :)

Ship-Naming-HangarXPLOR

Addon not loading

This is probably RSI side but the add-on doesn't do anything other than have the box on the side say Loading Please Wait. The add-on worked flawlessly until the introduction of the 300I customization. Ive spoken to several large fleet owners 200+ ships with the same results. Ive tried Firefox and Chrome browsers with no luck. Without the add-on though just loading the hangar seems very sluggish.

Weapons as its own group

Weapons as its own group (now it's part of Components):
It'd be nice to filter the view to just weapons, so it's the same as in the store.

Some weapons are not displayed

When extension is on (chrome), the SUBSCRIBERS EXCLUSIVE - KASTAK ARMS DEVASTATOR SHOTGUN - PATHFINDER EDITION isn't displayed. Disabling HangarXPLOR i can see it. No filter active on top page.

image

HoloXPLOR - Error while processing XML file

System doesn't give any details or error codes, it just says:

Error

An error occurred while processing your request.

I've tried to upload my XML file about twenty times, using both Firefox (well, Waterfox) and Chrome. The only time I didn't get this error was the second attempt on Firefox (after which I didn't seem to be able to actually change the loadout on my Gladius, but that's a separate issue).

Customization button has an issue

I've tried the Customization button for the Origin 300 series in Hangar Xplor 3.3.40 and noticed that when pressing it, right after I load the hangar contents, it only brings me back to the hangar. The expected function is to send me to the customization page, of course.

Now, I've also noticed that if I disable Hangar Xplor in my hangar, then reload the hangar content in the RSI view, and press the same Customize button, it brings me to the customization page.

The interesting thing is that when coming back to my Hangar, and re-enable Hangar Xplor, THEN the Customize button(s) work as expected! So I think there might be a flag that's uninitialized or something and only set correct after the customization page is loaded?

RSI Hangar UI has [slightly?] changed and broken plugin

This is mostly just a heads up; Close if you don't see any issue.
I have been using this [excellent] plugin for well over a year with no problems.
Today I noticed that the pagination of the RSI Hangar appears to have changed and this plugin no longer appears to load the ships correctly.
I don't know yet what else has changed in the Hangar UI, what else might be broken.
I don't know when this change happened, but I did not notice it not working yesterday (the last time I used the plugin).

Compact Listing

Optional (default) compact listing:
Only show the title of each item and everything else is expandable when you press the > arrow at the far right. Such a function is good for the overview of your hangar items, especially when sorted/filtered.

On top, in the heading, an Expand/Collapse button to turn this functon on/off. I propose it's collapsed as default.

Your hangar is empty

I just took a look in my hangar and when the extension is active, it tells me "Your hangar is empty"

When I disable the extension, I can see all my gear. Is there something broken in the extension?

Oh, it was working when I installed the extension and I successfully exported the file so this seems to be something recent.

CIG "Special" game package not showing with extension

Hello,

I noticed lately after getting a new game package in my hangar, that it is not shown at all in the list (with all filters cleared)
It also does not show with LTI or Game Package filters.
Here's how it look without the extension:
image
Does it have anything to do with the status "Fulfilled" which differs from standard "Attributed" ?

<div class="basic-infos clearfix">
    <div class="item-image-wrapper content-block3 executed">
        <div class="image"
            style="background-image:url('/media/smfwnj15y4gq5r/heap_infobox/MISC-Mining-Vehicle-PIECE-2-V19.jpg');">
        </div>
        <div class="corner corner-top-left"></div>
        <div class="corner corner-top-right"></div>
        <div class="corner corner-bottom-left"></div>
        <div class="corner corner-bottom-right"></div>
    </div>
    <div class="wrapper-col">
        <a class="arrow js-expand-arrow trans-02s"><span class="effect trans-02s trans-opacity"></span></a>
        <div class="title-col">
            <h3 class="">
                MISC Prospector LTI
            </h3>
            <script class="js-pledge-name-reservations" type="application/json">[]</script>
            <script class="js-pledge-nameable-ships" type="application/json">null</script>
            <input type="hidden" class="js-pledge-id" value="22773206">
            <input type="hidden" class="js-pledge-name" value="MISC Prospector LTI">
            <input type="hidden" class="js-pledge-value" value="$0.00 USD">
            <input type="hidden" class="js-pledge-configuration-value" value="$0.00 USD">
            <input type="hidden" class="js-pledge-currency" value="TyCustomer_ledger_-en">
            <input type="hidden" class="js-pledge-last-alpha" value="0">
            <span class="availability executed ">Fulfilled</span>
        </div>
        <div class="date-col">
            <label>Created:</label>
            July 10, 2020
        </div>
        <div class="items-col">
            <label>Contains:</label>
            Prospector and 3 items
        </div>
    </div>
</div>
<div class="items more js-more trans-02s trans-height">
    <h2>Items</h2>
    <span class="clear"></span>
    <div class="content-block1">
        <div class="with-images">
            <div class="item ">
                <div class="image"
                    style="background-image:url('/media/smfwnj15y4gq5r/subscribers_vault_thumbnail/MISC-Mining-Vehicle-PIECE-2-V19.jpg');">
                </div>
                <div class="text">
                    <div class="title">Prospector</div>
                    <div class="kind">Ship</div>
                    <div class="liner">Musashi Industrial &amp; Starflight Concern (<span>MISC</span>)</div>
                </div>
            </div>
            <div class="item ">
                <div class="image"
                    style="background-image:url('/media/v3awjmunb39e1r/subscribers_vault_thumbnail/AeroView_02.jpg');">
                </div>
                <div class="text">
                    <div class="title">Aeroview Hangar</div>
                    <div class="kind">Hangar level</div>
                </div>
            </div>
            <div class="cboth"></div>
        </div>
        <div class="also-contains">Also Contains</div>
        <div class="without-images">
            <div class="item ">
                <div class="title">
                    Lifetime Insurance
                </div>
            </div>
            <div class="item ">
                <div class="title">
                    Star Citizen Digital Download
                </div>
            </div>
            <div class="cboth"></div>
        </div>
        <div class="top-line-thin"></div>
        <div class="top-line"></div>
        <div class="corner corner-top-left"></div>
        <div class="corner corner-top-right"></div>
        <div class="corner corner-bottom-left"></div>
        <div class="corner corner-bottom-right"></div>
    </div>
</div>
<div class="line">
    <div class="effect trans-02s trans-opacity"></div>
</div>

Let me know if any other details is required.
Thanks again for providing such a great extension that overall the hangar so much !

Can not download JSON

When clicking the JSON download button nothing happens.
Looking at the web console, I receive a

TypeError: pledge.name is undefinedHangarXPLOR.Download.js:40:7

addon not loading due to settings file

I get an invisible icon (blank space) on my toolbar that when clicks shows this error...

File not found

Firefox can't find the file at moz-extension://568e9a6e-da50-44cc-8e1c-08fb3f7d73e5/ui_resources/HangarXPLOR.Settings.html.


[Try Again]

It was working a day or so ago fine.

"NaN" USD - Total Spend

So with Opera I get this error. It can't summarize anymore the total spent. <--That's also how you spell it.

So I figured out that it's because the UEC items is in there, as soon as they are filtered away, it all works again. So please fix this error. Seems to be only on my Opera client(not using Chrome extension for Opera) and for Chrome it's working as expected.

Is there a better system to update hangar image replacement than manually curating a list?

Right now my hangar has a lot of out of date images especially for newer ships... so far my understanding of how the plugin work is that the replacement mapping is curated by HangarXPLOR.Ships.js manually using media URL hosted on RSI.com ... This seems difficult to maintain since there doesn't seem to be a way to reliable scrape/fetch the hangar thumbnail media URL unless you have a listing in your hangar.

Is there a better way to do this? I don't mind maintaining the HangarXPLOR.Ships.js list manually if anyone can suggest a way to get the hangar thumbnail URL from RSI.com

Slow load

After updating to version 3.3.40 the load time has become very slow: 1,5 minutes on this PC.

Fine filtering on weapons

Fine filtering on Weapons, so you can opt to see only missiles and torpedoes, for instance, and not guns. And the other way around - only guns and not missiles and torpedoes.

Add an "unknown" category for unparseable items?

CIG can change the naming any way they want, which will unavoidably break parsing every now and then. How about adding an "unknown" category to gather all items that fail parsing? That way the user doesn't need to disable HangarXPLOR while waiting for an update.

Link to Billing

In the details of an item, add a link to the order in Billing.
This is nice for reference purposes.

When clicking on the link, a popup with the order contents could be shown instead of going to the Billing page.

Let plugin handle Buy Back Pledges page too

It'd be nice if HangarXPLOR could work on the Buy Back Pledges page too, for some functions at least. I'm thinking of - more than 100 per page, filter, sort, and compact listing, to begin with.

HTML5 Local Storage

Cookies are volatile and so preferences gets lost from time to time. HTML5 Storage is a better way to store data locally on the client and, since it's easier to use/develop, it can also make way for future expansion of more user setting options.

Example:
// Store
localStorage.setItem("lastname", "Smith");
// Retrieve
document.getElementById("result").innerHTML = localStorage.getItem("lastname");

See: https://www.w3schools.com/html/html5_webstorage.asp

Prices incorrect for 1000+ ships

Hi, Love the work you have done with it, but just wanted to report an issue. With the current version any package over 1000 dollars only shows as the first digit when adding the price in the left hand pricing part of the page. For example the Armada pack shows as 2 dollars and the Hull-a-palooza pack shows as 1 dollar. It appears to only be picking up the digit before the comma not the whole value.

feature quest: show melt amount total for current selection below "total spent"

hiho,

when looking to melt multiple individual purchases to maybe shoot for a bigger packages, showing the "total melt amount" for the current selection would be helpful.
bonus: have an checkbox ("include in melt total") per hangar list entry to include / exclude invidual list entries.

just an idea :) cheers, bela

Link to Ship Detail Page

A link to the ship page would be nice to have in the details section of the hangar item, for more specific details overview.

Example:
For a Constellation Aquila pledge, this would be the link:
https://robertsspaceindustries.com/pledge/ships/rsi-constellation/Constellation-Aquila

NOTE: To get the links, I guess you'd have to scrape them from the Ships page (https://robertsspaceindustries.com/pledge/ships) or the Ship Matrix page (https://robertsspaceindustries.com/ship-matrix)

Are there any known parsers of the Hangar Transfer Format?

I'm thinking about developing a service which at some point could load a downloaded json file for all the ship information.
Rather then writing the entire json parser (wouldn't be much but still), I was thinking if there were any existing libraries which already process such a json file.
If not I'd be willing to write a library in C# for that purpose.

Zero dollar melt

Some ship items in the hangar has zero value if melted, but the Exchange button is operative anyway. I'd expect the button was greyed out when it was no use to melt. Se attached image.

hangar_xplor_zero_exchange

Category Filter Corrections

Some items don't filter correctly.

  • Items with sub components, like the Endeavor Master Set, show up in a filtered list of Components.
  • Skins like "Electro Skin" and "Exploration skin" only show up in an unfiltered list, "All Types".
    There's no filter for "Skins" either, in the filter drop-down menu.
    However, GreyCat skins show up in filters "All Flair" and "Decorations" (in addition to "All Types").
  • Some new items don't show up in existing filters.
  • Some new filters are probably necessary, like "Ground Vehicles" (or "Cars")?

Are buybacks not supported?

Hi,
After years of knowing of this, I just tried the chrome addon and saw it didn't give me a JSON download option for my buybacks or recruits list. Does it only work with the hangar tab? I will like to say thank you! This addon is absolutely amazing!

Option to not show item order number

This is an enhancement wish.

When taking screen shots of your hangar items, for showing to someone, it's best to not reveal your order number (as this can identify the pledge at CIG support). A new (filter) option to not show the order number would therefore be appreciated.

Upgrade [or others?] with ' - ' in their name don't parse correctly

Upgrades that have a ' - ' in their ship name don't parse correctly:
Examples:
"SHIP UPGRADES - CYCLONE TO TUMBRIL - NOVA TANK UPGRADE"
"SHIP UPGRADES - ORIGIN X1 - VELOCITY TO ORIGIN X1 - FORCE UPGRADE"
"SHIP UPGRADES - ORIGIN X1 TO ORIGIN X1 - FORCE UPGRADE"

The problem is a combination of var titleParts = pledgeName.split(/\s-\s/) and how titleParts[index > 0] are used.

I'm working on a fix for this, but if you have a quick fix idea feel free to impl it yourself.

Move left side menu items and delete the left side pane

To make more room for long item descriptions and for later implementation of #13 Compact Listing, please move the left side menu items and make them buttons instead of links. Then delete the left side pane to add this real estate to HangarXPLOR instead. I also suggest that the three buttons (Ship upgrades, Pledge, Electronic access) which goes/went to functions in the pledge store are grouped together above the buttons that relates to the hangar.

See mock-up solution below.

HangarXPLOR-move-menu

ship picture

I am not sure this is an extension issue or rsi website, but the ship pic of the Scorpius is not what it should be

Screenshot_2021-05-23 My Hangar - Roberts Space Industries Follow the development of Star Citizen and Squadron 42(1)

Unfiltered CSV/JSON export

The CSV/JSON export is great, it is very nice that it works for the starship42 site as well, however, I would really like to have an unfiltered list, a list of everything I own that I can import to a spreadsheet, and I can't figure out how to do that. I think the original feature request for the export called for it to export the current view, but it still limits itself to only ships.

feature request: add filter for doubles

hi all,

amazing plugin, thanks a ton for it!
unsure whether issues are meant to be used for feature requests but i didnt find another way, so here i go.
would it be possible to add an additional filter to show hangar items which you own more than one of? ideally configurable to differentiate between: completely identical vs same base model (but maybe different paint job).
if this is not the place for feature requests, i apologize and kindly ask to be pointed in the right direction.

cheers,
bela

Add "Export" button (CSV/JSON/whatever)

Once someone gets the filtered view of info they want, it would be nice to be able to export the data to CSV [or other format] for managing in a spreadsheet.
Let me know if you need any more details.

"Flair" filter, or qualify flair under "Reward"

I hate seeing a lot of the Flair in my hangar view.
There doesn't seem to be a filter to hide it.
Please either add a "Flair" filter, or I'd be fine w/ calling flair a "Reward" and having the reward filter show/hide flair.

Missing skins in filter group "Paints"

While going through my skins/paints I noticed a couple that don't show up in filter "Paints". Both are ancient skins, from the Kickstarter days. None of these have any thumbnail image yet and they're not purchaseable on RSI either anymore.

  1. Shut Up and Take My Money! -- missing in Paints, showing in unfiltered (All Types)
  2. You Got Our Backs (Electro Hull) -- missing in Paints, showing in unfiltered (All Types) and Add-Ons.

@peter-dolkens: Both skins are in my hangar, which you have to test.

24 hr countdown for buying more UEC

I'd love a countdown clock in the Hangar, counting down from my last purchase of UEC, as you can only buy (max $25) UECs every 24 hrs. Today I have to go into the Billing page to see when the latest order is timestamped.

CSV and JSON export show undefined for most columns

Wait for plugin to finish loading on hangar page and click download csv see example output below

over 456 ships not sure if thats just too much for it. please let me know if you need any more info

see you in the verse - Sarg3v3

Manufacturer, Ship, Lti, Warbond, ID, Pledge, Cost, Date
"undefined","100i",false,false,,"undefined","undefined","2021-02-21"
"undefined","100i",false,false,,"undefined","undefined","2021-02-19"
"undefined","100i",false,true,,"undefined","undefined","2020-10-11"
"undefined","125a",false,false,,"undefined","undefined","2021-02-21"
"undefined","125a",false,false,,"undefined","undefined","2021-02-19"
"undefined","125a",false,true,,"undefined","undefined","2020-10-11"
"undefined","135c",false,false,,"undefined","undefined","2021-02-21"
"undefined","135c",false,false,,"undefined","undefined","2021-02-19"
"undefined","135c",true,false,,"undefined","undefined","2020-02-23"
"undefined","135c",true,false,,"undefined","undefined","2020-02-03"
"undefined","300i",false,false,,"undefined","undefined","2020-01-30"
"undefined","300i",true,true,,"undefined","undefined","2020-01-04"
"undefined","300i",true,false,,"undefined","undefined","2017-07-27"
"undefined","315p",false,false,,"undefined","undefined","2021-01-22"
"undefined","315p",false,false,,"undefined","undefined","2020-01-30"
"undefined","315p",true,false,,"undefined","undefined","2019-12-25"
"undefined","315p",true,false,,"undefined","undefined","2017-07-27"
"undefined","325a Fighter",false,false,,"undefined","undefined","2021-03-05"
"undefined","325a Fighter",false,false,,"undefined","undefined","2020-01-30"
"undefined","325a Fighter",true,true,,"undefined","undefined","2020-01-04"
"undefined","325a Fighter",true,false,,"undefined","undefined","2017-07-27"
"undefined","350r",true,false,,"undefined","undefined","2020-02-23"
"undefined","350r",true,false,,"undefined","undefined","2017-07-27"
"undefined","600i",true,false,,"undefined","undefined","2020-02-23"

Extension broken on Firefox v89.0b15 (64 bits)

Reinstalled the extension today and found it completely broken (no icon in the upper toolbar).

I use a portable installation of Firefox v89.0b15 (64 bits).

image

Basically it says:

"Firefox cannot find the file at the following adresse moz-extension://db33583e-55bc-4289-a3d6-3244ed6b7947/ui_resources/HangarXPLOR.Settings.html"

Let me know if you require more data.

Version 3.3.46 broke some things

I installed the latest version, 3.3.46, in Chrome and now HangarXPLOR seems to think my hangar is empty. See attached screenshot.

HangarXplor_3 3 6

Caching Stale Data

Google Chrome, latest version. Linux.

I've been using Hangar Xplor pretty much since it came out, and I love it. Recently I've noticed a strange behavior. I have multiple computers. Computer A, and Computer B in this example.

I've loaded my hangar on both A & B. On Computer A, I make some changes, apply a CCU, melt a ship, etc.. It is reflected on Computer A without issue. I log in on Computer B, and Computer B shows me stale data, how my hangar was before I changed anything; the same as it was the previous time I loaded it.

Initially, I could resolve this by logging out, and logging back in. That is no longer working. I disable the extension on Computer B, and the data is all there and correct in the default (yuk) hangar view. I reenable the extension, and bam, stale data again. A forced refresh does not solve this either (CTRL+F5). Clearing my browser data (cookies and cached data) does not seem to fix this.

It would be useful if there was a simple way to force the extension to load fresh data.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.