Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Minor fixes #54

Merged
merged 2 commits into from
Aug 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
2,082 changes: 784 additions & 1,298 deletions package-lock.json

Large diffs are not rendered by default.

56 changes: 28 additions & 28 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,54 +17,54 @@
},
"dependencies": {
"@mdi/js": "^7.4.47",
"@vuepic/vue-datepicker": "^8.8.1",
"@vueuse/core": "^10.11.0",
"@vueuse/integrations": "^10.11.0",
"@vuepic/vue-datepicker": "^9.0.2",
"@vueuse/core": "^11.0.3",
"@vueuse/integrations": "^11.0.3",
"array-move": "^4.0.0",
"async-validator": "^4.2.5",
"chart.js": "^4.4.3",
"chart.js": "^4.4.4",
"ics": "^3.7.6",
"luxon": "^3.4.4",
"pinia": "^2.1.7",
"remeda": "^2.3.0",
"luxon": "^3.5.0",
"pinia": "^2.2.2",
"remeda": "^2.11.0",
"sortablejs": "^1.15.2",
"uuid": "^10.0.0",
"vue": "3.4.31",
"vue": "3.4.38",
"vue-chartjs": "^5.3.1",
"vue-i18n": "^9.13.1",
"vue-router": "^4.4.0",
"vuetify": "3.6.11"
"vue-i18n": "^9.14.0",
"vue-router": "^4.4.3",
"vuetify": "3.7.1"
},
"devDependencies": {
"@pinia/testing": "^0.1.3",
"@rushstack/eslint-patch": "^1.10.3",
"@pinia/testing": "^0.1.5",
"@rushstack/eslint-patch": "^1.10.4",
"@tsconfig/node20": "^20.1.4",
"@types/jsdom": "^21.1.7",
"@types/luxon": "^3.4.2",
"@types/node": "^20.14.9",
"@types/node": "^22.5.1",
"@types/uuid": "^10.0.0",
"@vitejs/plugin-vue": "^5.0.5",
"@vitest/coverage-istanbul": "^1.6.0",
"@vitejs/plugin-vue": "^5.1.2",
"@vitest/coverage-istanbul": "^2.0.5",
"@vue/eslint-config-prettier": "^9.0.0",
"@vue/eslint-config-typescript": "^13.0.0",
"@vue/test-utils": "^2.4.6",
"@vue/tsconfig": "^0.5.1",
"cypress": "^13.13.0",
"cypress": "^13.14.0",
"eslint": "^8.57.0",
"eslint-plugin-cypress": "^3.3.0",
"eslint-plugin-cypress": "^3.5.0",
"eslint-plugin-vue": "^9.27.0",
"jsdom": "^24.1.0",
"jsdom": "^25.0.0",
"npm-run-all2": "^6.2.2",
"prettier": "^3.3.2",
"prettier": "^3.3.3",
"resize-observer-polyfill": "^1.5.1",
"sass": "^1.77.6",
"start-server-and-test": "^2.0.4",
"typescript": "^5.5.3",
"vite": "^5.3.3",
"vite-plugin-pwa": "^0.20.0",
"vite-plugin-vuetify": "^2.0.3",
"vitest": "^1.6.0",
"vue-tsc": "^2.0.26"
"sass": "^1.77.8",
"start-server-and-test": "^2.0.5",
"typescript": "^5.5.4",
"vite": "^5.4.2",
"vite-plugin-pwa": "^0.20.1",
"vite-plugin-vuetify": "^2.0.4",
"vitest": "^2.0.5",
"vue-tsc": "^2.1.2"
},
"engines": {
"node": ">=20.0.0"
Expand Down
2 changes: 1 addition & 1 deletion src/components/__tests__/SettingsView.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ describe('SettingsView', () => {
});

it('mounts with start date', () => {
scheduleStore.settings.startDate = DateTime.local().startOf('week').toJSDate();
scheduleStore.settings.startDate = DateTime.now().startOf('week').toJSDate();
const wrapper = mount(SettingsView);
expect(wrapper.html()).toMatchSnapshot();
});
Expand Down
10 changes: 5 additions & 5 deletions src/components/__tests__/__snapshots__/HomeView.spec.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ exports[`HomeView > mounts with agenda 1`] = `
<div class="v-input__control">
<!---->
<div class="v-selection-control-group v-selection-control-group--inline" role="radiogroup" aria-describedby="radio-group-0-messages" aria-label="Training Rating">
<div data-v-cb700901="" class="v-selection-control v-selection-control--disabled v-selection-control--inline v-selection-control--density-default training-card-rating__star training-card-rating__star--1 v-radio training-card-rating__star training-card-rating__star--1">
<div data-v-cb700901="" class="v-selection-control v-selection-control--disabled v-selection-control--inline v-selection-control--density-default v-radio training-card-rating__star training-card-rating__star--1">
<div class="v-selection-control__wrapper">
<!---->
<div class="v-selection-control__input"><i class="v-icon notranslate v-theme--customLight v-icon--size-default" aria-hidden="true"><svg class="v-icon__svg" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" role="img" aria-hidden="true">
Expand All @@ -75,7 +75,7 @@ exports[`HomeView > mounts with agenda 1`] = `
</div>
<!---->
</div>
<div data-v-cb700901="" class="v-selection-control v-selection-control--disabled v-selection-control--inline v-selection-control--density-default training-card-rating__star training-card-rating__star--2 v-radio training-card-rating__star training-card-rating__star--2">
<div data-v-cb700901="" class="v-selection-control v-selection-control--disabled v-selection-control--inline v-selection-control--density-default v-radio training-card-rating__star training-card-rating__star--2">
<div class="v-selection-control__wrapper">
<!---->
<div class="v-selection-control__input"><i class="v-icon notranslate v-theme--customLight v-icon--size-default" aria-hidden="true"><svg class="v-icon__svg" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" role="img" aria-hidden="true">
Expand All @@ -84,7 +84,7 @@ exports[`HomeView > mounts with agenda 1`] = `
</div>
<!---->
</div>
<div data-v-cb700901="" class="v-selection-control v-selection-control--disabled v-selection-control--inline v-selection-control--density-default training-card-rating__star training-card-rating__star--3 v-radio training-card-rating__star training-card-rating__star--3">
<div data-v-cb700901="" class="v-selection-control v-selection-control--disabled v-selection-control--inline v-selection-control--density-default v-radio training-card-rating__star training-card-rating__star--3">
<div class="v-selection-control__wrapper">
<!---->
<div class="v-selection-control__input"><i class="v-icon notranslate v-theme--customLight v-icon--size-default" aria-hidden="true"><svg class="v-icon__svg" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" role="img" aria-hidden="true">
Expand All @@ -93,7 +93,7 @@ exports[`HomeView > mounts with agenda 1`] = `
</div>
<!---->
</div>
<div data-v-cb700901="" class="v-selection-control v-selection-control--disabled v-selection-control--inline v-selection-control--density-default training-card-rating__star training-card-rating__star--4 v-radio training-card-rating__star training-card-rating__star--4">
<div data-v-cb700901="" class="v-selection-control v-selection-control--disabled v-selection-control--inline v-selection-control--density-default v-radio training-card-rating__star training-card-rating__star--4">
<div class="v-selection-control__wrapper">
<!---->
<div class="v-selection-control__input"><i class="v-icon notranslate v-theme--customLight v-icon--size-default" aria-hidden="true"><svg class="v-icon__svg" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" role="img" aria-hidden="true">
Expand All @@ -102,7 +102,7 @@ exports[`HomeView > mounts with agenda 1`] = `
</div>
<!---->
</div>
<div data-v-cb700901="" class="v-selection-control v-selection-control--disabled v-selection-control--inline v-selection-control--density-default training-card-rating__star training-card-rating__star--5 v-radio training-card-rating__star training-card-rating__star--5">
<div data-v-cb700901="" class="v-selection-control v-selection-control--disabled v-selection-control--inline v-selection-control--density-default v-radio training-card-rating__star training-card-rating__star--5">
<div class="v-selection-control__wrapper">
<!---->
<div class="v-selection-control__input"><i class="v-icon notranslate v-theme--customLight v-icon--size-default" aria-hidden="true"><svg class="v-icon__svg" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" role="img" aria-hidden="true">
Expand Down
20 changes: 10 additions & 10 deletions src/components/__tests__/__snapshots__/TrainingCard.spec.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ exports[`TrainingCard > mounts 1`] = `
<div class="v-input__control">
<!---->
<div class="v-selection-control-group v-selection-control-group--inline" role="radiogroup" aria-describedby="radio-group-0-messages" aria-label="Training Rating">
<div data-v-cb700901="" class="v-selection-control v-selection-control--disabled v-selection-control--inline v-selection-control--density-default training-card-rating__star training-card-rating__star--1 v-radio training-card-rating__star training-card-rating__star--1">
<div data-v-cb700901="" class="v-selection-control v-selection-control--disabled v-selection-control--inline v-selection-control--density-default v-radio training-card-rating__star training-card-rating__star--1">
<div class="v-selection-control__wrapper">
<!---->
<div class="v-selection-control__input"><i class="v-icon notranslate v-theme--customLight v-icon--size-default" aria-hidden="true"><svg class="v-icon__svg" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" role="img" aria-hidden="true">
Expand All @@ -50,7 +50,7 @@ exports[`TrainingCard > mounts 1`] = `
</div>
<!---->
</div>
<div data-v-cb700901="" class="v-selection-control v-selection-control--disabled v-selection-control--inline v-selection-control--density-default training-card-rating__star training-card-rating__star--2 v-radio training-card-rating__star training-card-rating__star--2">
<div data-v-cb700901="" class="v-selection-control v-selection-control--disabled v-selection-control--inline v-selection-control--density-default v-radio training-card-rating__star training-card-rating__star--2">
<div class="v-selection-control__wrapper">
<!---->
<div class="v-selection-control__input"><i class="v-icon notranslate v-theme--customLight v-icon--size-default" aria-hidden="true"><svg class="v-icon__svg" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" role="img" aria-hidden="true">
Expand All @@ -59,7 +59,7 @@ exports[`TrainingCard > mounts 1`] = `
</div>
<!---->
</div>
<div data-v-cb700901="" class="v-selection-control v-selection-control--disabled v-selection-control--inline v-selection-control--density-default training-card-rating__star training-card-rating__star--3 v-radio training-card-rating__star training-card-rating__star--3">
<div data-v-cb700901="" class="v-selection-control v-selection-control--disabled v-selection-control--inline v-selection-control--density-default v-radio training-card-rating__star training-card-rating__star--3">
<div class="v-selection-control__wrapper">
<!---->
<div class="v-selection-control__input"><i class="v-icon notranslate v-theme--customLight v-icon--size-default" aria-hidden="true"><svg class="v-icon__svg" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" role="img" aria-hidden="true">
Expand All @@ -68,7 +68,7 @@ exports[`TrainingCard > mounts 1`] = `
</div>
<!---->
</div>
<div data-v-cb700901="" class="v-selection-control v-selection-control--disabled v-selection-control--inline v-selection-control--density-default training-card-rating__star training-card-rating__star--4 v-radio training-card-rating__star training-card-rating__star--4">
<div data-v-cb700901="" class="v-selection-control v-selection-control--disabled v-selection-control--inline v-selection-control--density-default v-radio training-card-rating__star training-card-rating__star--4">
<div class="v-selection-control__wrapper">
<!---->
<div class="v-selection-control__input"><i class="v-icon notranslate v-theme--customLight v-icon--size-default" aria-hidden="true"><svg class="v-icon__svg" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" role="img" aria-hidden="true">
Expand All @@ -77,7 +77,7 @@ exports[`TrainingCard > mounts 1`] = `
</div>
<!---->
</div>
<div data-v-cb700901="" class="v-selection-control v-selection-control--disabled v-selection-control--inline v-selection-control--density-default training-card-rating__star training-card-rating__star--5 v-radio training-card-rating__star training-card-rating__star--5">
<div data-v-cb700901="" class="v-selection-control v-selection-control--disabled v-selection-control--inline v-selection-control--density-default v-radio training-card-rating__star training-card-rating__star--5">
<div class="v-selection-control__wrapper">
<!---->
<div class="v-selection-control__input"><i class="v-icon notranslate v-theme--customLight v-icon--size-default" aria-hidden="true"><svg class="v-icon__svg" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" role="img" aria-hidden="true">
Expand Down Expand Up @@ -151,7 +151,7 @@ exports[`TrainingCard > mounts in simple mode 1`] = `
<div class="v-input__control">
<!---->
<div class="v-selection-control-group v-selection-control-group--inline" role="radiogroup" aria-describedby="radio-group-0-messages" aria-label="Training Rating">
<div data-v-cb700901="" class="v-selection-control v-selection-control--disabled v-selection-control--inline v-selection-control--density-default training-card-rating__star training-card-rating__star--1 v-radio training-card-rating__star training-card-rating__star--1">
<div data-v-cb700901="" class="v-selection-control v-selection-control--disabled v-selection-control--inline v-selection-control--density-default v-radio training-card-rating__star training-card-rating__star--1">
<div class="v-selection-control__wrapper">
<!---->
<div class="v-selection-control__input"><i class="v-icon notranslate v-theme--customLight v-icon--size-default" aria-hidden="true"><svg class="v-icon__svg" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" role="img" aria-hidden="true">
Expand All @@ -160,7 +160,7 @@ exports[`TrainingCard > mounts in simple mode 1`] = `
</div>
<!---->
</div>
<div data-v-cb700901="" class="v-selection-control v-selection-control--disabled v-selection-control--inline v-selection-control--density-default training-card-rating__star training-card-rating__star--2 v-radio training-card-rating__star training-card-rating__star--2">
<div data-v-cb700901="" class="v-selection-control v-selection-control--disabled v-selection-control--inline v-selection-control--density-default v-radio training-card-rating__star training-card-rating__star--2">
<div class="v-selection-control__wrapper">
<!---->
<div class="v-selection-control__input"><i class="v-icon notranslate v-theme--customLight v-icon--size-default" aria-hidden="true"><svg class="v-icon__svg" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" role="img" aria-hidden="true">
Expand All @@ -169,7 +169,7 @@ exports[`TrainingCard > mounts in simple mode 1`] = `
</div>
<!---->
</div>
<div data-v-cb700901="" class="v-selection-control v-selection-control--disabled v-selection-control--inline v-selection-control--density-default training-card-rating__star training-card-rating__star--3 v-radio training-card-rating__star training-card-rating__star--3">
<div data-v-cb700901="" class="v-selection-control v-selection-control--disabled v-selection-control--inline v-selection-control--density-default v-radio training-card-rating__star training-card-rating__star--3">
<div class="v-selection-control__wrapper">
<!---->
<div class="v-selection-control__input"><i class="v-icon notranslate v-theme--customLight v-icon--size-default" aria-hidden="true"><svg class="v-icon__svg" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" role="img" aria-hidden="true">
Expand All @@ -178,7 +178,7 @@ exports[`TrainingCard > mounts in simple mode 1`] = `
</div>
<!---->
</div>
<div data-v-cb700901="" class="v-selection-control v-selection-control--disabled v-selection-control--inline v-selection-control--density-default training-card-rating__star training-card-rating__star--4 v-radio training-card-rating__star training-card-rating__star--4">
<div data-v-cb700901="" class="v-selection-control v-selection-control--disabled v-selection-control--inline v-selection-control--density-default v-radio training-card-rating__star training-card-rating__star--4">
<div class="v-selection-control__wrapper">
<!---->
<div class="v-selection-control__input"><i class="v-icon notranslate v-theme--customLight v-icon--size-default" aria-hidden="true"><svg class="v-icon__svg" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" role="img" aria-hidden="true">
Expand All @@ -187,7 +187,7 @@ exports[`TrainingCard > mounts in simple mode 1`] = `
</div>
<!---->
</div>
<div data-v-cb700901="" class="v-selection-control v-selection-control--disabled v-selection-control--inline v-selection-control--density-default training-card-rating__star training-card-rating__star--5 v-radio training-card-rating__star training-card-rating__star--5">
<div data-v-cb700901="" class="v-selection-control v-selection-control--disabled v-selection-control--inline v-selection-control--density-default v-radio training-card-rating__star training-card-rating__star--5">
<div class="v-selection-control__wrapper">
<!---->
<div class="v-selection-control__input"><i class="v-icon notranslate v-theme--customLight v-icon--size-default" aria-hidden="true"><svg class="v-icon__svg" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" role="img" aria-hidden="true">
Expand Down
Loading