eveseat / seat

🌀✳️ SeAT: A Simple, EVE Online API Tool and Corporation Manager
https://eveseat.github.io/docs/
GNU General Public License v2.0
433 stars 142 forks source link

Limit Alliances Based on Valid Tokens #883

Open eeverett91 opened 1 year ago

eeverett91 commented 1 year ago
recursivetree commented 1 year ago

I don't see the issue with having all alliances loaded into seat. If seat doesn't know a particular alliance, it will shows as something like "Unknown" instead of the name.

I agree that it clutters the alliance list tho. Maybe we could order it in a way that the alliances with tokens are first.

eeverett91 commented 1 year ago

Agreed, I don't see any concern with having them in the database so they can be referenced and displayed when appropriate but it'd be ideal to not have them clutter the alliances list.

I believe that's how corporations are working currently. For example, I can reference many corporations under Role Authorization Filters but I don't see them in the corporation list.

warlof commented 1 year ago

Regarding name, blades are based on either info sheet or uniname. So, if we're running in a flow which do not require a sheet, we can use the uniname (already what's done btw)

However, you talked about authorization filters, and I wonder if it's not exactly the reason why we load the complete alliance list.

When seeding alliance, we should seed uniname - and seed alliance sheet only for valid tokens maybe.