56 Commits

Author SHA1 Message Date
Sebastian 5d83af1a43 Update dependency vue-echarts to v8.3.0
Build Test / test (pull_request) Successful in 57s
JS Unit Tests / test (pull_request) Successful in 54s
2026-09-07 03:02:24 +00:00
Sebastian 7b8da25747 Merge pull request 'Update dependency vue to v3.5.42' (#70) from renovate/vue-monorepo into main
Reviewed-on: #70
2026-09-06 01:20:10 +00:00
Sebastian fe4703925c Merge pull request 'Update vitest monorepo to v4.1.11' (#71) from renovate/vitest-monorepo into main
Reviewed-on: #71
2026-09-06 01:20:05 +00:00
Sebastian 90e8683a94 Merge pull request 'Update dependency @vue/test-utils to v2.5.0' (#72) from renovate/vue-test-utils-2.x-lockfile into main
Reviewed-on: #72
2026-09-06 01:20:00 +00:00
Sebastian 19abfec1ea Merge pull request 'Update dependency sass to v1.104.0' (#73) from renovate/sass-1.x-lockfile into main
Reviewed-on: #73
2026-09-06 01:19:55 +00:00
Sebastian 386a88488a Update dependency sass to v1.104.0
Build Test / test (pull_request) Successful in 49s
JS Unit Tests / test (pull_request) Successful in 55s
2026-09-05 03:02:37 +00:00
Sebastian 2594718914 Update dependency @vue/test-utils to v2.5.0
JS Unit Tests / test (pull_request) Successful in 1m5s
Build Test / test (pull_request) Successful in 1m16s
2026-09-03 03:02:31 +00:00
Sebastian fa4d859e70 Update vitest monorepo to v4.1.11
Build Test / test (pull_request) Successful in 1m5s
JS Unit Tests / test (pull_request) Successful in 1m8s
2026-09-03 03:02:28 +00:00
Sebastian 428cce9c7f Update dependency vue to v3.5.42
Build Test / test (pull_request) Successful in 1m30s
JS Unit Tests / test (pull_request) Successful in 1m34s
2026-09-02 03:03:11 +00:00
Sebastian ac3a2f6ca7 Merge pull request 'Update dependency jsdom to v30.0.1' (#64) from renovate/jsdom-30.x-lockfile into main
Reviewed-on: #64
2026-09-01 11:48:21 +00:00
Sebastian 07fe866150 Merge pull request 'Update dependency vuetify to v4.1.12' (#65) from renovate/vuetify-4.x-lockfile into main
Reviewed-on: #65
2026-09-01 11:48:16 +00:00
Sebastian a325afb463 Merge pull request 'Update dependency pinia to v4.0.3' (#67) from renovate/pinia-4.x-lockfile into main
Reviewed-on: #67
2026-09-01 11:48:10 +00:00
Sebastian 3a4376039d Merge pull request 'Update dependency vue-tsc to v3.3.11' (#68) from renovate/vue-language-tools-monorepo into main
Reviewed-on: #68
2026-09-01 11:48:03 +00:00
Sebastian 96edaad9d7 Merge pull request 'Update dependency vue-echarts to v8.2.0' (#66) from renovate/vue-echarts-8.x-lockfile into main
Reviewed-on: #66
2026-09-01 11:47:52 +00:00
Sebastian a56eb9d5f0 Update dependency vue-echarts to v8.2.0
JS Unit Tests / test (pull_request) Successful in 1m23s
Build Test / test (pull_request) Successful in 1m28s
2026-09-01 03:02:59 +00:00
Sebastian e9b3b20334 Update dependency vuetify to v4.1.12
JS Unit Tests / test (pull_request) Successful in 1m35s
Build Test / test (pull_request) Successful in 1m40s
2026-09-01 03:02:57 +00:00
Sebastian 4dd44d9d98 Update dependency vue-tsc to v3.3.11
Build Test / test (pull_request) Successful in 1m32s
JS Unit Tests / test (pull_request) Successful in 1m33s
2026-09-01 03:02:43 +00:00
Sebastian f79e831e59 Update dependency pinia to v4.0.3
JS Unit Tests / test (pull_request) Successful in 1m25s
Build Test / test (pull_request) Successful in 1m29s
2026-09-01 03:02:41 +00:00
Sebastian 148a1a1624 Update dependency jsdom to v30.0.1
Build Test / test (pull_request) Successful in 56s
JS Unit Tests / test (pull_request) Successful in 1m3s
2026-09-01 03:02:37 +00:00
Sebastian 6e95e6e216 refactor(module): register integrations through runtime contexts
Signed-off-by: Sebastian Krupinski <krupinski01@gmail.com>
2026-08-31 22:55:58 -04:00
Sebastian fd57b5c9e7 Merge pull request 'Update dependency vue to v3.5.41' (#62) from renovate/vue-monorepo into main
Reviewed-on: #62
2026-08-07 12:11:02 +00:00
Sebastian 7165a7e38a Merge pull request 'Update dependency vue-tsc to v3.3.9' (#63) from renovate/vue-language-tools-monorepo into main
Reviewed-on: #63
2026-08-07 12:10:56 +00:00
Sebastian 9787fd470e Update dependency vue-tsc to v3.3.9
JS Unit Tests / test (pull_request) Successful in 17s
Build Test / test (pull_request) Successful in 17s
2026-08-07 12:10:20 +00:00
Sebastian e0dde2b33e Update dependency vue to v3.5.41
JS Unit Tests / test (pull_request) Successful in 17s
Build Test / test (pull_request) Successful in 17s
2026-08-07 12:10:19 +00:00
Sebastian 7bed43b36e Merge pull request 'Update dependency sass to v1.102.0' (#57) from renovate/sass-1.x-lockfile into main
Reviewed-on: #57
2026-08-07 12:08:50 +00:00
Sebastian 9f28f321bf Merge pull request 'Update dependency jsdom to v30' (#59) from renovate/jsdom-30.x into main
Reviewed-on: #59
2026-08-07 12:08:30 +00:00
Sebastian c025810ea8 Merge pull request 'Update dependency vuetify to v4.1.7' (#60) from renovate/vuetify-4.x-lockfile into main
Reviewed-on: #60
2026-08-07 12:08:21 +00:00
Sebastian 42bc9f55ed Merge pull request 'Update dependency vite to v8.2.1' (#61) from renovate/vite-8.x-lockfile into main
Reviewed-on: #61
2026-08-07 12:08:13 +00:00
Sebastian 4168172f68 Update dependency vite to v8.2.1
Build Test / test (pull_request) Successful in 52s
JS Unit Tests / test (pull_request) Successful in 49s
2026-08-07 03:06:59 +00:00
Sebastian 42494ef680 Update dependency vuetify to v4.1.7
Build Test / test (pull_request) Successful in 1m12s
JS Unit Tests / test (pull_request) Successful in 1m14s
2026-07-31 03:07:29 +00:00
Sebastian 9d798395d5 Update dependency jsdom to v30
JS Unit Tests / test (pull_request) Successful in 1m3s
Build Test / test (pull_request) Successful in 1m6s
2026-07-28 03:07:01 +00:00
Sebastian 770c58dfb0 Update dependency sass to v1.102.0
Build Test / test (pull_request) Successful in 54s
JS Unit Tests / test (pull_request) Successful in 44s
2026-07-26 03:05:07 +00:00
Sebastian 7bb4353fae Merge pull request 'Update dependency vue-tsc to v3.3.8' (#55) from renovate/vue-language-tools-monorepo into main
Reviewed-on: #55
2026-07-25 23:50:30 +00:00
Sebastian ad8067a530 Merge pull request 'Update dependency vuetify to v4.1.6' (#56) from renovate/vuetify-4.x-lockfile into main
Reviewed-on: #56
2026-07-25 23:50:14 +00:00
Sebastian 38c060a9a9 Update dependency vuetify to v4.1.6
Build Test / test (pull_request) Successful in 1m7s
JS Unit Tests / test (pull_request) Successful in 1m5s
2026-07-25 03:05:31 +00:00
Sebastian 85ffc6fb0d Update dependency vue-tsc to v3.3.8
Build Test / test (pull_request) Successful in 1m15s
JS Unit Tests / test (pull_request) Successful in 1m13s
2026-07-25 03:05:25 +00:00
Sebastian 50535da347 Merge pull request 'chore: implement js test suites' (#54) from chore/js-test-suites into main
Reviewed-on: #54
2026-07-24 04:32:27 +00:00
Sebastian e7b1850a74 chore: implement js test suites
JS Unit Tests / test (pull_request) Successful in 33s
Build Test / test (pull_request) Successful in 36s
Signed-off-by: Sebastian Krupinski <krupinski01@gmail.com>
2026-07-24 00:31:22 -04:00
Sebastian 8266934198 Merge pull request 'Update dependency vuetify to v4.1.6' (#53) from renovate/vuetify-4.x-lockfile into main
Reviewed-on: #53
2026-07-24 03:15:17 +00:00
Sebastian f0a1388155 Update dependency vuetify to v4.1.6 2026-07-24 03:13:16 +00:00
Sebastian c387bc8501 Merge pull request 'Update dependency sass to v1.101.7' (#51) from renovate/sass-1.x-lockfile into main
Reviewed-on: #51
2026-07-24 03:04:39 +00:00
Sebastian 8d121943a9 Merge pull request 'Update dependency vue-tsc to v3.3.8' (#52) from renovate/vue-language-tools-monorepo into main
Reviewed-on: #52
2026-07-24 03:04:32 +00:00
Sebastian 468045fb1c Merge pull request 'Update dependency pinia to v4' (#48) from renovate/pinia-4.x into main
Reviewed-on: #48
2026-07-24 03:04:25 +00:00
Sebastian 4326ae0bca Update dependency pinia to v4 2026-07-24 02:56:30 +00:00
Sebastian 6f760be919 Update dependency vue-tsc to v3.3.8 2026-07-24 02:56:27 +00:00
Sebastian 129bbdef2d Update dependency sass to v1.101.7 2026-07-24 02:56:24 +00:00
Sebastian 481d7bdb05 Merge pull request 'Update dependency @vitejs/plugin-vue to v6.0.8' (#45) from renovate/vitejs-plugin-vue-6.x-lockfile into main
Reviewed-on: #45
2026-07-24 02:42:09 +00:00
Sebastian 1a83237102 Merge pull request 'Update dependency vue to v3.5.40' (#46) from renovate/vue-monorepo into main
Reviewed-on: #46
2026-07-24 02:42:04 +00:00
Sebastian 764420b4fc Merge pull request 'Update dependency vue-router to v5.2.0' (#47) from renovate/vue-router-5.x-lockfile into main
Reviewed-on: #47
2026-07-24 02:41:59 +00:00
Sebastian 2858e6ed2f Merge pull request 'Update dependency sass to v1.101.6' (#49) from renovate/sass-1.x-lockfile into main
Reviewed-on: #49
2026-07-24 02:41:52 +00:00
Sebastian 415c842696 Merge pull request 'chore: implement php test suites' (#50) from chore/php83-test-suites into main
Reviewed-on: #50
2026-07-24 02:26:37 +00:00
Sebastian d787fbf358 chore: implement php test suites
Signed-off-by: Sebastian Krupinski <krupinski01@gmail.com>
2026-07-23 22:20:36 -04:00
Sebastian b763742da7 Update dependency sass to v1.101.6 2026-07-23 03:05:42 +00:00
Sebastian 40421c10ca Update dependency vue-router to v5.2.0 2026-07-20 03:05:37 +00:00
Sebastian 1d1e85571a Update dependency vue to v3.5.40 2026-07-18 03:03:04 +00:00
Sebastian 08e5db5835 Update dependency @vitejs/plugin-vue to v6.0.8 2026-07-18 03:03:02 +00:00
8 changed files with 1541 additions and 918 deletions
+42
View File
@@ -0,0 +1,42 @@
name: Build Test
on:
pull_request:
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Retrieve Server Install Action
uses: actions/checkout@v6.0.2
with:
repository: Nodarx/action-server-install
ref: main
path: action-server-install
github-server-url: https://git.ktrix.dev
- name: Install Server
uses: ./action-server-install
with:
install-php: 'false'
install-node: 'true'
php-version: '8.5'
node-version: '24'
server-path: './server'
- name: Checkout Pull Request
uses: actions/checkout@v6.0.2
with:
repository: ${{ github.repository }}
ref: ${{ github.event.pull_request.head.sha }}
path: server/modules/dashboard
github-server-url: https://git.ktrix.dev
- name: Install dependencies
run: npm ci
working-directory: server/modules/dashboard
- name: Build
run: npm run build
working-directory: server/modules/dashboard
+42
View File
@@ -0,0 +1,42 @@
name: JS Unit Tests
on:
pull_request:
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Retrieve Server Install Action
uses: actions/checkout@v6.0.2
with:
repository: Nodarx/action-server-install
ref: main
path: action-server-install
github-server-url: https://git.ktrix.dev
- name: Install Server
uses: ./action-server-install
with:
install-php: 'false'
install-node: 'true'
php-version: '8.5'
node-version: '24'
server-path: './server'
- name: Checkout Pull Request
uses: actions/checkout@v6.0.2
with:
repository: ${{ github.repository }}
ref: ${{ github.event.pull_request.head.sha }}
path: server/modules/dashboard
github-server-url: https://git.ktrix.dev
- name: Install dependencies
run: npm ci
working-directory: server/modules/dashboard
- name: Run tests
run: npm run test:unit
working-directory: server/modules/dashboard
+1 -4
View File
@@ -15,10 +15,7 @@ node_modules/
/vendor/
/lib/vendor/
coverage/
phpunit.xml.cache
.phpunit.result.cache
.php-cs-fixer.cache
.phpstan.cache
*.cache
.phpactor/
# Editors
+8 -12
View File
@@ -2,13 +2,14 @@
namespace KTXM\Dashboard;
use KTXF\Module\ModuleBrowserInterface;
use KTXF\Module\Configuration\BrowserModuleContextInterface;
use KTXF\Module\Configuration\ModuleContextInterface;
use KTXF\Module\ModuleInstanceAbstract;
/**
* Dashboard Module
*/
class Module extends ModuleInstanceAbstract implements ModuleBrowserInterface
class Module extends ModuleInstanceAbstract
{
public function __construct()
@@ -50,16 +51,11 @@ class Module extends ModuleInstanceAbstract implements ModuleBrowserInterface
];
}
public function registerBI(): array {
return [
'handle' => $this->handle(),
'namespace' => 'Dashboard',
'version' => $this->version(),
'label' => $this->label(),
'author' => $this->author(),
'description' => $this->description(),
'boot' => 'static/module.mjs',
];
public function configure(ModuleContextInterface $context): void
{
if ($context instanceof BrowserModuleContextInterface) {
$context->registerModule($this, 'Dashboard', 'static/module.mjs');
}
}
}
+1373 -898
View File
File diff suppressed because it is too large Load Diff
+12 -4
View File
@@ -11,12 +11,16 @@
"dev": "vite build --mode development --config vite.config.ts",
"watch": "vite build --mode development --watch --config vite.config.ts",
"typecheck": "vue-tsc --noEmit",
"lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore"
"lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore",
"test": "vitest run --config tests/js/vitest.config.ts",
"test:unit": "vitest run --config tests/js/vitest.config.ts",
"test:watch": "vitest watch --config tests/js/vitest.config.ts",
"test:coverage": "vitest run --coverage --config tests/js/vitest.config.ts"
},
"dependencies": {
"@mdi/js": "^7.4.47",
"echarts": "^6.0.0",
"pinia": "^3.0.0",
"pinia": "^4.0.0",
"vue": "^3.5.13",
"vue-echarts": "^8.0.0",
"vue-router": "^5.0.0",
@@ -27,9 +31,13 @@
"@vitejs/plugin-vue": "^6.0.0",
"@vue/tsconfig": "^0.9.0",
"sass": "^1.77.1",
"typescript": "^7.0.0",
"typescript": "~6.0.0",
"vite": "^8.0.0",
"vite-plugin-vuetify": "2.1.3",
"vue-tsc": "^3.0.0"
"vue-tsc": "^3.0.0",
"@vitest/coverage-v8": "^4.1.6",
"@vue/test-utils": "^2.4.10",
"jsdom": "^30.0.0",
"vitest": "^4.1.6"
}
}
+30
View File
@@ -0,0 +1,30 @@
import { describe, it, expect } from 'vitest'
describe('Basic Tests', () => {
it('should perform basic assertion', () => {
expect(true).toBe(true)
})
it('should test array operations', () => {
const array = ['foo', 'bar', 'baz']
expect(array).toHaveLength(3)
expect(array).toContain('bar')
expect(array[0]).toBe('foo')
})
it('should test string operations', () => {
const string = 'Hello, World!'
expect(string).toContain('World')
expect(string.length).toBe(13)
})
it('should test object operations', () => {
const obj = { foo: 'bar', count: 42 }
expect(obj).toHaveProperty('foo')
expect(obj.foo).toBe('bar')
expect(obj.count).toBeGreaterThan(40)
})
})
+33
View File
@@ -0,0 +1,33 @@
import { fileURLToPath } from 'node:url'
import { defineConfig, configDefaults } from 'vitest/config'
import vue from '@vitejs/plugin-vue'
import path from 'path'
const __filename = fileURLToPath(import.meta.url)
const __dirname = path.dirname(__filename)
export default defineConfig({
plugins: [vue()],
resolve: {
alias: {
'@': path.resolve(__dirname, '../../src'),
'@KTXC': path.resolve(__dirname, '../../../../core/src'),
},
},
test: {
environment: 'jsdom',
exclude: [...configDefaults.exclude, 'e2e/**'],
root: fileURLToPath(new URL('../../', import.meta.url)),
coverage: {
provider: 'v8',
reporter: ['text', 'json', 'html'],
exclude: [
'node_modules/',
'tests/',
'**/*.d.ts',
'**/*.config.*',
'**/dist/**',
],
},
},
})