diff --git a/.tx/config b/.tx/config index b3c29a25..51bf8cb3 100644 --- a/.tx/config +++ b/.tx/config @@ -2,9 +2,9 @@ host = https://www.transifex.com [penguin-statistics-website.main] -file_filter = src/locales/.json +file_filter = src/locales/.yml minimum_perc = 0 -source_file = src/locales/zh.json +source_file = src/locales/zh.yml source_lang = zh -type = KEYVALUEJSON +type = YAML_GENERIC diff --git a/README.md b/README.md index 4d261e0b..a4e9ca4f 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,8 @@ Penguin Statistics - Logo - -# Penguin Statistics! + +# Penguin Statistics - Frontend [![License](https://img.shields.io/github/license/penguin-statistics/frontend-v2)](https://github.com/penguin-statistics/frontend-v2/blob/dev/LICENSE) [![Build Status](https://img.shields.io/travis/penguin-statistics/frontend-v2?logo=travis)](https://travis-ci.org/penguin-statistics/frontend-v2) [![Last Commit](https://img.shields.io/github/last-commit/penguin-statistics/frontend-v2)](https://github.com/penguin-statistics/frontend-v2/commits/dev) @@ -10,6 +10,10 @@ This is the **frontend** project repository for the [Penguin Statistics](https://penguin-stats.io/?utm_source=github) website. +Penguin Statistics - Preview Screenshot + ## Maintainers This frontend project has mainly being maintained by the following contributors (in alphabetical order): - [AlvISsReimu](https://github.com/AlvISsReimu) diff --git a/babel.config.js b/babel.config.js index 89d647a4..3f84a21a 100644 --- a/babel.config.js +++ b/babel.config.js @@ -1,6 +1,8 @@ module.exports = { presets: [ - '@vue/app' + ['@vue/app', { + useBuiltIns: "entry" + }] ], plugins: [ "@babel/plugin-transform-modules-commonjs" diff --git a/package.json b/package.json index 1f754eba..b0c8955d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "penguin-stats-frontend", - "version": "3.2.2", + "version": "3.3.0", "private": true, "author": "Penguin Statistics Contributors (https://github.com/orgs/penguin-statistics/people)", "scripts": { @@ -22,6 +22,7 @@ "@sentry/integrations": "^5.6.1", "animejs": "^3.1.0", "clipboard-polyfill": "^2.8.6", + "core-js": "^3.6.5", "dayjs": "1.8.27", "extract-domain": "^2.2.1", "highcharts": "^8.1.0", @@ -30,6 +31,8 @@ "js-cookie": "^2.2.1", "marked": "^1.0.0", "pinyin-engine": "^1.1.0", + "regenerator-runtime": "^0.13.5", + "uuid": "^8.2.0", "vue": "^2.6.10", "vue-analytics": "^5.22.1", "vue-i18n": "^8.0.0", @@ -53,13 +56,13 @@ "eslint-plugin-vue": "^5.0.0", "eslint-plugin-vuetify": "^1.0.0-beta.5", "husky": "^4.2.5", + "js-yaml-loader": "^1.2.2", "sass": "^1.25.0", "sass-loader": "^8.0.2", "stylus": "^0.54.5", "stylus-loader": "^3.0.1", "vue-cli-plugin-i18n": "^1.0.1", "vue-cli-plugin-vuetify": "^2.0.5", - "vue-svg-inline-loader": "^1.5.0", "vue-template-compiler": "^2.6.10", "vuetify-loader": "^1.4.3", "webpack": "^4.42.1", @@ -74,6 +77,7 @@ "> 0.1% in my stats", "> 1% in CN", "last 5 versions", + "since 2010", "defaults" ], "bugs": { diff --git a/public/index.html b/public/index.html index 46c75b0b..81553731 100644 --- a/public/index.html +++ b/public/index.html @@ -72,7 +72,14 @@ - + diff --git a/src/App.vue b/src/App.vue index afaedae8..834b97bb 100644 --- a/src/App.vue +++ b/src/App.vue @@ -64,6 +64,7 @@ + + + + + + + + + { return response.blob(); }) diff --git a/src/components/global/TitledRow.vue b/src/components/global/TitledRow.vue new file mode 100644 index 00000000..a5b97c96 --- /dev/null +++ b/src/components/global/TitledRow.vue @@ -0,0 +1,45 @@ + + + + + \ No newline at end of file diff --git a/src/components/planner/PlannerIO.vue b/src/components/planner/PlannerIO.vue index 9855bf40..a13c48bf 100644 --- a/src/components/planner/PlannerIO.vue +++ b/src/components/planner/PlannerIO.vue @@ -9,46 +9,46 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/components/stats/DataTable.vue b/src/components/stats/DataTable.vue index 1ec8c1be..82bf97a4 100644 --- a/src/components/stats/DataTable.vue +++ b/src/components/stats/DataTable.vue @@ -18,52 +18,183 @@