Commit 526a0c24 authored by Marcel Nellesen's avatar Marcel Nellesen
Browse files

Merge branch 'Product/1107-frontendPerformance' into 'master'

Product/1107 frontend performance

See merge request !44
parents 9d6f96af ec7309e9
include:
- project: coscine/tools/gitlab-ci-templates
file:
- /docker-runner.yml
- /nodejs.yml
stages:
- test
- build
# there are more stages in the imported file but we only want to import some
# - test
- publish
- release
- pre_release
before_script:
- npm install
test:
stage: test
script:
- npm run build
- npm test
except:
refs:
- master
- tags
variables:
- $GITLAB_USER_ID == $GIT_BOT_USER_ID
publish:
stage: publish
script:
- npm run build
- npm test
- npx semantic-release
only:
- master
except:
variables:
- $GITLAB_USER_ID == $GIT_BOT_USER_ID
build-branch:
extends: .build-branch
release:
stage: release
script:
- npm run build
artifacts:
paths:
- dist
only:
- tags
build-npm-release:
extends: .build-npm-release
pre_release:
stage: pre_release
script:
- npm run build
artifacts:
paths:
- dist
when: manual
except:
- tags
- master
publish-gitlab:
extends: .publish-gitlab-release
packageExtensions:
"@vue/cli-service@*":
peerDependencies:
"@vue/cli-plugin-babel": "*"
"@vue/cli-plugin-eslint": "*"
"@vue/cli-plugin-typescript": "*"
"@vue/cli-plugin-typescript@*":
peerDependencies:
"babel-loader": "*"
"fork-ts-checker-webpack-plugin@*":
dependencies:
"vue-template-compiler": "*"
peerDependencies:
"typescript": "*"
"vue-i18n@*":
dependencies:
"vue": "^2.6.12"
"vue-material-design-icons@*":
dependencies:
"vue": "^2.6.12"
"vue-router@*":
dependencies:
"vue": "^2.6.12"
"vuex@*":
dependencies:
"vue": "^2.6.12"
"bootstrap-vue@*":
dependencies:
"vue": "^2.6.12"
"jquery": "*"
module.exports = {
presets: [
'@vue/app'
]
}
This diff is collapsed.
module.exports = {
plugins: {
autoprefixer: {}
}
}
......@@ -10,6 +10,7 @@ import Vue from 'vue';
import UserManagement from './components/UserManagement.vue';
import { GuidUtil } from '@coscine/app-util';
import { CoscineHeadline } from '@coscine/component-library';
import '@coscine/component-library/dist/index.css';
export default Vue.extend({
name: 'users',
......
......@@ -43,6 +43,7 @@
<script lang="ts">
import Vue from 'vue';
import { CoscineButtonDelete } from '@coscine/component-library';
import '@coscine/component-library/dist/index.css';
export default Vue.extend({
name: 'MembersTable',
......
......@@ -303,7 +303,7 @@ export default Vue.extend({
this.queriedUsers = [];
return;
}
this.queryTimer = setTimeout(() => (this.fetchUserOptions(search, loading)), 1000)
this.queryTimer = window.setTimeout(() => (this.fetchUserOptions(search, loading)), 1000)
;
},
fetchUserOptions(search: string, loading: (value: boolean) => {}) {
......
......@@ -10,10 +10,13 @@
"allowSyntheticDefaultImports": true,
"sourceMap": true,
"baseUrl": ".",
"skipLibCheck": true,
"outDir": "dist",
"declaration": true,
"declarationDir": "dist",
"types": [
"webpack-env",
"mocha",
"chai"
"node"
],
"paths": {
"@/*": [
......
{
"defaultSeverity": "warning",
"extends": [
"tslint:recommended"
],
"linterOptions": {
"exclude": [
"node_modules/**"
]
},
"rules": {
"quotemark": [true, "single"],
"indent": [true, "spaces", 2],
"interface-name": false,
"ordered-imports": false,
"object-literal-sort-keys": false,
"no-consecutive-blank-lines": false
}
}
This diff is collapsed.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment