Monorepo missing features (#1273)

* fix tauri config

* fix package patch

* regen pnpm lock

* use new workflow

* New GH actions

* Update lockfile

* update scripts

* Fix build script

* Fix missing deps

* Fix assets eslint

* Update libraries lint

* Fix all lint configs

* update lockfile

* add fmt + clippy fails

* Separate App Tauri portion

* fix app features

* Fix lints

* install tauri cli

* update lockfile

* corepack, fix lints

* add store path

* fix unused import

* Fix tests

* Issue templates + port over tauri release

* fix actions

* fix before build command

* Add X86 target

* Update build matrix

* finalize actions

* make debug build smaller

* Use debug build to make cache smaller

* dummy commit

* change proj name

* update file name

* Use release builds for less space use

* Remove rust cache

* Readd for app build

* add merge queue trigger
This commit is contained in:
Geometrically
2024-07-09 15:17:38 -07:00
committed by GitHub
parent dab284f339
commit d1bc65c266
265 changed files with 1810 additions and 1871 deletions

View File

@@ -6,7 +6,6 @@ import { defineAsyncComponent, ref } from 'vue'
import Button from '../base/Button.vue'
import Checkbox from '../base/Checkbox.vue'
const VueApexCharts = defineAsyncComponent(() => import('vue3-apexcharts'))
const props = defineProps({
@@ -138,23 +137,22 @@ const chartOptions = ref({
},
},
tooltip: {
custom ({ series, seriesIndex, dataPointIndex, w }) {
custom({ series, seriesIndex, dataPointIndex, w }) {
console.log(seriesIndex, w)
return (
`<div class="bar-tooltip">` +
`<div class="seperated-entry title">` +
`<div class="label">${
props.formatLabels(w.globals.lastXAxis.categories[dataPointIndex])
}</div>${
!props.hideTotal
? `<div class="value">
`<div class="label">${props.formatLabels(
w.globals.lastXAxis.categories[dataPointIndex],
)}</div>${
!props.hideTotal
? `<div class="value">
${props.prefix}
${formatNumber(series.reduce((a, b) => a + b[dataPointIndex], 0).toString(), false)}
${props.suffix}
</div>`
: ``
}</div><hr class="card-divider" />${
series
: ``
}</div><hr class="card-divider" />${series
.map((value, index) =>
value[dataPointIndex] > 0
? `<div class="list-entry">
@@ -168,11 +166,10 @@ const chartOptions = ref({
${props.suffix}
</div>
</div>`
: ''
: '',
)
.reverse()
.reduce((a, b) => a + b)
}</div>`
.reduce((a, b) => a + b)}</div>`
)
},
},
@@ -183,7 +180,7 @@ const chart = ref(null)
const legendValues = ref(
[...props.data].map((project, index) => {
return { name: project.name, visible: true, color: props.colors[index] }
})
}),
)
const flipLegend = (legend, newVal) => {
@@ -192,11 +189,9 @@ const flipLegend = (legend, newVal) => {
}
const downloadCSV = () => {
const csvContent =
`data:text/csv;charset=utf-8,${
props.labels.join(',')
}\n${
props.data.map((project) => project.data.join(',')).reduce((a, b) => `${a }\n${ b}`)}`
const csvContent = `data:text/csv;charset=utf-8,${props.labels.join(',')}\n${props.data
.map((project) => project.data.join(','))
.reduce((a, b) => `${a}\n${b}`)}`
const encodedUri = encodeURI(csvContent)
const link = document.createElement('a')

View File

@@ -109,7 +109,6 @@ const chartOptions = ref({
},
tooltip: {
custom({ series, seriesIndex, dataPointIndex, w }) {
console.log(seriesIndex, w)
return `<div class="bar-tooltip">${series
.map((value) =>
@@ -128,7 +127,7 @@ const chartOptions = ref({
${props.suffix}
</div>
</div>`
: ''
: '',
)
.reverse()
.reduce((a, b) => a + b)}</div>`