mirror of
https://github.com/Zakkaus/doona.git
synced 2026-12-05 16:02:03 +00:00
Activity becomes a dashboard of ordered sections whose default layout reproduces main's Activity page card for card. Each card keeps a preset size that changes only its own span, and sections pack like masonry: a tall card sits beside a stack of shorter ones and every column ends level with its neighbour, in the live page and the editor alike. Extension cards add node latency (drawn with the Latency tab's dumbbell), source health, connections by outbound and network, DNS answers and policy group nodes, each up to three instances with its own display. Edit mode renders the same cells in a sortable grid with drag, keyboard and touch reordering, move-only drops, a gap-line drop indicator, a size and display inspector, a widget gallery with equal preview frames, reset to the default and a confirmation before discarding a changed draft. The canvas reads cached data without live subscriptions, and a runtime error shows above the cards when the status card is removed. The floating widget panel sits at the bottom inline-end corner, resizes by pointer or keyboard within stored limits, collapses to its header with the current rates, and can be pinned so it stays open across pages. The panel and the editor load on demand to keep the startup shell small.
90 lines
2.9 KiB
JSON
90 lines
2.9 KiB
JSON
{
|
|
"name": "doona",
|
|
"private": true,
|
|
"version": "0.1.0-beta.12",
|
|
"description": "Web UI for the daeuniverse engines (honk, and dae once it speaks the same API).",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/Zakkaus/doona.git"
|
|
},
|
|
"config": {
|
|
"engineOrg": "https://github.com/daeuniverse"
|
|
},
|
|
"engines": {
|
|
"node": "^22.13.0 || ^24.0.0 || >=26.0.0"
|
|
},
|
|
"type": "module",
|
|
"license": "GPL-3.0-only",
|
|
"packageManager": "pnpm@11.15.1",
|
|
"scripts": {
|
|
"dev": "vite",
|
|
"build": "vite build",
|
|
"package": "tools/package.sh",
|
|
"preview": "vite preview",
|
|
"test": "vitest run",
|
|
"test:coverage": "vitest run --coverage",
|
|
"conformance": "node tools/conformance.mjs",
|
|
"e2e:live": "pnpm build && DOONA_LIVE_OBSERVE=1 playwright test e2e/a11y.spec.ts e2e/mobile.spec.ts e2e/keyboard.spec.ts",
|
|
"gen:api": "openapi-typescript contract/api-standardize/openapi.yaml -o \"${OPENAPI_OUTPUT:-src/api/types.ts}\"",
|
|
"lint": "eslint . && stylelint \"src/**/*.css\"",
|
|
"format": "prettier --write .",
|
|
"format:check": "prettier --check .",
|
|
"typecheck": "tsc --noEmit -p . && tsc --noEmit -p e2e",
|
|
"check:gen": "tools/check-gen.sh",
|
|
"check:i18n": "node tools/check-i18n.mjs",
|
|
"check:size": "node tools/check-size.mjs",
|
|
"perf": "node tools/perf.mjs",
|
|
"e2e": "pnpm build && playwright test",
|
|
"e2e:install": "playwright install chromium webkit",
|
|
"check": "pnpm typecheck && pnpm lint && pnpm check:i18n && pnpm format:check && pnpm test && pnpm check:gen"
|
|
},
|
|
"sizeBudget": {
|
|
"js": 700000,
|
|
"shell": 275000,
|
|
"css": 240000
|
|
},
|
|
"dependencies": {
|
|
"@codemirror/autocomplete": "^6.20.3",
|
|
"@codemirror/commands": "^6.11.1",
|
|
"@codemirror/language": "^6.12.4",
|
|
"@codemirror/lint": "^6.9.7",
|
|
"@codemirror/search": "^6.7.2",
|
|
"@codemirror/state": "^6.7.6",
|
|
"@codemirror/view": "^6.43.13",
|
|
"@lezer/highlight": "^1.2.5",
|
|
"d3-shape": "^3.2.0",
|
|
"openapi-fetch": "^0.17.0",
|
|
"react": "^19.2.0",
|
|
"react-aria": "3.52.1",
|
|
"react-aria-components": "1.21.1",
|
|
"react-dom": "^19.2.0"
|
|
},
|
|
"devDependencies": {
|
|
"@axe-core/playwright": "4.13.0",
|
|
"@playwright/test": "1.63.0",
|
|
"@react-aria/optimize-locales-plugin": "^2.0.2",
|
|
"@types/d3-shape": "^3.2.0",
|
|
"@types/react": "^19.2.0",
|
|
"@types/react-dom": "^19.2.0",
|
|
"@vitejs/plugin-react": "^4.7.0",
|
|
"@vitest/coverage-v8": "5.0.2",
|
|
"ajv": "^8.20.0",
|
|
"ajv-formats": "^3.0.1",
|
|
"eslint": "^10.11.0",
|
|
"eslint-config-prettier": "^10.1.8",
|
|
"eslint-plugin-import-x": "^4.17.1",
|
|
"eslint-plugin-jsx-a11y": "^6.10.2",
|
|
"eslint-plugin-react-hooks": "^7.1.1",
|
|
"globals": "^17.12.0",
|
|
"lightningcss": "^1.30.1",
|
|
"openapi-typescript": "^7.13.0",
|
|
"prettier": "^3.9.9",
|
|
"stylelint": "^17.15.0",
|
|
"typescript": "^5.8.0",
|
|
"typescript-eslint": "^8.71.0",
|
|
"vite": "^6.3.0",
|
|
"vitest": "^5.0.2",
|
|
"yaml": "^2.9.1"
|
|
}
|
|
}
|