Compare commits

..

No commits in common. "18555b931dd1aaf1ebfce5089b965da0457969d7" and "44b19ed36c9e83e1916c19ad149552b36468699f" have entirely different histories.

10 changed files with 5635 additions and 2560 deletions

View File

@ -12,12 +12,10 @@ jobs:
- uses: actions/setup-node@v4
with:
node-version: '22.x'
cache: 'yarn'
- name: Install Dependencies
run: yarn install --immutable
- run: npm ci
working-directory: ./web-app
- name: Build
run: yarn build
run: npm run build
working-directory: ./web-app
- name: Install SSH Key
uses: shimataro/ssh-key-action@v2

View File

@ -30,9 +30,7 @@ struct CsvStreamWriter(S) if (isByteOutputStream!S) {
import std.regex : replaceAll, regex;
import std.string : indexOf;
string s = value.to!string();
bool shouldValueBeQuoted = indexOf(s, '"') != -1 ||
indexOf(s, ',') != -1 ||
indexOf(s, '\n') != -1;
bool shouldValueBeQuoted = indexOf(s, '"') != -1 || indexOf(s, ',') != -1;
s = replaceAll(value.to!string(), regex("\""), "\"\"");
if (shouldValueBeQuoted) {
s = "\"" ~ s ~ "\"";

5621
web-app/package-lock.json generated Normal file

File diff suppressed because it is too large Load Diff

View File

@ -29,8 +29,8 @@
"pinia": "^3.0.4",
"vue": "^3.5.18",
"vue-chartjs": "^5.3.3",
"vue-router": "^5.0.4",
"vue3-select-component": "^0.16.0"
"vue-router": "^4.6.4",
"vue3-select-component": "^0.12.3"
},
"devDependencies": {
"@tsconfig/node22": "^22.0.5",
@ -39,15 +39,15 @@
"@vue/eslint-config-prettier": "^10.2.0",
"@vue/eslint-config-typescript": "^14.7.0",
"@vue/tsconfig": "^0.7.0",
"eslint": "10.1.0",
"eslint-plugin-vue": "10.8.0",
"eslint": "^9.39.4",
"eslint-plugin-vue": "~10.3.0",
"husky": "^9.1.7",
"jiti": "^2.6.1",
"lint-staged": "^16.4.0",
"npm-run-all2": "^8.0.4",
"prettier": "3.8.1",
"prettier": "3.6.2",
"typescript": "~5.8.0",
"vite": "8.0.3",
"vite": "^7.3.1",
"vite-plugin-vue-devtools": "^8.1.0",
"vue-tsc": "^3.2.5"
},

View File

@ -60,6 +60,7 @@ function onOptionDeselected() {
</script>
<template>
<VueSelect
class="vendor-select"
v-model="selectedVendorName"
:options="options"
placeholder="Select a vendor"

View File

@ -8,7 +8,6 @@ import { far } from '@fortawesome/free-regular-svg-icons'
import App from './App.vue'
import router from './router'
import './assets/main.css'
import 'vue3-select-component/styles'
library.add(fas, far)

View File

@ -58,7 +58,7 @@ onMounted(() => {
watch(
[() => props.currency, () => props.timeFrame],
async () => {
() => {
buildChartData()
},
{ immediate: true, deep: true },

View File

@ -30,7 +30,7 @@ onMounted(() => {
watch(
[() => props.currency, () => props.timeFrame],
async () => {
() => {
buildChartData()
},
{ immediate: true, deep: true },

View File

@ -105,7 +105,7 @@ const router = createRouter({
})
// Adds a webpage title to each route based on the "meta.title" attribute.
router.beforeEach((to) => {
router.beforeEach((to, _, next) => {
if (to.meta.title !== undefined && typeof to.meta.title === 'string') {
document.title = 'Finnow - ' + to.meta.title
} else if (to.meta.title !== undefined && typeof to.meta.title === 'function') {
@ -116,6 +116,7 @@ router.beforeEach((to) => {
if (import.meta.env.DEV) {
document.title = '[DEV]' + document.title
}
next()
})
// After navigation, save the last used profile to keep track of what the user was last using.

File diff suppressed because it is too large Load Diff