FuelRats / fuelrats.com

Main website of the Fuel Rats. Elite: Dangerous's premier emergency refueling service.
https://www.fuelrats.com
BSD 3-Clause "New" or "Revised" License
30 stars 27 forks source link

Display system information in dispatch board #411

Open SuperManifolds opened 1 week ago

SuperManifolds commented 1 week ago

Description

Show system information in dispatch board (distance from landmark, star type)

Additional Information (optional)

No response

FuelRats IRC Nickname (optional)

SuperManifolds

I can help!

evertiro commented 1 week ago

Thoughts on how you'd like to see this displayed? We don't have a ton of space to work with given the current design.

UncleClapton commented 1 week ago

TODO: Get SAPI Documentation for this

UncleClapton commented 1 week ago

@evertiro this is a request to return a feature we cut at some point due to issues, though I can't remember the specifics why.

We used to display some basic system information in chips on the detail view, similar to the paperwork link chip

evertiro commented 1 week ago

I'm good with issues...

SuperManifolds commented 1 week ago

We could go two ways with this, since I implemented this in mecha already I could write up some documentation on how to achieve this, though mecha actually already writes a cache of system information inside the rescue entry to avoid repeated lookups, so we could potentially just use that

kenneaal commented 1 week ago

SAPI's JSONSchema is at https://systems.api.fuelrats.com/metadata/JSONSchema That should provide the field info needed to unpack results from queries; given that we at least will have systemID64, everything can be gotten fast from https://systems.api.fuelrats.com/api/[system|body]?id= queries.

evertiro commented 1 week ago

SAPI's JSONSchema is at https://systems.api.fuelrats.com/metadata/JSONSchema That should provide the field info needed to unpack results from queries; given that we at least will have systemID64, everything can be gotten fast from https://systems.api.fuelrats.com/api/[system|body]?id= queries.

Appreciate the pointer!