GithubHelp home page GithubHelp logo

stfc-space / frontend Goto Github PK

View Code? Open in Web Editor NEW
21.0 21.0 8.0 68.96 MB

The frontend code powering stfc.space. A community resource for Star Trek Fleet Command.

Home Page: https://stfc.space

License: Other

Shell 0.23% TypeScript 39.00% JavaScript 2.71% HTML 0.39% Svelte 56.71% CSS 0.96%

frontend's People

Contributors

criminal-ripper avatar menddd avatar

Stargazers

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

Watchers

 avatar

frontend's Issues

Add Events Page

We want to have events on the new site as well.
As a reference please look at the current live site https://stfc.space/events

I was playing with the idea that instead of a grid like view for the currently running events to maybe organize them in some sort of a calendar view. (Open to suggestions here).

The Live site uses the following endpoints to power everything.
/events is used with query params for the event list page.
The query has the following interface

interface ListFilter {
    from: number; // unix timestamp of the start range
    to: number; // unix timestamp of the end rage
    search?: string; // string filter used to filter names
    lang?: string; // language used to apply the search filter
    page?: number; // page offset of the events
    category?: number; // the category of the event, currently supported values are 0, 5, 6
    level?: number; // only return events that apply to this ops level
    resource?: number; // only show events that award the following resource
    exclude_bucket?: number; // this can be used to remove a certain bucket from the results, currently this only supports 9 which is the daily bucket
    force_bucket?: number; // this can be used to only show events from a certain bucket, also see `exclude_bucket` for information
}

The individual events page uses /events/<event_id> to fetch a specific events details

Cover Art for events is available via this URL https://assets.stfc.space/events/<event.art>.png

Runtime error when accessing info on Operations building.

URL https://stfc.space/buildings/0?level=1&c=$description:true%26build_cost:false%26requirements:false%26rewards:false%26weapon_stats:false%26consumables:false

403 error when accessing :
https://stfc.space/buildings/0?level=1&c=$description:true%26build_cost:false%26requirements:false%26rewards:false%26weapon_stats:false%26consumables:false

response :

<Error>
<Code>
AccessDenied
</Code>
<Message>
Access Denied
</Message>
<RequestId>
95KRX453WVH2KBPN
</RequestId>
<HostId>
cm7raYdNVds2IBo4JN/ZqQMEa1vIHyiCzMkbxeS48oxShbVKVBAZPAE0O1lYPqAdYqn2TSS5g0QXVWGA+1xGB5D7GwD1Oaw+QYo4PfyqW50=
</HostId>
</Error>

Add HostileThumb

Allow HostileThumb so hostile hull types can be dynamically placed on SystemMap for spawn points.

ATA Mission Support

Implement next.stfc.space/ata/ which displays all the away teams missions and their trait requirement. Potentially filtering officers with required traits.

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.