Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
88c6b5a
update prettier config
NatLeung96 Jun 4, 2026
3b44e8e
formatting
NatLeung96 Jun 4, 2026
88e56a9
add workflows upstream
NatLeung96 Jun 4, 2026
43c67da
add RelayEnvironment
NatLeung96 Jun 4, 2026
3604761
implement relay provider
NatLeung96 Jun 4, 2026
8d47019
move plan components to new folder
NatLeung96 Jun 4, 2026
0844c1d
move tests to new folder
NatLeung96 Jun 4, 2026
d405b7d
create new route for plans
NatLeung96 Jun 4, 2026
c7d4415
update dashboard
NatLeung96 Jun 4, 2026
d46aeb1
create route for workflows
NatLeung96 Jun 4, 2026
64ffa0a
add navigation buttons to navbar
NatLeung96 Jun 4, 2026
b274453
rename plans folder
NatLeung96 Jun 4, 2026
3128d9b
move getStatusColor to utils
NatLeung96 Jun 5, 2026
3303676
setup relay
NatLeung96 Jun 5, 2026
13a9da2
move RelayEnvironment to workflows context
NatLeung96 Jun 5, 2026
8eb9696
add additional dependencies
NatLeung96 Jun 15, 2026
db21a3a
add authConfigFlags
NatLeung96 Jun 15, 2026
1ad36a3
add user auth context
NatLeung96 Jun 15, 2026
34a2d5c
add graphql queries
NatLeung96 Jun 15, 2026
1411c80
add types
NatLeung96 Jun 15, 2026
7833e9c
add utils
NatLeung96 Jun 15, 2026
306fecf
add workflows route and components
NatLeung96 Jun 15, 2026
3709828
update main
NatLeung96 Jun 15, 2026
4a53b46
update mocking
NatLeung96 Jun 15, 2026
23388c3
update P99Navbar
NatLeung96 Jun 15, 2026
ae78e1b
update P99Navbar tests
NatLeung96 Jun 16, 2026
8191dd3
update packages
NatLeung96 Jun 16, 2026
8d09c1c
revert visr prettier config and update p99 prettier config
NatLeung96 Jun 17, 2026
a5490af
change workflows endpoint to supergraph
NatLeung96 Jun 17, 2026
d2acc2b
move tests back to component folders
NatLeung96 Jun 17, 2026
4123284
update formatting
NatLeung96 Jun 17, 2026
36cf998
update P99Navbar tests
NatLeung96 Jun 17, 2026
a7e434f
update packages
NatLeung96 Jul 6, 2026
9916b78
add app-shell
NatLeung96 Jul 6, 2026
e71f842
remove unnecessary components
NatLeung96 Jul 6, 2026
6dd9a1d
fix formatting
NatLeung96 Jul 6, 2026
4d0089d
clean up imports
NatLeung96 Jul 6, 2026
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
20 changes: 17 additions & 3 deletions apps/p99/.prettierrc
Original file line number Diff line number Diff line change
@@ -1,6 +1,20 @@
{
"arrowParens": "avoid",
"arrowParens": "always",
"bracketSpacing": true,
"htmlWhitespaceSensitivity": "css",
"insertPragma": false,
"jsxBracketSameLine": false,
"jsxSingleQuote": false,
"objectWrap": "preserve",
"endOfLine": "lf",
"printWidth": 80,
"proseWrap": "preserve",
"quoteProps": "as-needed",
"requirePragma": false,
"semi": true,
"singleAttributePerLine": false,
"singleQuote": false,
"trailingComma": "all"
}
"tabWidth": 2,
"trailingComma": "all",
"useTabs": false
}
2 changes: 1 addition & 1 deletion apps/p99/.vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"recommendations": ["esbenp.prettier-vscode"]
}
}
20 changes: 10 additions & 10 deletions apps/p99/eslint.config.js
Original file line number Diff line number Diff line change
@@ -1,23 +1,23 @@
import js from '@eslint/js'
import globals from 'globals'
import reactHooks from 'eslint-plugin-react-hooks'
import reactRefresh from 'eslint-plugin-react-refresh'
import tseslint from 'typescript-eslint'
import { globalIgnores } from 'eslint/config'
import js from "@eslint/js";
import globals from "globals";
import reactHooks from "eslint-plugin-react-hooks";
import reactRefresh from "eslint-plugin-react-refresh";
import tseslint from "typescript-eslint";
import { globalIgnores } from "eslint/config";

export default tseslint.config([
globalIgnores(['dist']),
globalIgnores(["dist"]),
{
files: ['**/*.{ts,tsx}'],
files: ["**/*.{ts,tsx}"],
extends: [
js.configs.recommended,
tseslint.configs.recommended,
reactHooks.configs['recommended-latest'],
reactHooks.configs["recommended-latest"],
reactRefresh.configs.vite,
],
languageOptions: {
ecmaVersion: 2020,
globals: globals.browser,
},
},
])
]);
11 changes: 11 additions & 0 deletions apps/p99/helm/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,14 @@ ui-base:
target:
external:
uri: https://p99-blueapi.diamond.ac.uk/

- id: supergraph
path: /api/supergraph
target:
external:
uri: https://graph.diamond.ac.uk

authConfigFlags: |
skip_auth_routes = ["GET=^/$", "GET=^/assets"]
api_routes = ["^/oauth2", "^/api"]
skip_provider_button = true
42 changes: 27 additions & 15 deletions apps/p99/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,37 +11,49 @@
"relay": "relay-compiler",
"test": "vitest run",
"test:watch": "vitest",
"coverage": "vitest run --coverage"
"coverage": "vitest run --coverage",
"format": "prettier --config .prettierrc --write \"**/*.{js,ts,tsx,json}\""
},
"dependencies": {
"@atlas/app-shell": "workspace:*",
"@atlas/blueapi": "workspace:*",
"@atlas/blueapi-query": "workspace:*",
"@diamondlightsource/sci-react-ui": "^0.2.0",
"@diamondlightsource/sci-react-ui": "^0.4.1",
"@emotion/react": "^11.14.0",
"@emotion/styled": "^11.14.1",
"@mui/icons-material": "^6.5.0",
"@mui/material": "<7.0.0",
"@tanstack/react-query": "^5.90.21",
"@jsonforms/core": "3.6.0",
"@jsonforms/material-renderers": "3.6.0",
"@jsonforms/react": "3.6.0",
"@mui/icons-material": "^7.0.0",
"@mui/material": "^7.0.0",
"@tanstack/react-query": "^5.101.0",
"@testing-library/react": "^15.0.7",
"msw": "^2.12.10",
"vite-plugin-relay": "^2.1.0"
"ajv": "^8.20.0",
"axios": "^1.18.0",
"lucide-react": "^1.18.0",
"react-relay": "^20.1.1",
"relay-runtime": "^20.1.1"
},
"devDependencies": {
"@atlas/vitest-conf": "workspace:*",
"@eslint/js": "^9.33.0",
"@mui/material": "^6.5.0",
"@eslint/js": "^9.39.4",
"@types/react-relay": "^18.2.1",
"@types/relay-runtime": "^19.0.3",
"@vitejs/plugin-react-swc": "^3.11.0",
"eslint-plugin-react-hooks": "^5.2.0",
"eslint-plugin-react-refresh": "^0.4.20",
"globals": "^16.3.0",
"react-router-dom": "^7.8.0",
"vite": "^7.1.2",
"vitest": "*"
"eslint-plugin-react-refresh": "^0.4.26",
"globals": "^16.5.0",
"msw": "^2.10.4",
"react-router-dom": "^7.17.0",
"relay-compiler": "^20.1.1",
"vite": "^7.3.5",
"vite-plugin-relay": "^2.1.0",
"vitest": "4.0.18"
},
"msw": {
"workerDirectory": [
"public"
]
},
"packageManager": "pnpm@10.12.3+sha512.467df2c586056165580ad6dfb54ceaad94c5a30f80893ebdec5a44c5aa73c205ae4a5bb9d5ed6bb84ea7c249ece786642bbb49d06a307df218d03da41c317417"
}
}
Loading
Loading