Skip to content

Commit 9dccac5

Browse files
authored
#18 added last incidents page (#21)
* #18 added last incidents page * format code via prettier * feat: Enhance number formatting in dashboard stats for better readability * feat: Implement error handling component and enhance incidents route with data loading and management * feat: Enhance error handling in incidents route with user-friendly notifications * fix: Correct JSX formatting by adding missing closing tags in incidents and dashboard components * feat: Add Tailwind CSS dependency and configure Vite for manual chunking of libraries
1 parent fff2af8 commit 9dccac5

103 files changed

Lines changed: 1608 additions & 1441 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

frontend/.prettierrc

Lines changed: 20 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,26 @@
11
{
2-
"printWidth": 80,
32
"tabWidth": 2,
43
"useTabs": false,
4+
"arrowParens": "always",
5+
"printWidth": 80,
6+
"quoteProps": "consistent",
7+
"endOfLine": "auto",
58
"semi": true,
9+
"trailingComma": "all",
610
"singleQuote": false,
7-
"quoteProps": "as-needed",
8-
"jsxSingleQuote": false,
9-
"trailingComma": "es5",
10-
"bracketSpacing": true,
11-
"bracketSameLine": false,
12-
"arrowParens": "always",
13-
"proseWrap": "preserve",
14-
"htmlWhitespaceSensitivity": "css",
15-
"endOfLine": "lf",
16-
"embeddedLanguageFormatting": "auto",
17-
"singleAttributePerLine": false
11+
"overrides": [
12+
{
13+
"files": ["*.json", "*.yml", "*.md"],
14+
"options": {
15+
"tabWidth": 2
16+
}
17+
},
18+
{
19+
"files": "*.{ts,tsx}",
20+
"options": {
21+
"parser": "typescript"
22+
}
23+
}
24+
],
25+
"plugins": ["prettier-plugin-tailwindcss"]
1826
}

frontend/package.json

Lines changed: 15 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -10,20 +10,19 @@
1010
"preview": "vite preview",
1111
"format": "prettier --config .prettierrc --write .",
1212
"format-check": "prettier --config .prettierrc --check .",
13-
"gen-api": "npx orval"
13+
"gen-api": "rm src/shared/types/model/* && npx orval"
1414
},
1515
"dependencies": {
16-
"@tailwindcss/vite": "^4.1.12",
17-
"@tanstack/react-router": "^1.131.19",
18-
"@tanstack/react-router-devtools": "^1.131.19",
16+
"@tanstack/react-router": "^1.131.28",
17+
"@tanstack/react-router-devtools": "^1.131.28",
1918
"@tanstack/react-table": "^8.21.3",
2019
"axios": "^1.11.0",
2120
"class-variance-authority": "^0.7.1",
2221
"clsx": "^2.1.1",
2322
"cmdk": "^1.1.1",
2423
"emblor": "^1.4.8",
2524
"formik": "^2.4.6",
26-
"lucide-react": "^0.539.0",
25+
"lucide-react": "^0.542.0",
2726
"radix-ui": "^1.4.3",
2827
"react": "^19.1.1",
2928
"react-dom": "^19.1.1",
@@ -35,24 +34,26 @@
3534
"tailwind-merge": "^3.3.1",
3635
"tailwindcss": "^4.1.12",
3736
"yup": "^1.7.0",
38-
"zustand": "^5.0.7"
37+
"zustand": "^5.0.8"
3938
},
4039
"devDependencies": {
41-
"@eslint/js": "^9.33.0",
42-
"@tanstack/router-plugin": "^1.131.19",
40+
"@tailwindcss/vite": "^4.1.12",
41+
"@eslint/js": "^9.34.0",
42+
"@tanstack/router-plugin": "^1.131.28",
4343
"@types/node": "^24.3.0",
44-
"@types/react": "^19.1.10",
45-
"@types/react-dom": "^19.1.7",
46-
"@vitejs/plugin-react-swc": "^4.0.0",
47-
"eslint": "^9.33.0",
44+
"@types/react": "^19.1.11",
45+
"@types/react-dom": "^19.1.8",
46+
"@vitejs/plugin-react-swc": "^4.0.1",
47+
"eslint": "^9.34.0",
4848
"eslint-plugin-react-hooks": "^5.2.0",
4949
"eslint-plugin-react-refresh": "^0.4.20",
5050
"globals": "^16.3.0",
5151
"orval": "^7.11.2",
5252
"prettier": "3.6.2",
53+
"prettier-plugin-tailwindcss": "^0.6.14",
5354
"tw-animate-css": "^1.3.7",
5455
"typescript": "~5.9.2",
55-
"typescript-eslint": "^8.39.1",
56-
"vite": "^7.1.2"
56+
"typescript-eslint": "^8.41.0",
57+
"vite": "^7.1.3"
5758
}
5859
}

0 commit comments

Comments
 (0)