dolkensp / hangarxplor Goto Github PK
View Code? Open in Web Editor NEWHangarXPLOR is a chrome extension that upgrades the UI/UX of the Star Citizen hangar page
Home Page: https://robertsspaceindustries.com/
License: MIT License
HangarXPLOR is a chrome extension that upgrades the UI/UX of the Star Citizen hangar page
Home Page: https://robertsspaceindustries.com/
License: MIT License
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.
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.
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.
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.
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.
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
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.
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. :)
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)
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.
@peter-dolkens: Both skins are in my hangar, which you have to test.
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).
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!
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.
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
Was working fine in 52 ESR.
What info can I gather to help?
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.
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.
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?
Any chance you could make this part of the ship ccu box taller? I frequently use it to compare prices for ships etc.. and it feels really cramped when I'm doing that.
Investigate possible options for CCU / price comparisons.
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.
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:
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 & 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 !
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.
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.
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
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.
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.
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.
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).
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.
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");
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.
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.
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.
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).
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"
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.
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.
Some items don't filter correctly.
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
After updating to version 3.3.40 the load time has become very slow: 1,5 minutes on this PC.
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.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.