Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
cfe5b64
#489: Created UI and functionality for searching players and displayi…
Jul 29, 2023
4c60ea6
#489: Created UI and functionality for searching players and displayi…
Jul 30, 2023
84b6838
Merge branch 'dev' into 489-statistics-profiles
Jul 30, 2023
d3b851f
#489: Updated results to use new search system and also updated forma…
Jul 30, 2023
54c3354
#489: Added initial player hello world page
Jul 31, 2023
f1c6bd8
#489: Added initial player hello world page
Jul 31, 2023
ee6d3a9
Merge branch 'dev' into 489-statistics-profiles
Jul 31, 2023
605f28c
Added start of player profile page, adding in logos for server factio…
Jul 31, 2023
e7a0c4c
Constants
Jul 31, 2023
d8e0749
Added further polish to SearchBar
Jul 31, 2023
06bd805
#489: Added AlertsInvolved component showing a list of all alerts inv…
Jul 31, 2023
c30fa62
#489: Fixed sorting logic for search
Jul 31, 2023
98b3da0
Updated chartJS library and the victories timeline to the new format.…
Aug 2, 2023
bb37a0c
Created CommonChartOptions and adjusted victories and alert populatio…
Aug 2, 2023
ea0015d
#319 Migrated AlertCombatHistory chart
Aug 2, 2023
12b9b2d
#319 Fixed various graphs and made them vastly more readable
Aug 10, 2023
de15d40
#319 Totally gutted the Alert BRs and redesigned them to accept bucke…
Aug 10, 2023
2f75b48
#489: Added the ability to bookmark / pin search results
Aug 10, 2023
72b522b
#489: Added iconography to search result subtext
Aug 10, 2023
711dcc2
#489: Prevent password managers showing up on the searchbar
Aug 10, 2023
a3ea172
#489: Improved formatting in players alerts involved list
Aug 10, 2023
77ca4e0
#617: Fixed widths for map toggle bar, for all resolutions
Aug 11, 2023
c8f1e61
Fixed minor regression with vuetify tabs not being uppercased
Aug 11, 2023
ff15ffb
Added improvement tags in various places and fixed some tooltips. Rem…
Aug 11, 2023
14c43c4
#489: Added Alert combat performance summaries to player profile pages
Aug 11, 2023
7224d19
#489: Fixed minor layout issue with search results
Aug 28, 2023
9d86354
#489: Updated ProfileAlertMetrics. Added info tooltips for more consi…
Aug 28, 2023
1d22a21
#489: Updated BR max info
Aug 28, 2023
2e937e7
#489: Minor update to outfit stats page link
Aug 28, 2023
39b6d74
#489: Made a start on combat stats section
Aug 28, 2023
7acc7a1
Tidied up the tooltips and information on the Players and Outfits sec…
Aug 28, 2023
0115a34
Added tooltip to BR graph
Aug 28, 2023
dffdfb2
Forced tooltip to render as raw HTML to enable <brs> etc
Aug 28, 2023
7ab9f16
Improved / implemented tooltips in various places
Aug 28, 2023
3ff4830
Corrected references within imports
Aug 28, 2023
2505550
Enhanced tooltips and information presented in various areas
Aug 28, 2023
666e3a5
#489: Added Combat Metrics Graph, added XPM metrics to tables and graph
Sep 3, 2023
b6167db
#489: Added ProfileDays
Oct 29, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions api-request.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import axios, { AxiosInstance } from 'axios'
import axios, { AxiosInstance, CancelTokenSource } from 'axios'
import { CommonApiParamsInterface } from '~/interfaces/CommonApiParmsInterface'

export default class ApiRequest {
Expand All @@ -13,11 +13,13 @@ export default class ApiRequest {

public async get<T>(
endpoint: string,
params?: CommonApiParamsInterface
params?: CommonApiParamsInterface,
cancelToken?: CancelTokenSource
): Promise<T> {
return await this.client
.get(endpoint, {
params,
cancelToken: cancelToken?.token,
})
.then((response) => {
// console.log('Api Client Request', { endpoint, params, response })
Expand Down
41 changes: 38 additions & 3 deletions assets/css/tailwind.scss
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,18 @@ body {
.border-tint {
border: 1px solid #5d6265;
}
.text-vs {
color: rgba(107, 70, 193, 1)
}
.text-nc {
color: rgba(43, 108, 176, 1)
}
.text-tr {
color: rgba(197, 48, 48, 1)
}
.text-nso {
color: rgba(134, 148, 167, 1)
}
.outofplay {
@apply bg-gray-800;
background: repeating-linear-gradient(
Expand Down Expand Up @@ -145,6 +157,9 @@ body {
background-color: rgba(100, 130, 140, 1);
}
}
.bg-tint-solid {
background-color: #303a40;
}
.bg-vs {
background-color: rgba(85, 60, 154, 0.5);
transition: background-color 0.25s ease-out;
Expand Down Expand Up @@ -391,6 +406,10 @@ select {
@apply bg-red-600 text-white text-xs font-semibold px-1 py-0.5 rounded;
line-height: 1.5rem;

&:hover {
@apply bg-red-500;
}

&.green {
@apply bg-green-600;

Expand All @@ -407,11 +426,25 @@ select {
}
}

&.blue {
@apply bg-blue-500;

&:hover {
@apply bg-blue-400;
}
&.border {
@apply border-blue-400
}
}

&.gray {
@apply bg-gray-500;
@apply bg-gray-600;

&:hover {
@apply bg-gray-600;
@apply bg-gray-500;
}
&.border {
@apply border-gray-400
}
}

Expand Down Expand Up @@ -586,8 +619,9 @@ a.hyperlink {
}

.tag {
@apply py-1 px-2 rounded-tl-sm rounded-tr-sm text-xs text-center font-bold;
@apply rounded-tl-sm rounded-tr-sm text-sm text-center font-bold;
margin: -1rem -1rem 1rem;
line-height: 2rem;

&.section {
background-color: rgba(48, 58, 64, 1);
Expand Down Expand Up @@ -693,6 +727,7 @@ td.text-middle {
.theme--dark {
&.v-tabs > .v-tabs-bar {
background-color: #9b2c2c !important;
text-transform: uppercase !important;

.v-tab--disabled {
background-color: #000 !important;
Expand Down
30 changes: 0 additions & 30 deletions components/BarChart.js

This file was deleted.

33 changes: 33 additions & 0 deletions components/InfoTooltip.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
<template>
<v-tooltip bottom>
<template #activator="{ on, attrs }">
<span v-bind="attrs" v-on="on">
{{ text }}
<font-awesome-icon :icon="['fas', icon]"></font-awesome-icon>
</span>
</template>
<span v-html="tooltip"></span>
</v-tooltip>
</template>
<script lang="ts">
import Vue from 'vue'

export default Vue.extend({
name: 'InfoTooltip',
components: {},
props: {
tooltip: {
type: String,
default: 'Foo',
},
text: {
type: String,
default: '',
},
icon: {
type: String,
default: 'info-circle',
},
},
})
</script>
30 changes: 0 additions & 30 deletions components/LineChart.js

This file was deleted.

25 changes: 0 additions & 25 deletions components/Search.vue

This file was deleted.

Loading