-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Labels
enhancementNew feature or requestNew feature or requesthelp wantedExtra attention is neededExtra attention is neededhigh priorityNeeds addressing ASAPNeeds addressing ASAP
Description
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
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requesthelp wantedExtra attention is neededExtra attention is neededhigh priorityNeeds addressing ASAPNeeds addressing ASAP